Commit Graph

1606 Commits

Author SHA1 Message Date
Lynix 61c6baeabe Physics/PhysObject: Added Copy/Move constructor/operator
Former-commit-id: 3cec9759476de4eb1adb470d436aa40698357c50
2015-04-19 23:20:13 +02:00
Lynix f7d6107ec7 Physics/Geom: CompoundGeom can now include other CompounedGeom pieces
Former-commit-id: 8e421be85985bfb86ee7f6fd24569e36afdb34b4
2015-04-19 18:11:04 +02:00
Lynix 1642536a0e Physics/Geom: Improved Geom class
Renamed BaseGeom to PhysGeom, made it a reference-counted class


Former-commit-id: 5b3a2921addb537c2744346edc9c74eafb3260b0
2015-04-19 18:01:45 +02:00
Lynix 697e6714db (Bitset) Fixed PerformsAND not working right with empty bitsets
Former-commit-id: f4b70a9d1177c97f7dc376b6cc1d209520e2b19b
2015-04-13 00:13:44 +02:00
Lynix 201275b4ae (NodeComponent) Fixed NzNode::SetParent methods not being exposed
Former-commit-id: e4c60f01db90cd288314c37bfb6969b1922a1868
2015-04-12 23:28:12 +02:00
Lynix ead468525e (NDK) Added Velocity component/system
Former-commit-id: 427b7175fbf9723fcd1d54fc279b8b70167745d4
2015-04-12 23:19:53 +02:00
Lynix 2ab0defa48 (NDK) Fixed copy/move constructor/operator
Former-commit-id: e51e7cab650aa7c17141f7401fbcbdf3159aec2b
2015-04-12 21:03:19 +02:00
Lynix f137a75267 (NDK) Added Listener component and system
Former-commit-id: 0553c4ad9a7e33608e9ab91bd4ca8812272a6293
2015-04-12 19:38:38 +02:00
Lynix f290b8d886 (NDK) Added Application class
Let's try something


Former-commit-id: ebace85e2b050b1fbb994a61a644b60b85cc5a30
2015-04-07 17:41:17 +02:00
Lynix 1bd45731cd (NDK) Added NodeComponent
Former-commit-id: 61b970c31a12a1b128e72c4754590528b6c1b4d6
2015-04-07 17:39:45 +02:00
Lynix 46d125d205 (NDK) Added explicit initialisation
Components and systems just can't be initialized at startup, so we need
some kind of explicit initialisation. I followed the same layout as the
others modules by adding a core class (Ndk::Sdk) which will initialize
components and systems, and Nazara's modules.

This is starting to get serious, I like it.


Former-commit-id: 263500e8d16db70ef7f92047b8a7e3235c08bcd0
2015-04-07 17:39:20 +02:00
Lynix aedf416949 (Initializer) Added explicit (un)initialisation
Former-commit-id: 198287ca1cc4e8a53531263a90bcffbcab1ef2b2
2015-04-07 17:23:18 +02:00
Lynix a1280a6af3 (World) Renamed internal method Mark(All)AsDirty
To Invalidate


Former-commit-id: 62e62d82258227d652711c3933a816845a076e53
2015-04-07 15:50:43 +02:00
Lynix ebc651dec8 (World) Added GetEntities() method
Former-commit-id: 14095df977d566b3a3c306542bd4d83bd11392d1
2015-04-07 15:38:08 +02:00
Lynix 7351ce46fb Removed useless space
Former-commit-id: 8eefc03bf288bf24df61b6d5ac4f2f38b69e1c18
2015-04-05 16:35:43 +02:00
Lynix 8421a543fb Changed component index variable name
From CamelCase to camelCase (since I use camelCase for the variables)


Former-commit-id: 3382295dda75378e40835c23040bd2738736a210
2015-04-05 16:19:45 +02:00
Lynix 6a99b38be1 (NDK) Modified component/system registration interface
Let's hope it's the last time I do this


Former-commit-id: 75f8e63e90e067a7d21efa6a1226ae4bbe050ab9
2015-04-05 15:57:24 +02:00
Lynix 28b0e26a88 (EntityHandle) Fixed hashs
Former-commit-id: f5d23d81a5b46dfbf90d2004dfeb9595f30c2df2
2015-03-31 02:20:30 +02:00
Lynix c25f824f65 (NDK) Fixed compilation error
Former-commit-id: c762dbf34c0141882df0ce43509277877c5c559e
2015-03-30 14:17:25 +02:00
Lynix 1903cbda8d (NDK) Minor changes
Added some asserts and comments,


Former-commit-id: 805246f0276aac157c66cbf346c392ab57934e84
2015-03-30 04:36:56 +02:00
Lynix 6d1ac4fe18 Re-remade component and system ids
Former-commit-id: 98b76695cca904c55c7333801c3cdf693da15086
2015-03-30 04:18:44 +02:00
Lynix 3fd217b8a3 Merge branch 'master' into NDK
Former-commit-id: 7f2646da9f2e2c29157e645afbcfcf974f0e0709
2015-03-19 13:13:20 +01:00
Lynix 0363a1a8fa (Box|Rect) Fixed Contains method excluding edge vectors
Former-commit-id: f3281ad9f7af268fceccfdb9d4f67ac0ac76b445
2015-03-19 12:49:08 +01:00
Lynix efa75ba349 Regenerated global headers
Former-commit-id: 3ae4fdfb08fb747665fd58a6f1bf8811e50dc81a
2015-03-18 22:24:47 +01:00
Lynix 5ecddb20c6 Remade RenderWindow::CopyToImage
Former-commit-id: a903cc8ea67d13ff7cf231d075235c3c17593a60
2015-03-18 22:24:07 +01:00
Lynix cbf3b2cf4e (View) Fixed missing implementation of GetSize
Former-commit-id: 0953fb5079448035fc395ad2fd38535d27f08fb6
2015-03-18 21:57:02 +01:00
Lynix 4862767b69 Regenerated global headers
Former-commit-id: c7404ba638878c722d791102ca017dff906a2446
2015-03-18 20:52:11 +01:00
Lynix 5c3720feb1 Merge branch 'master' into NDK
Former-commit-id: f118c029ca94296495957816f910d412ae8a56f2
2015-03-18 20:44:52 +01:00
Lynix 4b09757f63 (Node) Fixed "Child not found" warnings
Former-commit-id: e9f60071ef0b12155bc26d339e06ccc160fac1fd
2015-03-18 20:40:32 +01:00
Lynix 95cb02c41c (Features) Fixed typo
Former-commit-id: fa5a551d876f513ec941af0069d8997c8aee7940
2015-03-18 20:32:14 +01:00
Lynix e873d40ccc (View) Added Map[Pixel|World]To[World|Pixel] method
Former-commit-id: 39295c71d040d472117cb30c266169476f563e9d
2015-03-18 20:31:39 +01:00
Lynix 6648fbe577 (Features) Fixed typo
Former-commit-id: 6f2d3c3327f18e29507eedc9a1275bfe3ca4fdb3
2015-03-18 17:26:21 +01:00
Lynix 5c52698131 (Feature page) Improved design.. I guess
Former-commit-id: 42db15aed57eeb9650d7c4566fa778831815c1ab
2015-03-18 17:19:55 +01:00
Lynix 12c238ddae Added feature page generation
Former-commit-id: 9d1b3db59f4d13ceb69212c289925c198eb14bc6
2015-03-18 17:11:24 +01:00
Lynix 5ab5e54242 (Windows) Improved window implementation
It no longer leaks if it fails to create a threaded window


Former-commit-id: 6df9bf1f62af8835d0824ab48fec0f4d80596da1
2015-03-18 13:24:59 +01:00
Lynix fca8dc49e9 (TextSprite) Changed error message
Former-commit-id: f32804aca320bbfc3c6ecb5e0e3747b7b9d09369
2015-03-18 13:04:12 +01:00
Lynix d28154ab76 Added comments
Former-commit-id: e9297b7c0a4b85b2369abcba444d4cf89e04b95d
2015-03-18 13:03:53 +01:00
Lynix 371f899776 (Windows) Improved error message on window creation failure
Former-commit-id: b00a5bc1511505bce2f1c34f32be662bee47cbf9
2015-03-18 13:03:35 +01:00
Lynix cdd3e9e8f2 (World) Fixed dirty entity bitset not being cleared
Former-commit-id: 28fbfe2d21807db7eba249118e35fb087db4ddb9
2015-03-18 13:01:40 +01:00
Lynix be8f6edeb4 Improved interface
EntityHandle are no longer required to pass Entity as arguments
World::CreateEntity() now returns a const EntityHandle&

Former-commit-id: 6fc53ce5759a2a508094bdc61b4471f13f0844ec
2015-03-18 00:49:44 +01:00
Lynix e91313b62d Added systems
It's now officially an ECS, yay!


Former-commit-id: e2aacaa5c9fd362921cf3d064e346d11f942bd59
2015-03-17 19:55:39 +01:00
Lynix bc40fbb02f Remade component ids
No longer based on incrementing counter


Former-commit-id: b875e17781d8bcda48ea9ada523adf0823b22a8b
2015-03-17 19:53:59 +01:00
Lynix 0ba034f7e9 (Entity) Added components bits
Moved [Add/Remove]Component implementation to .cpp


Former-commit-id: e61e8c57911c2e106e6c0959b692a006b8f58c40
2015-03-17 12:34:03 +01:00
Lynix 99e0912163 (Bitset) Simplified Resize code
Removed old code


Former-commit-id: e82ec5e69ba9e4d91b7c65a5132b91fe3a60fd7e
2015-03-17 12:26:51 +01:00
Lynix 4c0c47240c (Bitset) Consistency
Former-commit-id: 4974483833cad392e105d2fc2dfc4d9f8d7310d3
2015-03-17 12:26:29 +01:00
Lynix 03ef0f9f50 (World) GetEntity now returns a const reference
Former-commit-id: 179139a21c639bbb2c96058095a82f3be76de5c1
2015-03-16 22:16:35 +01:00
Lynix 3694857d30 (World) Optimized entities handling a lot
Former-commit-id: f05f3bb7bf321d30fd51f504ace95aa0ea9f7f8d
2015-03-16 22:14:18 +01:00
Lynix b30298b6ab (World) Removed useless forward-declaration
Former-commit-id: e4a3a34326f9e2d6afdbae062274e2ef63da898d
2015-03-16 22:05:03 +01:00
Lynix b742f93643 (Bitset) Fixed last commit
Former-commit-id: 11dcae81e30db925d583112dfab0f0eb5f61f1a0
2015-03-16 21:54:26 +01:00
Lynix 70f9bb3aec (Bitset) Fixed Find* methods not handling empty bitsets
Former-commit-id: 48b9c83c0b786fffae18d5b5fff7bbbe89056c99
2015-03-16 21:44:30 +01:00