johndoe123
7e4faf3505
NEVERHOOD: More Klayman merging
...
- 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
2013-05-08 20:43:46 +02:00
johndoe123
e97bd30682
NEVERHOOD: Change sound stuff in Klayman
...
- Also merge some more code into the Klayman class
- Rename hmInsertDiskSide to hmInsertKey (also related code)
2013-05-08 20:43:46 +02:00
johndoe123
acdc0256bb
NEVERHOOD: Change sound stuff in DiskplayerScene
2013-05-08 20:43:45 +02:00
johndoe123
1b3a686cac
NEVERHOOD: Fix AsScene3011Symbol
2013-05-08 20:43:45 +02:00
johndoe123
45da15adce
NEVERHOOD: Change sound stuff in Module3000 (dirty, TODO)
2013-05-08 20:43:45 +02:00
johndoe123
eca881bd3e
NEVERHOOD: Change sound stuff in Module2800
2013-05-08 20:43:45 +02:00
johndoe123
73f4e4bcac
NEVERHOOD: Change sound stuff in Module2700
2013-05-08 20:43:45 +02:00
johndoe123
26188a3a69
NEVERHOOD: Change sound stuff in Module2600
2013-05-08 20:43:45 +02:00
johndoe123
fb9d9c30e6
NEVERHOOD: Change sound stuff in Module2500
2013-05-08 20:43:45 +02:00
johndoe123
0c5a5b3c62
NEVERHOOD: Change sound stuff in Module2400
2013-05-08 20:43:45 +02:00
johndoe123
3651d982c4
NEVERHOOD: Change sound stuff in Module2200
...
- Add Entity::stopSound
2013-05-08 20:43:45 +02:00
johndoe123
78df19c648
NEVERHOOD: Change sound stuff in Module2100
2013-05-08 20:43:45 +02:00
johndoe123
a8dda6c5b6
NEVERHOOD: Change sound stuff in Module1900
2013-05-08 20:43:44 +02:00
johndoe123
0a1a228a88
NEVERHOOD: Change sound stuff in Module1700
...
- Add Entity::setSoundVolume
2013-05-08 20:43:44 +02:00
johndoe123
0c272631df
NEVERHOOD: Change sound stuff in Module1600
2013-05-08 20:43:44 +02:00
johndoe123
2df0a0a2e1
NEVERHOOD: Change sound stuff in Module1500
2013-05-08 20:43:44 +02:00
johndoe123
b119efd5ed
NEVERHOOD: Change sound stuff in Module1400
2013-05-08 20:43:44 +02:00
johndoe123
5ab4eb6555
NEVERHOOD: Change sound stuff in Module1300
...
- Also fix a very stupid bug in AsScene1307Key which messed up the key moving animation
2013-05-08 20:43:44 +02:00
johndoe123
fc359abd08
NEVERHOOD: Change sound stuff in Module1200
2013-05-08 20:43:44 +02:00
johndoe123
7adc1d312e
NEVERHOOD: Change sound stuff in Module1100
...
- Implement Entity::isSoundPlaying
2013-05-08 20:43:44 +02:00
johndoe123
0f04a01338
NEVERHOOD: Change sound playing
...
Sounds can now be loaded/played by an entity without declaring/initializing a SoundResource which is a little nicer. I implemented this so far for Module1000 only, rest will follow.
2013-05-08 20:43:44 +02:00
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