

@1309

8 years 
sam 
core: make timers secondbased rather than millisecondbased.



@1308

8 years 
touky 
Added GetButtonState() in Input class.
Added Escape button in to quit …



@1307

8 years 
sam 
core: move the Camera class from Orbital to the engine core.



@1305

8 years 
sam 
math: chage quaternion constructor to wxyz order because it matches …



@1303

8 years 
sam 
gpu: temporarily enable alpha blending in the vertex buffer code.



@1300

8 years 
sam 
core: prefix some member variables with m_ for clarity.



@1297

8 years 
sam 
gpu: activate alpha blending on the Direct3D backend.



@1295

8 years 
sam 
core: fix a bug in the Array class copy constructor, found thanks to …



@1293

8 years 
sam 
core: dynamic arrays can now have up to 8 typed members.



@1292

8 years 
sam 
ps3: start fixing the vertex buffer logic in there.



@1290

8 years 
sam 
debug: do not use std::abort() on the PS3.



@1289

8 years 
sam 
gpu: implement a few CG calls.



@1285

8 years 
sam 
core: add copy constructor and assignment operator to Array.



@1272

8 years 
sam 
math: new mat3::scale() and mat4::scale() methods.



@1270

8 years 
sam 
math: implement rotate() for mat3 in addition to mat4.



@1269

8 years 
sam 
core: use operator<< instead of operator+= to append stuff to arrays, …



@1266

8 years 
sam 
gpu: normalize 8bit integer data in 0..1 by default.



@1265

8 years 
sam 
gpu: fix Direct3D handling of float3x3 uniforms; they need padding.



@1264

8 years 
sam 
math: allow to easily create a 4x4 matrix from a 3x3 matrix, and so on.



@1261

8 years 
sam 
core: Append() was missing for arrays of single element structs.



@1259

8 years 
sam 
gpu: add methods to send mat2 and mat3 matrices to the shader.



@1258

8 years 
sam 
math: add code to build the normal matrix from a transformation matrix.



@1257

8 years 
sam 
math: add inversion code for 2×2 and 3×3 matrices, and transposition …



@1253

8 years 
sam 
gpu: assume 8bit unsigned vertex data is expected to be normalised on 01.



@1252

8 years 
sam 
core: fix a bug in the Array class where we would corrupt the data …



@1251

8 years 
sam 
gpu: fix a stupid signed/unsigned inconsistency causing vertex …



@1247

8 years 
sam 
gpu: abstraction class for index buffers; the cube tutorial no longer …



@1246

8 years 
sam 
gpu: remove old code in VertexBuffer that caused a memory leak.



@1244

8 years 
sam 
core: add a dynamic Array class.



@1243

8 years 
sam 
core: add a simple Array template class.



@1241

8 years 
sam 
gpu: fix a great lot of Direct3D problems, spotted using PIX.



@1240

8 years 
sam 
debug: use std::abort() instead of a custom idiocy.



@1237

8 years 
sam 
build: fix GCC build; it doesn't like to have a local file called …



@1236

8 years 
sam 
gpu: replace exit(0) in D3D error checks with lol::Abort().



@1234

8 years 
sam 
gpu: fix a nasty bug in the D3D9 vertex declaration code that caused …



@1233

8 years 
sam 
gpu: add an Unbind() method for textures for clean up. Unfortunately …



@1232

8 years 
sam 
math: add mat2 and mat3 types; they'll be useful.



@1231

8 years 
sam 
gpu: move the platformspecific triangle drawing call to the …



@1230

8 years 
sam 
gpu: fix the core scene renderer.



@1229

8 years 
sam 
build: minor Windows compilation fixes.



@1228

8 years 
sam 
gpu: port the vertex buffer abstraction layer to OpenGL.



@1227

8 years 
sam 
gpu: implement vertex buffer streams for Direct3D. OpenGL is missing …



@1226

8 years 
sam 
gpu: refactor the vertex declaration code to allow several vertex streams.



@1225

8 years 
sam 
gpu: fix compilation errors and warnings in the vertex declaration code.



@1224

8 years 
sam 
gpu: start working on a templatebased vertex buffer class.



@1222

8 years 
sam 
build: compilation fixes for errors introduced in the recent Direct3D …



@1221

8 years 
sam 
gpu: port the texture and scene handling code to Direct3D. Not functional.



@1219

8 years 
sam 
android: slightly update Android project for newer SDK versions.



@1217

8 years 
sam 
math: do not use #pragma diagnostic push for GCC prior to 4.6.



@1215

8 years 
sam 
gpu: add support for integer uniforms and fix a few PS3 and Linux …



@1214

8 years 
sam 
win32: the uniform handling code was completely broken; we now …



@1212

8 years 
sam 
build: allow to build the Direct3D 9 driver with the mingw compiler.



@1209

8 years 
sam 
math: use size_t instead of int for vector subscript to avoid torrents …



@1208

8 years 
sam 
win32: start porting the graphical backend to DirectX 9. Apparently I …



@1207

8 years 
sam 
win32: the GDI+ byte swapping was wrong; fix that.



@1204

8 years 
sam 
win32: shuffle bytes in GDI images to match what OpenGL supports.



@1199

8 years 
sam 
video: allow to set the default clear color.



@1198

8 years 
sam 
core: allow each blitted tile to be stretched differently.



@1194

8 years 
sam 
xbox: fix a few problems in the shader handling code; the first …



@1189

8 years 
sam 
build: major refactoring of the Win32 and Xbox project files; we now …



@1188

8 years 
sam 
math: remove old nonworking vector code for the float to half conversion.



@1187

8 years 
sam 
xbox: create the Xbox application class and add a project file for …



@1186

8 years 
sam 
math: fix VS2010 compiler warnings in the float/half conversion …



@1184

8 years 
sam 
core: allow to stretch 2D sprits in both X and Y directions.



@1183

8 years 
sam 
sdl: convert any opened image to 8 bit per channel because we don't …



@1182

8 years 
sam 
build: get rid of deprecated empty directories.



@1181

8 years 
sam 
math: add a few comments.



@1180

8 years 
sam 
build: reorganise math files in a single "math" directory, and get rid …



@1179

8 years 
sam 
win32: add a lot of DirectX stubs.



@1177

8 years 
sam 
math: disable vectors of halfs until we find a way to speed up the …



@1176

8 years 
sam 
math: add vectors of "half" to vector.h.



@1175

8 years 
sam 
math: move cross product out of the .cpp file.



@1174

8 years 
sam 
gl: compilation fix due to #if/#elif confusion.



@1173

8 years 
sam 
xbox: start working on an Xbox/Direct3D port.



@1171

8 years 
sam 
sdl: on Windows, perform the input tick in the main drawing thread.



@1165

8 years 
gary 
win32: fix Visual Studio compilation and link issues.



@1164

8 years 
sam 
ps3: fix PS3 build after the Queue refactoring.



@1163

8 years 
sam 
math: ensure real::fabs() is never chosen over std::fabs() for …



@1162

8 years 
gary 
win32: various compilation fixes, mostly project updates, but also a …



@1161

8 years 
gary 
math: fix minor warnings in half.h and vector.h.



@1160

8 years 
sam 
math: move half.h into the public headers.



@1159

8 years 
sam 
math: disable annoying compiler warnings in vector.h.



@1158

8 years 
sam 
math: make sure magic swizzling vectors don't actually store data, and …



@1157

8 years 
sam 
math: minor tweak to avoid using macros with empty parameters.



@1156

8 years 
sam 
win32: no longer ship GDI+ because MinGW ships a working version, …



@1154

8 years 
sam 
math: disable const union members on GCC prior to 4.6.



@1153

8 years 
sam 
math: add new coercion rules for vector classes.



@1151

8 years 
sam 
math: some refactoring in the vector operations, to make it easier to …



@1150

8 years 
sam 
math: add missing operators (==, !, <= etc.) to the "half" class so …



@1149

8 years 
gary 
math: minor compilation fixes for Visual Studio. Still does not link.



@1148

8 years 
sam 
math: allow vectors of half and real; they don't support swizzling or …



@1146

8 years 
sam 
win32: some compilation fixes here and there.



@1144

8 years 
sam 
threads: change Queue to a template so that we can manage the element type.



@1143

8 years 
sam 
math: disallow using vector swizzling components as lvalues until we …



@1142

8 years 
sam 
math: use const references instead of passing arguments by value in …



@1141

8 years 
sam 
math: add "const" to many vector swizzling patterns to forbid …



@1140

8 years 
sam 
math: fix a syntax error in vector.h due to duplicate macro declaration.



@1139

8 years 
sam 
math: rename matrix.h to vector.h and simplify some stuff, especially …



@1138

8 years 
sam 
math: some simplifications in the magic vector templates, and some …



@1137

8 years 
sam 
math: finally get the GLSLlike swizzling to work.


