Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
(instead the numerous classes using it)
SmackerPlayer now creates a surface in the constructor and deletes it in the destructor. There will be only this surface during the lifetime of the player, so there shouldn't be any issues any more when the player is reused for different Smacker files. This is imo nicer than to remove/add the surface.
I kept the several openSmacker since it wraps some code which is nice.
|
|
|
|
The crash was caused by stale pointers, exactly the same as in commit
2e4f64066da7c08edcd17b5c66c6463887b836b4
|
|
- Enable return to launcher
- Remove obsolete comments
- Remove braces in single-line statements
- Remove unused non-transparent drawing code in BaseSurface::copyFrom
- Clean up mouse cursor insertion code in Scene class
|
|
|
|
- Remove fallback detector (I think it's not needed)
- Rename Scene insertMouse methods
|
|
- Add the remaining idle stuff to Klayman
|
|
setting stuff "manually"
|
|
|
|
- processDelta() to updateBounds()
- getRect() to getCollisionBounds()
- _drawRect to _drawOffset
- _rect to _collisionBounds
- _deltaRect to _collisionBoundsOffset
|
|
|
|
|
|
- Add Scene1202 palette effect
- Add AsScene1405Tile sound panning
- Clean up some old comments
|
|
|
|
|
|
Now the code is much more readable
- Still TODO is to do the same with get/setSubVar
|
|
- Add SmackerPlayer::isDone()
- Fix puzzle key variable handling
- Update globalvars.txt
|
|
- Try to stay close to the actual frame rate
- Also use the Smacker frame rate when a video is playing to
keep videos in sync with the audio
|
|
|
|
|
|
- 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
|
|
|
|
insertMouse433 etc. methods and use them
|
|
- Introduce Scene::insertStaticSprite to create static sprites instead of the old "addSprite(new StaticSprite" (not used everywhere yet)
- Introduce macro InsertKlayman to create the Klayman object
- Change sendMessage semantics from "receiver->sendMessage(num,arg,sender)" to "sendMessage(receiver,num,arg)", the sender is always the sending object ("this")
- Similar changes using macros will follow
- And fixed a bug in the elevator
|
|
- Implement CollisionMan::removeSprite
|