1881 Commits (2c6a0d102989fe62bcfe3630da994df410e7a371)

Author SHA1 Message Date
  Sam Hocevar 45bab95127 input: do not let the joystick override the keyboard. 12 years ago
  Sam Hocevar 58b3c20b86 input: add core joystick support and bind the SDL input to that. 12 years ago
  Sam Hocevar c276dbb1ff math: allow to write 1.f / q to take a quaternion's inverse. 12 years ago
  Sam Hocevar d452194326 gpu: activate backface culling on OpenGL to remain consistent with 12 years ago
  Sam Hocevar 8f7d28c169 orbital: play with the tanks. 12 years ago
  Sam Hocevar 032b7ed47d core: make WorldEntity rotation a quaternion. 12 years ago
  Sam Hocevar 8954a123aa core: add Last() and Pop() methods to the Array class. 12 years ago
  Sam Hocevar 6467a06e90 core: convert some realloc() calls to our nice dynamic Array class. 12 years ago
  Sam Hocevar 82aaaae62c core: the Array class now properly works with non-POD types. 12 years ago
  Sam Hocevar 0315413285 core: rename Array::Append() to Array::Push() for brevity and arbitrary 12 years ago
  Sam Hocevar bfada5d920 core: move some of the camera view logic from the Video class to the 12 years ago
  Sam Hocevar 64b37d8897 gpu: fix a memory leak in the VertexBuffer and IndexBuffer classes. 12 years ago
  Sam Hocevar 2d34fd8358 core: reduce compilation time by about 30% by playing with namespaces 12 years ago
  Sam Hocevar fad3e434cf math: fix a bug in mat3::fromeuler(). 12 years ago
  Sam Hocevar ecda7cd569 math: replace mat3::rotate(quat) with an explicit constructor, and add 12 years ago
  Sam Hocevar 032b32271b math: fix a bug in the rotation matrix to quaternion conversion, found 12 years ago
  Sam Hocevar 5ff96967a0 math: add Quat::transform() to directly apply a quaternion to a vector. 12 years ago
  Sam Hocevar e91c326f57 math: add methods to convert from a quaternion to Euler angles and from 12 years ago
  Sam Hocevar fceeaf1c74 math: add quat::fromeuler static constructor for quaternions. 12 years ago
  Sam Hocevar 1bc2a7d705 build: fix compilation on Windows by undefining the min and max macros 12 years ago
  Sam Hocevar ade0514b15 math: add min(), max() and clamp() for half, real and vector types. 12 years ago
  Sam Hocevar 90bfc79b22 core: tick methods now use seconds, like any sane system. 12 years ago
  Sam Hocevar fbaf32f1b9 core: make timers second-based rather than millisecond-based. 12 years ago
  Benjamin ‘Touky’ Huet 9c27915507 Added GetButtonState() in Input class. 12 years ago
  Sam Hocevar 08fc460668 core: move the Camera class from Orbital to the engine core. 12 years ago
  Sam Hocevar 8325d8889c math: chage quaternion constructor to wxyz order because it matches the 12 years ago
  Sam Hocevar cbf13dac65 gpu: temporarily enable alpha blending in the vertex buffer code. 12 years ago
  Sam Hocevar b49ba4ef56 core: prefix some member variables with m_ for clarity. 12 years ago
  Sam Hocevar dc94fce5ed gpu: activate alpha blending on the Direct3D backend. 12 years ago
  Sam Hocevar 6cd8c0ece3 core: fix a bug in the Array class copy constructor, found thanks to 12 years ago
  Sam Hocevar cf85ee132d core: dynamic arrays can now have up to 8 typed members. 12 years ago
  Sam Hocevar f23b47a8e2 ps3: start fixing the vertex buffer logic in there. 12 years ago
  Sam Hocevar e1070c3b3c debug: do not use std::abort() on the PS3. 12 years ago
  Sam Hocevar 28b3a4f639 gpu: implement a few CG calls. 12 years ago
  Sam Hocevar 9f7993d21c core: add copy constructor and assignment operator to Array. 12 years ago
  Sam Hocevar bed2d554c1 math: new mat3::scale() and mat4::scale() methods. 12 years ago
  Sam Hocevar 3e3b254423 math: implement rotate() for mat3 in addition to mat4. 12 years ago
  Sam Hocevar 9262efbac3 core: use operator<< instead of operator+= to append stuff to arrays, 12 years ago
  Sam Hocevar 9960f73351 gpu: normalize 8-bit integer data in 0..1 by default. 12 years ago
  Sam Hocevar a327302484 gpu: fix Direct3D handling of float3x3 uniforms; they need padding. 12 years ago
  Sam Hocevar 9dad69c630 math: allow to easily create a 4x4 matrix from a 3x3 matrix, and so on. 12 years ago
  Sam Hocevar 56d7f24a37 core: Append() was missing for arrays of single element structs. 12 years ago
  Sam Hocevar f1c0e3ba4e gpu: add methods to send mat2 and mat3 matrices to the shader. 12 years ago
  Sam Hocevar be4935c19c math: add code to build the normal matrix from a transformation matrix. 12 years ago
  Sam Hocevar eb51928415 math: add inversion code for 2×2 and 3×3 matrices, and transposition 12 years ago
  Sam Hocevar bc5bf62886 gpu: assume 8-bit unsigned vertex data is expected to be normalised on 0-1. 12 years ago
  Sam Hocevar b979030f95 core: fix a bug in the Array class where we would corrupt the data when 12 years ago
  Sam Hocevar 8894958f0e gpu: fix a stupid signed/unsigned inconsistency causing vertex declaration 12 years ago
  Sam Hocevar 578368f452 gpu: abstraction class for index buffers; the cube tutorial no longer 12 years ago
  Sam Hocevar b6c330f3d8 gpu: remove old code in VertexBuffer that caused a memory leak. 12 years ago