lp:ganggameengine
- Get this branch:
- bzr branch lp:ganggameengine
Branch merges
Branch information
Recent revisions
- 16. By Simeon Maxein <simmax@eeecliptic>
-
- Added viewports. A viewport shows part of a room and can be moved and rotated, and can zoom in and out. These operations are already provided by the ClanLib GC, but Viewports will provide a more convenient interface.
- Gave Entities a reference to their containing room, and rooms a list of contained entities. This way rooms can draw themselves by iterating over the entity set, and entities that are destroyed can automatically remove themselves from the room's list. - 15. By Simeon Maxein <simmax@simmax-desktop>
-
New class Room: Every entity belongs to a room, which contains a
b2world for simulating physics in that room. This is similar to a room
in the GM sense, but you could have multiple rooms running at once (e.g.
in a multiplayer game with room transitions like JSWO).Added resource types for entities, so that different types of entities
without differences in behaviour can be defined in the resource files. - 14. By Simeon Maxein <simmax@simmax-desktop>
-
Pulled the custom resource slot registration out of the example app and into the gge.h/gge.cpp in form of a Clanlib-style setup class.
Made the SimplePhysicsEntity draw a square at its own position, so that there's finally something to see. - 13. By Simeon Maxein <simmax@simmax-desktop>
-
Removed all references to TNL, restructured the directories again (sorry for the inconvenience) and added my resource.xml to the example directory which defines a bouncy ball and an immobile ground
box. Moved the shapedef-copying code out of CLP_ResourceData_b2ShapeDef. cpp and into the factory, that probably separates the concerns better. - 12. By Administrator <Administrator@Geocentaur>
-
Changed CLP_ResourceDat
a_b2ShapeDef to return a pointer to a copy of the object instead of a reference to the object itself. - 11. By Administrator <Administrator@Geocentaur>
-
Added a new class for body resources, started work on a SimplePhysicsEntity class that should be usable for most physics objects without special behaviour.
- 10. By Administrator <Administrator@Geocentaur>
-
Directory reorganization (Having the source in the main directory makes it easier for me to version it directly in the VC++ project directory), deleted the Eclipse project settings
- 8. By Administrator <Administrator@Geocentaur>
-
Added support for creating b2ShapeDef's to the factory and moved the ResourceManager callback methods to the ResourceData classes. Removed the CLP_b2BodyDef and CLP_b2ShapeDef-
Classes. - 7. By Administrator <Administrator@Geocentaur>
-
The CLP_b2BodyDef class doesn't look like a good solution to me, the constructor is certainly hacky (if it works at all). I added a Factory that can take care of creation of the b2BodyDef's which should remove the need for the CLP_b2BodyDef class.
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)