Commit Graph
61292 Commits
Author SHA1 Message Date
johndoe123 6160ee3cf2 NEVERHOOD: Move code from entity.h to new entity.cpp 2013-05-08 20:43:44 +02:00
johndoe123 e1943c1e2b NEVERHOOD: Move more into the Klayman base class
- Fix header from previous commit
2013-05-08 20:43:44 +02:00
johndoe123 d1927ef8e6 NEVERHOOD: Move Klayman teleporter appear/disappear animation code from the several subclasses to the base Klayman class; the code was equal except for the animation hashes 2013-05-08 20:43:43 +02:00
johndoe123 cce19001fd NEVERHOOD: Rename more Klayman stuff (not much left :) 2013-05-08 20:43:43 +02:00
johndoe123 a5986fd722 NEVERHOOD: Fix resource file reading by introducing 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-08 20:43:43 +02:00
johndoe123 8bdddfdb02 NEVERHOOD: Rename many Klayman functions/variables 2013-05-08 20:43:43 +02:00
johndoe123 21d1372d7e NEVERHOOD: Some work on the Klayman "idle" code (when the user doesn't do something for a certain time)
- Fix startIdleAnimation and the Klayman update code which calls the idle code
- Rename related variables/methods
2013-05-08 20:43:43 +02:00
johndoe123 2ba49676ea NEVERHOOD: Add destructor to AsScene2804BeamCoil 2013-05-08 20:43:43 +02:00
johndoe123 ba991fe702 NEVERHOOD: Fix addSound in AsScene2609Water and add a destructor 2013-05-08 20:43:42 +02:00
johndoe123 a2bc192912 NEVERHOOD: Add sound lists to all modules which have them 2013-05-08 20:43:42 +02:00
johndoe123 f5a8c9d90d NEVERHOOD: Add most SoundMan remaining calls
Except for those which need a sound hash array (later)
2013-05-08 20:43:42 +02:00
johndoe123 fc0e40db30 NEVERHOOD: Implement the actual audio code
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-08 20:43:42 +02:00
johndoe123 0bb70c39f0 NEVERHOOD: More work on the SoundMan
- Also changed all sound related function calls which are still TODO to the new names
2013-05-08 20:43:42 +02:00
johndoe123 65afa25c9f NEVERHOOD: Implement the SoundMan; no sound is played yet since the important code doesn't exist yet 2013-05-08 20:43:42 +02:00
johndoe123 96153bfe04 NEVERHOOD: Implement TextSurface, used in the save/load menus 2013-05-08 20:43:42 +02:00
johndoe123 d1d1596fd1 NEVERHOOD: Add support for shadow sprites, used only for the shadow of the car/vehicle thing 2013-05-08 20:43:41 +02:00
johndoe123 ee36d5d5e3 NEVERHOOD: Add remaining scenes in Module2400 2013-05-08 20:43:41 +02:00
johndoe123 1a581543a7 NEVERHOOD: Implement Scene2403 2013-05-08 20:43:41 +02:00
johndoe123 a94c1fcb8f NEVERHOOD: Add tables for Scene2403 2013-05-08 20:43:41 +02:00
johndoe123 2386456223 NEVERHOOD: Add tables for Scene2406 2013-05-08 20:43:41 +02:00
johndoe123 93614a17a8 NEVERHOOD: Implement Scene2406 2013-05-08 20:43:41 +02:00
johndoe123 7c2aa2a225 NEVERHOOD: Implement Scene2402 2013-05-08 20:43:41 +02:00
johndoe123 49f39b0da2 NEVERHOOD: Add tables for Scene2402 2013-05-08 20:43:41 +02:00
johndoe123 402f4bd275 NEVERHOOD: Start with Module2400
- Implement Scene2401
2013-05-08 20:43:41 +02:00
johndoe123 d4e322bc78 NEVERHOOD: Add tables for Scene2401 2013-05-08 20:43:41 +02:00
johndoe123 bd3dac9781 NEVERHOOD: Add commented out code (which is TODO) to Module2500 so I don't forget it later 2013-05-08 20:43:41 +02:00
johndoe123 86c75922fe NEVERHOOD: Implement Scene2504 and add all car track scenes 2013-05-08 20:43:40 +02:00
johndoe123 31270bc5e6 NEVERHOOD: Add car track tables for Module2500 2013-05-08 20:43:40 +02:00
johndoe123 bbb23cdf27 NEVERHOOD: Start with Module2500
- Implement Scene2501
- Add Scene::removeSprite
2013-05-08 20:43:40 +02:00
johndoe123 b2175adf61 NEVERHOOD: Add tables for Scene2501 2013-05-08 20:43:40 +02:00
johndoe123 de622586f6 NEVERHOOD: Add tables for Scene2803 2013-05-08 20:43:40 +02:00
johndoe123 43362dfbd1 NEVERHOOD: Implement Scene2803
- Also add "empty" constructor to DirtyBackground (used by that scene)
2013-05-08 20:43:40 +02:00
johndoe123 c27e930861 NEVERHOOD: Add tables for Scene2812 2013-05-08 20:43:40 +02:00
johndoe123 93a074e9ad NEVERHOOD: Implement Scene2812 2013-05-08 20:43:40 +02:00
johndoe123 0388fb496d NEVERHOOD: Implement Scene2822 2013-05-08 20:43:40 +02:00
johndoe123 99ebd0eca3 NEVERHOOD: Implement Scene2810
- Also add globalvars.txt, a (currently almost empty) list of global game variables with descriptions
2013-05-08 20:43:40 +02:00
johndoe123 745e46279e NEVERHOOD: Add tables for Scene2810 2013-05-08 20:43:39 +02:00
johndoe123 6f003399c8 NEVERHOOD: Implement Scene2807 2013-05-08 20:43:39 +02:00
johndoe123 0962c594bd NEVERHOOD: Rename wrongly named stuff 2013-05-08 20:43:39 +02:00
johndoe123 4f1e8b2070 NEVERHOOD: Implement Scene2804
- Fix dispenser in Scene2808 (wasn't clickable)
- Add Palette::fillBaseWhite
- Minor renaming in Module2800
2013-05-08 20:43:39 +02:00
johndoe123 2aa6e6b89c NEVERHOOD: Implement Scene2809
- Fix some setMessageList parameters
- Add scene 10 in Module2800
2013-05-08 20:43:39 +02:00
johndoe123 5688047fe3 NEVERHOOD: Add tables for Scene2809 2013-05-08 20:43:39 +02:00
johndoe123 1cb1e66c10 NEVERHOOD: Implement Class488 (renaming TODO) 2013-05-08 20:43:39 +02:00
johndoe123 12bb3f23f3 NEVERHOOD: Implement Scene2808 2013-05-08 20:43:39 +02:00
johndoe123 404aaaad94 NEVERHOOD: Implement Class469 2013-05-08 20:43:39 +02:00
johndoe123 c2f91e39ba NEVERHOOD: Implement Scene2806 (Class469 TODO) 2013-05-08 20:43:39 +02:00
johndoe123 3cee21ac93 NEVERHOOD: Add tables for Scene2803b (forgot them before) and Scene2806 2013-05-08 20:43:39 +02:00
johndoe123 f3d98e6275 NEVERHOOD: Add scene 28/05 2013-05-08 20:43:38 +02:00
johndoe123 ee7bd2fc6c NEVERHOOD: Implement Scene2803b
- Also some more Klayman stuff used by that scene
2013-05-08 20:43:38 +02:00
johndoe123 6467904898 NEVERHOOD: Implement Scene2805 2013-05-08 20:43:38 +02:00