Age | Commit message (Collapse) | Author |
|
|
|
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 KmScene2803b to KmScene2803Small; Scene2803b to Scene2803Small
- Rename lots of stuff
|
|
- Rename stuff in Module2400
- Move some temp sprites from class scope to local scope in the respective constructors
|
|
several scenes for the Klayman sprite.
Currently only implemented in KmScene2201 for testing.
|
|
- Normalize the calling order of the Set... macros
- Actually use _walkResumeFrameIncr, change stStartWalkingResume
|
|
- Rename some stuff
- Reorder methods (in the Klayman header only until I'm happy with it :)
|
|
- Also fix compilation (oops)
|
|
|
|
|
|
- Also clean up parameter list of two Klayman subclass constructors and send a message to the parent class instead of operating on the entities inside the Klayman class
|
|
- Also merge some more code into the Klayman class
- Rename hmInsertDiskSide to hmInsertKey (also related code)
|
|
- Fix header from previous commit
|
|
several subclasses to the base Klayman class; the code was equal except for the animation hashes
|
|
|
|
SafeMutexedSeekableSubReadStream which locks a mutex during reads and also lock the same mutex in BlbArchive::load; loading resources while music is playing shouldn't mess up the file position now
- Fix loading of non-existent resources (not elegant and not checked everywhere yet, the resource system is subject to a minor rewrite anyway)
- Rename more Klayman stuff
|
|
|
|
something for a certain time)
- Fix startIdleAnimation and the Klayman update code which calls the idle code
- Rename related variables/methods
|
|
Except for those which need a sound hash array (later)
|
|
Sounds and music play now in some scenes
(I didn't change the comments to code in all modules yet)
- Fix calcHash to ignore non-alphanumeric characters, this fixes at least
one animation glitch (when inserting tapes into the player)
- Move SoundResource to sound.cpp
|
|
- Also changed all sound related function calls which are still TODO to the new names
|
|
|
|
|
|
|
|
- Implement Scene2401
|
|
- Implement Scene2501
- Add Scene::removeSprite
|
|
- Also add "empty" constructor to DirtyBackground (used by that scene)
|
|
|
|
- Also add globalvars.txt, a (currently almost empty) list of global game variables with descriptions
|
|
- Fix some setMessageList parameters
- Add scene 10 in Module2800
|
|
|
|
- Also some more Klayman stuff used by that scene
|
|
|
|
- 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
|
|
|
|
(Scene1908 is actually only used in another module...)
|
|
|
|
- Also fix some bugs regarding a missing parameter to setMessageList in various scenes
|
|
but nicer)
|
|
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
|
|
|
|
- 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
|
|
|
|
|
|
|