aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/gamemodule.cpp
AgeCommit message (Collapse)Author
2013-05-08NEVERHOOD: Clean up Module1400 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module1300 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module1200 (like the ones before)johndoe123
2013-05-08NEVERHOOD: Clean up Module1100:johndoe123
- Rename stuff - Remove superfluous braces - Add a comment to the "which" code in each scene - Use a seperate _sceneNum instead of _vm->gameState().sceneNum
2013-05-08NEVERHOOD: Clean up Module1000:johndoe123
- Rename stuff - Remove superfluous braces - Add a comment to the "which" code in each scene - Use a seperate _sceneNum instead of _vm->gameState().sceneNum - Remove code related to unused resource preloading and debug messages
2013-05-08NEVERHOOD: Add new method StaticSprite::loadSprite and use it instead of ↵johndoe123
setting stuff "manually"
2013-05-08NEVERHOOD: Move setting of debug variables to the GameModulejohndoe123
2013-05-08NEVERHOOD: Rewrite GameModule::initMemoryPuzzle() to use ↵johndoe123
NonRepeatingRandomNumbers - Change NonRepeatingRandomNumbers
2013-05-08NEVERHOOD: Add class NonRepeatingRandomNumbersjohndoe123
- Simplify GameModule::initKeySlotsPuzzle()
2013-05-08NEVERHOOD: Fix AsScene2402Door animationjohndoe123
2013-05-08NEVERHOOD: Add making of video to the main menujohndoe123
- Clear render queue at each scene initiailization - Fix mouse cursor visibility (again :) - Fix SmackerScene screen clearing
2013-05-08NEVERHOOD: Start with the MenuModulejohndoe123
2013-05-08NEVERHOOD: Rename puzzle initialization methods and give them better namesjohndoe123
2013-05-08NEVERHOOD: Implement an experimental "render queue" to only draw and update ↵johndoe123
what's actually changed; it works surprisingly well so far and only needs a few more changes here and there
2013-05-08NEVERHOOD: Try to give the AsCommonCar identifiers better namesjohndoe123
- Implement AsCommonCar::updateSound() - Fix a bug in Scene1608 (the Klaymen animation got stuck when trying to get back into the car)
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