Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
The naming has been changed from "room" to "scene", in order to keep it
consistent with the rest of the engine. The scene command now also
displays resource information about the current scene when invoked
without parameters
|
|
|
|
|
|
(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.
|
|
When a new Smacker is opened, the old Smacker surface is deleted
and a new one is created. Therefore, it has to be removed from the
scene and the new one has to be added.
|
|
|
|
- Renamne and clean up
|
|
|
|
- Add Scene1202 palette effect
- Add AsScene1405Tile sound panning
- Clean up some old comments
|
|
- Remove unused stuff
- Shuffle some stuff around
|
|
Now the code is much more readable
- Still TODO is to do the same with get/setSubVar
|
|
- 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
|
|
- Rename some NavigationScene stuff
|
|
Except for those which need a sound hash array (later)
|
|
- Also changed all sound related function calls which are still TODO to the new names
|
|
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
|
|
- Add FontSurface
- Add DataResource
- Fix NavigationScene, only accept input when interactive
|
|
- Work on the SmackerDecoder, create the surface immediately when a file is opened
|