Lynix
17961f42fd
Added Bitset class
...
It's like std::bitset with a dynamic size
Former-commit-id: 704352d954c88e9cf829b41448d7761f89f59786
2015-03-16 17:23:55 +01:00
Lynix
2bde611d33
(Math) Added CountBits function
...
Former-commit-id: 11e825a95a7bda300e46eb321f0fdb51bea93343
2015-03-16 15:16:05 +01:00
Lynix
458fba2180
(Math) Improved code and added comments
...
Former-commit-id: 3cf198715ac83e3d85d572d4ed0a3c6988074d0d
2015-03-16 14:54:07 +01:00
Lynix
6cc81cdc05
(Image) Optimized GetMaxLevel
...
Former-commit-id: cdddd29020a6f82e6095ad30447eb0b6e9f2d8cf
2015-03-16 13:54:19 +01:00
Lynix
3e214678c3
(Math) Added IntegralLog2(Pot) functions
...
Former-commit-id: 2def88ebf1e0ec2c908b2da4df60ff9e8075f8f1
2015-03-16 13:53:48 +01:00
Lynix
7bac245a0f
(Entity) GetComponent no longer throw
...
Former-commit-id: 8efd0f5aba9c49d7f06ba290425f9e55c2f1eba3
2015-03-14 16:53:26 +01:00
Lynix
a16582d20d
Removed useless includes
...
Former-commit-id: 2343f21e70621f194213085b6f83b10d958be09c
2015-03-14 16:52:44 +01:00
Lynix
6bd6039051
(Entity) Fixed typo in method name
...
Former-commit-id: 40588d78fe38b2ec9ca9998e0c7ce4c73af3b27b
2015-03-14 13:53:10 +01:00
Lynix
40727cc0ca
(World) Fixed EntityHandle passed by value
...
Former-commit-id: c4b4b5cbb4d84110416a4493fc09e7b95e137bc6
2015-03-14 13:21:29 +01:00
Lynix
fb148c1aa0
Removed useless include/declaration
...
Former-commit-id: 7ad1c9940aee9ce00000ba8c31ac05117d2b6c31
2015-03-09 19:05:47 +01:00
Lynix
c818ef7d4b
(EntityHandle) Fixed swap
...
Former-commit-id: 735dd9d2c3080d202306ef9cfb1bb130639e93cd
2015-03-09 19:05:32 +01:00
Lynix
0d8f7546a9
Fixed copyright notices
...
Former-commit-id: d5ccaa115ad229def2925099f82540ffa91c2297
2015-03-01 19:48:01 +01:00
Lynix
c71c050831
(Entity) Added non-template version of components handling
...
Former-commit-id: 0f9795a0b130e6e5ebb26782459d79bde1b0efa1
2015-03-01 13:42:17 +01:00
Lynix
7c73407fa4
(Component) Fixed Clone method
...
Former-commit-id: afa38a9b684f045dc3cf0d072736ebb6c47e4bd7
2015-03-01 13:41:44 +01:00
Lynix
99bf3d95f7
(BaseComponent) Renamed GetComponentId to GetId
...
Former-commit-id: 9cc5a3d86755f0b9928ef697e0e0c16c068819bc
2015-03-01 13:41:15 +01:00
Lynix
9c0c991fe0
(Component) Added clone virtual method
...
Replaced Component<C>::GetId by GetComponentId<C>()
Former-commit-id: 4fae3f73c7fad0a5c36dae16e49b6f12c8bf6ae2
2015-03-01 11:21:58 +01:00
Lynix
8b77825fb8
(Entity) Changed template name from C to ComponentType
...
Former-commit-id: 780c96238f5f976b9caa86ec982bec7b5fd9ee8a
2015-03-01 11:19:54 +01:00
Lynix
699b580516
Added Components
...
Former-commit-id: 02f9e9892b58a725697b83e7b75127db5b3a27f4
2015-03-01 01:53:49 +01:00
Lynix
dd56dd6e29
(MemoryPool) Added some DOC comments
...
Former-commit-id: 5ddd0414541e59623956716739bf19827ce68049
2015-03-01 00:08:34 +01:00
Lynix
e55574cb8b
(MemoryPool) Added methods to construct/destruct object
...
Former-commit-id: cd58a108ff201be6e242701eb762e0151695f6e3
2015-03-01 00:02:41 +01:00
Lynix
655be2864f
Fixed variadic arguments not being moved
...
Former-commit-id: 1130a384e982a792d04dc9490a12797cb73bc349
2015-02-28 23:59:26 +01:00
Lynix
adb268fec8
(MemoryPool) Removed template and added movement
...
Former-commit-id: 0a6c890f9ebc84c3c8139c244b5232467cf06bf0
2015-02-28 23:33:40 +01:00
Lynix
ba127ef7b2
(Entity) Fixed handles not being cleared after destruction
...
Also updated some comments
Former-commit-id: 86b23fca0806c637fbe007df4c7edfb52b95f8e1
2015-02-24 16:15:17 +01:00
Lynix
6201183572
(World) Replaced pointers to Entity by EntityHandle
...
Former-commit-id: b29aaaa7362c0c816dc270e15ba5f8253717c457
2015-02-19 23:51:17 +01:00
Lynix
924d10e61c
(Entity) Changed handle storage from a set to a vector
...
For performances reasons (creating handles no longer require any memory
allocation)
Former-commit-id: 76d705997c7fa3be78b063c6d602b09c7c20b2fd
2015-02-19 23:35:15 +01:00
Lynix
86fbb310c3
Fixed some files encoding (wasn't UTF-8)
...
Former-commit-id: cabceea2588d390da5d52a06517754ba97721efc
2015-02-19 23:24:56 +01:00
Lynix
3a18035989
Remade Entities
...
Former-commit-id: 25f7bc84279fdf58b44cf78e2d94b4cbb78a8410
2015-02-19 22:06:57 +01:00
Lynix
1d79efeb7f
(World) Optimized CreateEntities method
...
Former-commit-id: 99b89aad500ebaa18fb733ad04a94010728e8370
2015-02-08 22:26:28 +01:00
Lynix
32951deed8
(World) Inlined some methods
...
Former-commit-id: eab086bdde8b11cc261faf2cb5d161bbfcebdc73
2015-02-08 17:47:41 +01:00
Lynix
d5a8bdca12
(Entity) Inlined most code
...
Former-commit-id: 287c7c557263497ba89451dd2d640fcd8522ef3a
2015-02-08 17:39:06 +01:00
Lynix
5fb728d0be
(World) Added DOC comments
...
Former-commit-id: 211735ec2cf553b991f95b210af5e7e451ab4f1f
2015-02-08 16:30:23 +01:00
Lynix
266da016ad
(World) Added clear method
...
Former-commit-id: 54789542144a382c134042fa8050d06d3a80ca5d
2015-02-08 15:45:42 +01:00
Lynix
12824deba2
(World) Fixed entity killing
...
Former-commit-id: 180cd3c163cb2c6595a6710ce9302bcb83923870
2015-02-08 15:43:27 +01:00
Lynix
5067767074
(NDK) First commit
...
-Still missing a build file
-This is an Entity Component System, without any component nor system,
so this is an Entity. Yay.
Former-commit-id: f04d2fdfe8819826f940469c2618140a26afa637
2015-02-06 13:56:27 +01:00
Lynix
d6c08db282
Updated .gitignore
...
Former-commit-id: 46bb61b52cd87d357f6c0bd5c1718e2d11780784
2015-02-03 16:12:59 +01:00
Lynix
1c180ca9f2
(MemoryManager) changed log file name
...
Also killed a cow
Former-commit-id: 39eed924f7c6c7d724c9726a387eb232d22c8d26
2015-02-03 14:46:46 +01:00
Lynix
29b61ec958
(MemoryManager) Added allocation logging
...
Former-commit-id: 6f7d5ae28b8a4bfecfc2dca5010524a3f2c88aaf
2015-02-03 14:43:58 +01:00
Lynix
0a324d9323
Added some comments (as requested)
...
Former-commit-id: 4a6c7a025625ab49e59aaffa818cb50374e778d7
2015-02-01 21:39:47 +01:00
Lynix
854efefda1
Removed useless casts
...
Former-commit-id: e4181b74a5444f0b695036a5f925f1444092ef09
2015-01-31 18:51:19 +01:00
Lynix
53e2dfc6c9
Added some comments (as requested)
...
Former-commit-id: c6c25caf017124c492efc54d5ba8499028896112
2015-01-30 22:33:56 +01:00
Lynix
622fce6f9c
Regenerated global headers (and updated copyright year, again)
...
Former-commit-id: b5b24f4a3610e1dead2883afaded48bf3554669d
2015-01-30 22:33:41 +01:00
Lynix
993b2e4145
(ObjectRef) Removed useless assignation
...
Former-commit-id: 8e7b3c75ba9a50b99dfbb6656f2c8c97db4b27a7
2015-01-29 14:43:19 +01:00
Lynix
8eef78293d
Improved ResourceManager code
...
Former-commit-id: e4e2b9aafdb569d2769a1501f88e307fcbe763a0
2015-01-29 11:46:29 +01:00
Lynix
e82eccecfd
(ObjectRef) Added static_assert (Improved error message)
...
Former-commit-id: 11217f66e37fd6552d811298f7dacce940f894a3
2015-01-29 11:46:11 +01:00
Lynix
7a73314ef5
Added resource managers
...
Former-commit-id: 9c071230c1e325ec672c9dfe30ee7e498baa1d08
2015-01-28 20:53:40 +01:00
Lynix
6324d21c67
Made ResourceLoader types private
...
Former-commit-id: 018c224274088c6471d4fdc6d9393782e2352810
2015-01-28 20:39:19 +01:00
Lynix
22e5230c32
(ObjectLibrary) Added Query static method
...
Former-commit-id: 802dcc589dd2c552a332490153b6761341c0a698
2015-01-28 20:38:54 +01:00
Lynix
53162c1722
Added a Library to most reference-counted classes
...
Former-commit-id: 3ed409a71dcd5ce4eec7672ac26f8fff00e3b136
2015-01-28 18:06:05 +01:00
Lynix
e18e490c59
Replaced (Uber)ShaderLibrary by template class ObjectLibrary
...
Former-commit-id: d488cfd4e5e3ff31112fffebce2b7cdb86cc2e55
2015-01-28 15:49:04 +01:00
Lynix
c2d1773b41
(ObjectRef) Added implicit conversion constructor/operator
...
Former-commit-id: c633956130731e84c6d15d09961cd80c8d24877a
2015-01-28 15:46:14 +01:00