Sam Hocevar
|
d0dbbde159
|
core: allow to concatenate arrays, and add unit tests for that.
|
13 years ago |
Sam Hocevar
|
8954a123aa
|
core: add Last() and Pop() methods to the Array class.
|
13 years ago |
Sam Hocevar
|
6467a06e90
|
core: convert some realloc() calls to our nice dynamic Array class.
|
13 years ago |
Sam Hocevar
|
82aaaae62c
|
core: the Array class now properly works with non-POD types.
|
13 years ago |
Sam Hocevar
|
0315413285
|
core: rename Array::Append() to Array::Push() for brevity and arbitrary
personal taste.
|
13 years ago |
Sam Hocevar
|
6cd8c0ece3
|
core: fix a bug in the Array class copy constructor, found thanks to
the unit tests.
|
13 years ago |
Sam Hocevar
|
cf85ee132d
|
core: dynamic arrays can now have up to 8 typed members.
|
13 years ago |
Sam Hocevar
|
9f7993d21c
|
core: add copy constructor and assignment operator to Array.
|
13 years ago |
Sam Hocevar
|
9262efbac3
|
core: use operator<< instead of operator+= to append stuff to arrays,
it's a bit less confusing.
|
13 years ago |
Sam Hocevar
|
56d7f24a37
|
core: Append() was missing for arrays of single element structs.
|
13 years ago |
Sam Hocevar
|
b979030f95
|
core: fix a bug in the Array class where we would corrupt the data when
trying to realloc the array and insert a reference to a member of our own.
|
13 years ago |
Sam Hocevar
|
18cd98fe91
|
core: add a dynamic Array class.
|
13 years ago |
Sam Hocevar
|
02e31f5c41
|
core: add a simple Array template class.
|
13 years ago |
Sam Hocevar
|
9554373756
|
Remove unused file.
|
14 years ago |
Sam Hocevar
|
2bf9fd3dc7
|
Implement vector equality comparisons.
|
14 years ago |
Sam Hocevar
|
dc45c9e426
|
Implement vector square length.
|
14 years ago |
Sam Hocevar
|
705c39d63a
|
Various vector operators including casts and scalar-vector operations.
|
14 years ago |
Sam Hocevar
|
ae23572b18
|
Implement vector addition, subtraction etc. as well as euclidian distance.
|
14 years ago |
Sam Hocevar
|
fb2ff4580f
|
Implement simple + and - operators for Int2, Float2 etc.
|
14 years ago |
Sam Hocevar
|
dc9b607923
|
Allow to access Int2, Float2 etc. members using [].
|
14 years ago |
Sam Hocevar
|
7547458efc
|
Float2 and Float3 are now templates, thus creating Int2 and Int3.
|
14 years ago |
Sam Hocevar
|
0ed566d3cc
|
Complete Lol Engine / Deus Hax / Monsterz split.
|
14 years ago |
Sam Hocevar
|
6223c37bb2
|
Proper Float3 constructors.
|
14 years ago |
Sam Hocevar
|
988f7c2885
|
Replace mouse scrolling with a joystick simulated by the e/s/d/f keys.
|
14 years ago |