aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/gamemodule.cpp
AgeCommit message (Collapse)Author
2013-05-08NEVERHOOD: Cleanup and fixesjohndoe123
- Implement GameModule::initScene2801Vars() - Fix Scene1201::~Scene1201() which does some game logic stuff - Rename some stuff - Add more game variable constants
2013-05-08NEVERHOOD: Implement GameModule::createModuleByHashjohndoe123
This is used later when restoring savegames - Rename V_RING5_PULLED to V_RADIO_ENABLED - Implement Palette::fillBaseBlack and use it in Scene2803Small - Fix Scene2802 (show disabled radio if it's not enabled)
2013-05-08NEVERHOOD: Graphics related changes/fixes:johndoe123
- Add BitmapFlags enum - Merge unpackSpriteRle and unpackSpriteRleRepl - Implement Y flipping in unpackSpriteRle - Fix Y flipping in AsScene2804CrystalWaves
2013-05-08NEVERHOOD: Implement Module2900, the teleporterjohndoe123
- Also fix a related bug in Module2000 (teleporter appearing animation didn't play)
2013-05-08NEVERHOOD: Implement Scene2802 (radio tuning scene)johndoe123
- Handle mouse button up events - Use the SmackerDecoder's rewind - Implement SmackerPlayer::gotoFrame (slow but better than nothing)
2013-05-08NEVERHOOD: Fix Smacker framerate bug after the video decoder changesjohndoe123
- React to the space key which can skip some videos and navigation transitions - Minor renaming in SmackerScene
2013-05-08NEVERHOOD: Replace most of the literal digits in get/setSubVar with constantsjohndoe123
2013-05-08NEVERHOOD: Use constants for the numbers in get/setGlobalVarjohndoe123
Now the code is much more readable - Still TODO is to do the same with get/setSubVar
2013-05-08NEVERHOOD: Rename stuff in DiskplayerScenejohndoe123
- Add SmackerPlayer::isDone() - Fix puzzle key variable handling - Update globalvars.txt
2013-05-08NEVERHOOD: Rename stuff in the Scene class and clean up a littlejohndoe123
- 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
2013-05-08NEVERHOOD: Rename stuff in Module3000johndoe123
- Also change Scene1609::testVars - Update globalvars.txt
2013-05-08NEVERHOOD: Rename stuff in Module2700johndoe123
- Also fix the clipRect in Scene2701
2013-05-08NEVERHOOD: Work on Module2800:johndoe123
- Rename KmScene2803b to KmScene2803Small; Scene2803b to Scene2803Small - Rename lots of stuff
2013-05-08NEVERHOOD: Rename stuff in Module2700 (also in Module2500 which uses some of it)johndoe123
2013-05-08NEVERHOOD: Work on Module2500:johndoe123
- Remove Class541 and Class542 and instead use AsCommonIdleCarLower and AsCommonIdleCarFull - Some renaming
2013-05-08NEVERHOOD: Add clipRects to all Klayman subclassesjohndoe123
- Rename stuff in Module2400 - Move some temp sprites from class scope to local scope in the respective constructors
2013-05-08NEVERHOOD: Enable/fixup navigation scene sound update code in several modulesjohndoe123
- Rename some NavigationScene stuff
2013-05-08NEVERHOOD: Simplify code and rename thingsjohndoe123
- Add Module::createStaticScene to simplify creation of static scenes (and use it in the relevant places) - Rename Class545 to AsCommonKey and rename related variables - Rename stuff in Module2200
2013-05-08NEVERHOOD: Implement clipping against multiple clipRects, used only in ↵johndoe123
several scenes for the Klayman sprite. Currently only implemented in KmScene2201 for testing.
2013-05-08NEVERHOOD: Rename stuff in several modulesjohndoe123
2013-05-08NEVERHOOD: Work on Module1700:johndoe123
- Rename stuff - Add puzzle var initialization in Scene1705
2013-05-08NEVERHOOD: Work on Module1600:johndoe123
- Rename stuff (also in related files)
2013-05-08NEVERHOOD: Update todo.txtjohndoe123
2013-05-08NEVERHOOD: Remove SsScene1002LadderArch and Class599 and turn them into ↵johndoe123
static sprites; the classes were only used to set the sprite surface priority with a message, which is now handled in the scene
2013-05-08NEVERHOOD: Rename Class152 to StaticScenejohndoe123
2013-05-08NEVERHOOD: Change sound stuff in Module1300johndoe123
- Also fix a very stupid bug in AsScene1307Key which messed up the key moving animation
2013-05-08NEVERHOOD: Rename more Klayman stuff (not much left :)johndoe123
2013-05-08NEVERHOOD: Fix resource file reading by introducing ↵johndoe123
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
2013-05-08NEVERHOOD: Rename many Klayman functions/variablesjohndoe123
2013-05-08NEVERHOOD: Add most SoundMan remaining callsjohndoe123
Except for those which need a sound hash array (later)
2013-05-08NEVERHOOD: Implement the actual audio codejohndoe123
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
2013-05-08NEVERHOOD: More work on the SoundManjohndoe123
- Also changed all sound related function calls which are still TODO to the new names
2013-05-08NEVERHOOD: Add support for shadow sprites, used only for the shadow of the ↵johndoe123
car/vehicle thing
2013-05-08NEVERHOOD: Implement Scene2403johndoe123
2013-05-08NEVERHOOD: Implement Scene2406johndoe123
2013-05-08NEVERHOOD: Implement Scene2402johndoe123
2013-05-08NEVERHOOD: Start with Module2400johndoe123
- Implement Scene2401
2013-05-08NEVERHOOD: Implement Scene2504 and add all car track scenesjohndoe123
2013-05-08NEVERHOOD: Start with Module2500johndoe123
- Implement Scene2501 - Add Scene::removeSprite
2013-05-08NEVERHOOD: Implement Scene2812johndoe123
2013-05-08NEVERHOOD: Implement Scene2822johndoe123
2013-05-08NEVERHOOD: Implement Scene2810johndoe123
- Also add globalvars.txt, a (currently almost empty) list of global game variables with descriptions
2013-05-08NEVERHOOD: Implement Scene2807johndoe123
2013-05-08NEVERHOOD: Implement Scene2804johndoe123
- Fix dispenser in Scene2808 (wasn't clickable) - Add Palette::fillBaseWhite - Minor renaming in Module2800
2013-05-08NEVERHOOD: Implement Scene2809johndoe123
- Fix some setMessageList parameters - Add scene 10 in Module2800
2013-05-08NEVERHOOD: Implement Class488 (renaming TODO)johndoe123
2013-05-08NEVERHOOD: Implement Scene2808johndoe123
2013-05-08NEVERHOOD: Implement Scene2806 (Class469 TODO)johndoe123
2013-05-08NEVERHOOD: Implement Scene2803bjohndoe123
- Also some more Klayman stuff used by that scene
2013-05-08NEVERHOOD: Implement Scene2805johndoe123