Lolbot
4e0a9c93db
fixed 8 files out of 2617:
- removed 0 CR characters
- removed 0 trailing whitespaces
- replaced 88 tabs with spaces
- fixed 3 svn:eol-style properties
pirms 11 gadiem
Benlitz
b07f6aba93
mesh: submesh class working, can be rendered with any compatible shader without caring of attributes
pirms 11 gadiem
Benlitz
c1da4619f7
input: renamed xinput keys to something more human readable (such as A or DPadLeft) and inverted mouse Y axis to match joystick axis (negatives being up)
core: calling InitGame() at the first tick of an entity. InitDraw is still uncalled yet
fixed mrpigeon and orbital accordingly
pirms 11 gadiem
Benjamin ‘Touky’ Huet
04556dea8b
mat4 : removed useless ortho(). Fixed shifted_perspective so it actually works.
numeric : Added SmoothClamp & swap
camera : fixed target&up issues and added screen-scale factor.
touky_demo : correct camera integration & first pass on uro refactor. Also added Makefile to vcproj
pirms 11 gadiem
Benlitz
35c5bce344
orbital: upgraded to the new input system and fixed compilation. NOT WORKING since InputGame() is not currently being called by the engine.
pirms 11 gadiem
Benlitz
eab5c46b1e
input: added a name the controllers, and a static Get() function to easily retrieve a registered controller
pirms 11 gadiem
Benlitz
b3d306d22e
input: added functions to bind keys over axis (not tested)
pirms 11 gadiem
Benlitz
f104674963
gpu: removed attribute name, everything works using semantic only now. For glsl, semantic is determined from the attribute name which must follow this pattern: in_[Semantic][index], index being optional. Note: this may break most of the projects although I tried to updated every shader accordingly
pirms 11 gadiem
Benlitz
d0e70dbeb6
gpu: moved VertexUsage to shader.h and added GetUsage() and GetIndex() to ShaderAttrib
pirms 11 gadiem
Benlitz
d775d7da19
gpu: added a SetStream that takes an array of attributes
pirms 11 gadiem
Benlitz
9b7641df07
input: added a GetAvailableDevices function to retrieve device names.
pirms 11 gadiem
Benlitz
e50f75403a
core: added StartsWith and EndsWith function for strings, and a sign function for numeric types
pirms 11 gadiem
Sam Hocevar
58ec9dd582
math: add lol::sq() square function and simplify quaternion conversions.
pirms 11 gadiem
Sam Hocevar
6adf553806
math: implement vec3::toeuler_* for Tait-Bryan angles.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
2c36522ece
nacl : CODE FAIL. today is not the day.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
0c750b9fcd
nacl : deactivated input to get build back.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
ec9c215459
small tweak on file object.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
de338ae89a
nacl build fix.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
afefed080b
Camera : Added useage tweak.
pirms 11 gadiem
Sam Hocevar
f193bc2caa
scene: break text rendering again so that 2D games work properly...
pirms 11 gadiem
Lolbot
16cbaaa1a3
fixed 3 files out of 2793:
- removed 58 CR characters
- removed 8 trailing whitespaces
- replaced 2 tabs with spaces
- fixed 1 svn:eol-style properties
pirms 11 gadiem
Benjamin ‘Touky’ Huet
3778159bdc
added camera unit test.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
876f62228c
btphystest : added new camera functions. Added funny camera stuff for cat simulation.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
a03c38872d
btPhysTest : Added a new test mode called "CAT_MODE". Try it out at your own risks.
pirms 11 gadiem
jeunathe
958d8c403e
add methods to Audio class to mute/unmute and change volume per channel
pirms 11 gadiem
Sam Hocevar
349559acd9
input: fix uninitialised data in the SDL mouse input.
pirms 11 gadiem
Sam Hocevar
aab8ecfd3e
core: fix grave logic bugs in the entity ticker.
pirms 11 gadiem
Sam Hocevar
7fa84cdf36
math: remove debug code.
pirms 11 gadiem
Sam Hocevar
c6e453fe5c
math: add unit tests for quat::rotate(vec3, vec3).
pirms 11 gadiem
Sam Hocevar
af6deb15a2
math: create a quaternion from two vectors.
pirms 11 gadiem
Sam Hocevar
e848af3f2a
math: fix an error in the quaternion code and update test suite.
pirms 11 gadiem
Sam Hocevar
7cd3341504
base: allow String::C() to be non-const.
pirms 11 gadiem
Sam Hocevar
ca230a60ad
thread: implement Queue::TryPush and Queue::TryPop.
pirms 11 gadiem
Sam Hocevar
ccc9369660
gpu: avoid unnecessary OpenGL context changes.
pirms 11 gadiem
Benlitz
b6b490578e
copy-paste failure corrected.
pirms 11 gadiem
Lolbot
d375c7ba61
fixed 4 files out of 2770:
- removed 0 CR characters
- removed 0 trailing whitespaces
- replaced 5 tabs with spaces
- fixed 1 svn:eol-style properties
pirms 11 gadiem
Sam Hocevar
19c357927f
build: synchronise Makefile.am with lolcore.vcxproj.
pirms 11 gadiem
Benlitz
6f8dfa76c8
Added missing file and fixed mongoloclick
pirms 11 gadiem
Benlitz
8a657ea287
input: Removed previous input system
pirms 11 gadiem
Sam Hocevar
1b157def49
gpu: add SetDepthMask/GetDepthMask to render contexts.
pirms 11 gadiem
Sam Hocevar
0529e067f2
input: fix a problem with the SDLK_WORLD_0 macro; arrow keys weren't
handled properly.
pirms 11 gadiem
Sam Hocevar
e16416a6ee
input: fix a memory leak in the controller code.
pirms 11 gadiem
Sam Hocevar
abcf219757
base: allow to resize an array to zero elements.
pirms 11 gadiem
Sam Hocevar
da12e9cf97
scene: for now, restore the ortho cam when blitting tiles.
pirms 11 gadiem
Lolbot
1f03fedb2d
fixed 19 files out of 2773:
- removed 2278 CR characters
- removed 0 trailing whitespaces
- replaced 115 tabs with spaces
- fixed 18 svn:eol-style properties
pirms 11 gadiem
Benlitz
26191e40da
gpu: getters in RenderContext class
pirms 11 gadiem
Benlitz
1a2bfe6609
gpu: fixed vbo attribute binding when one of the attribute on the buffer does not exist in the shader
pirms 11 gadiem
Sam Hocevar
231b99714f
base: add Array::Data() method to access the underlying buffer.
pirms 11 gadiem
Benlitz
42381d33a4
fixed a crash when updating a binding that has been bound to an unexisting key/axis of an existing device
pirms 11 gadiem
Sam Hocevar
7159ef1dea
debug: fix a crash in the DebugFps constructor.
pirms 11 gadiem