Benjamin ‘Touky’ Huet
78c949b2d5
URO : Added URO parser/scanner etc for custom command setup.
EzMesh : parser/scanner regen (with older bison cause windows).
hace 11 años
Benjamin ‘Touky’ Huet
d8114e6cfb
String : Added ::replace(char, char, bool), ::ToLower(), ::ToUpper()
Added utils.h : GetRandom(Array<T>) : gets a random element in a template list with weight logic.
T FindValue(char*) : Find the value of a safe enum from the given name (when GetName is implemented)
swap(T&, T&) is now in here too.
hace 11 años
Benjamin ‘Touky’ Huet
b38276be63
easymesh : typo
hace 11 años
Sam Hocevar
353d0a4417
math: last pass (hopefully) at the quaternion/euler conversions.
hace 11 años
Sam Hocevar
d5d73330e8
math: more quaternion to Euler angles fixes, plus unit tests.
hace 11 años
Benlitz
eaaf4ef3d3
updated .gitignore and fixed Benlitz's voxel vcxproj
hace 11 años
Sam Hocevar
9ecd579593
math: fix quaternion to euler conversion and add unit tests.
hace 11 años
Sam Hocevar
9cfe17fd8b
core: fix some minor compiler warnings.
hace 11 años
Benjamin ‘Touky’ Huet
81806bf47c
testsuite : fixed camera.cpp build
hace 11 años
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
hace 11 años
Benlitz
b07f6aba93
mesh: submesh class working, can be rendered with any compatible shader without caring of attributes
hace 11 años
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
hace 11 años
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
hace 11 años
Benjamin ‘Touky’ Huet
78f131385b
Added Makefile to solution
hace 11 años
Benlitz
35c5bce344
orbital: upgraded to the new input system and fixed compilation. NOT WORKING since InputGame() is not currently being called by the engine.
hace 11 años
Benlitz
eab5c46b1e
input: added a name the controllers, and a static Get() function to easily retrieve a registered controller
hace 11 años
Benlitz
b3d306d22e
input: added functions to bind keys over axis (not tested)
hace 11 años
Benlitz
6b6d0137bb
fixed more projects regarding the shader attribute change
hace 11 años
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
hace 11 años
Benlitz
d0e70dbeb6
gpu: moved VertexUsage to shader.h and added GetUsage() and GetIndex() to ShaderAttrib
hace 11 años
Benlitz
d775d7da19
gpu: added a SetStream that takes an array of attributes
hace 11 años
Benlitz
9b7641df07
input: added a GetAvailableDevices function to retrieve device names.
hace 11 años
Benlitz
e50f75403a
core: added StartsWith and EndsWith function for strings, and a sign function for numeric types
hace 11 años
Sam Hocevar
561d33748f
build: update unit tests following API change.
hace 11 años
Sam Hocevar
58ec9dd582
math: add lol::sq() square function and simplify quaternion conversions.
hace 11 años
Sam Hocevar
6adf553806
math: implement vec3::toeuler_* for Tait-Bryan angles.
hace 11 años
Sam Hocevar
b45c1dc7fe
physics: always activate Bullet and remove dead code.
hace 11 años
Benjamin ‘Touky’ Huet
83cfb79f8e
btphystest : InitApp delay
hace 11 años
Benjamin ‘Touky’ Huet
fb7d8a25e2
btphystest tweak to delay app init.
hace 11 años
Benjamin ‘Touky’ Huet
05c476c22a
Added nacl_phystest to test physic compatibility with nacl.
hace 11 años
Benjamin ‘Touky’ Huet
2c36522ece
nacl : CODE FAIL. today is not the day.
hace 11 años
Benjamin ‘Touky’ Huet
874aa42f44
removed added tutorial folders because of version mixup.
hace 11 años
Benjamin ‘Touky’ Huet
0c750b9fcd
nacl : deactivated input to get build back.
hace 11 años
Benjamin ‘Touky’ Huet
ec9c215459
small tweak on file object.
hace 11 años
Benjamin ‘Touky’ Huet
de338ae89a
nacl build fix.
hace 11 años
Benjamin ‘Touky’ Huet
5f3b0157e6
btphystest : small damp tweak.
hace 11 años
Benjamin ‘Touky’ Huet
48e8ce206e
camera unit test tweak
hace 11 años
Benjamin ‘Touky’ Huet
afefed080b
Camera : Added useage tweak.
hace 11 años
Sam Hocevar
f193bc2caa
scene: break text rendering again so that 2D games work properly...
hace 11 años
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
hace 11 años
Benjamin ‘Touky’ Huet
3778159bdc
added camera unit test.
hace 11 años
Benjamin ‘Touky’ Huet
876f62228c
btphystest : added new camera functions. Added funny camera stuff for cat simulation.
hace 11 años
Benjamin ‘Touky’ Huet
67d59ae9cb
btphystest : added small border effect
hace 11 años
Sam Hocevar
543eb946a0
btphystest: play with hue values.
hace 11 años
Lolbot
4f2663acd9
fixed 4 files out of 2792:
- removed 6 CR characters
- removed 24 trailing whitespaces
- replaced 15 tabs with spaces
- fixed 1 svn:eol-style properties
hace 11 años
Benjamin ‘Touky’ Huet
40a1a18758
btphystest : cat movement update
hace 11 años
Benjamin ‘Touky’ Huet
0abb0b7802
btphystest : fixed CatsSheet.png
hace 11 años
Benjamin ‘Touky’ Huet
3b3ed8925c
btphystest : even better catSheet
hace 11 años
Benjamin ‘Touky’ Huet
9c21009b05
btPhysTest : Small update to the CasSheet
hace 11 años
Sam Hocevar
4f66a49fc2
btphystest: use discard in fragment shader instead of AlphaFunc.
hace 11 años