Age | Commit message (Collapse) | Author |
|
Wrapped the code in the SetUpdateHandler(), SetMessageHandler(),
SetSpriteUpdate(), SetFilterX(), SetFilterY() and NextState()
macros in "do { ... } while (0)". Otherwise you may fool yourself
because in "if (condition) macro();" the "if" will only cover the
first statement of the macro.
CID 1022340, 1022341, 1022342, 1022343
|
|
setting stuff "manually"
|
|
- processDelta() to updateBounds()
- getRect() to getCollisionBounds()
- _drawRect to _drawOffset
- _rect to _collisionBounds
- _deltaRect to _collisionBoundsOffset
|
|
- Remove _name field from Entity (wasn't really maintained by me and
became useless)
- Remove obsolete TODOs
- Add STICK_LAST_FRAME constant for better readability
- Remove commented out callbackList TODOs (these were so far never
used with over 90% of the game implemented)
|
|
car/vehicle thing
|
|
- Started replace message numbers with constants
- Add NRect::contains
- Some cleanup
|
|
|
|
- Give better names to animation callback functions/vars
- Give better names to animation functions (previously known as subXXXX - not completed yet)
- Add dumpAllResources (which is a lie, since it only dumps animations for now)
- More renaming to come
|
|
function (only in Module1000 so far)
|
|
|
|
surface member
|
|
preloading is not needed since the original game ran off slow double/quad-speed cd drives and preloading reduced stuttering while playing back then)
- Add Klayman animation speedup
|
|
|
|
|
|
|
|
- Move GameModule::startup call into engine instead of the game module constructor
- Reduce debug output
|
|
- Implement CollisionMan::removeSprite
|
|
- Module1000 is now almost complete
|
|
- Implement NavigationMouse and NavigationLists
- Some renaming
|
|
(used to disable a color in sprite drawing)
|
|
- Add "heavy debug" output to Entity (display which update/message handler is called)
- Also add more debug output
- Error out when a StaticData resource could not be found
|
|
|
|
- Fix a bug in Klayman's walking
- The lever can now be used
- Other stuff is still missing
- Remove entity.cpp since it's not needed
|
|
- Start to implement KmScene1001
- Implement queryPositionSprite and queryPositionRectList
- Implement message list related code (setting and running them)
- Access to message params now with accessors (so compatible types can be converted)
|
|
also, it doesn't work yet and isn't used yet)
|
|
later) and AnimResource related stuff
|
|
- Implement BaseSurface::drawSpriteResourceEx
- Use CollisionMan in Scene
- Some cleanup
|
|
|
|
|
|
|