Commit Graph

56983 Commits

Author SHA1 Message Date
johndoe123
060287a4f8 NEVERHOOD: Improve frame-exact seeking for Scene2802
Thanks to clone2727 for his help!
2013-05-08 20:47:38 +02:00
johndoe123
99e15e4005 NEVERHOOD: More work on saveload, saving works, loading not yet (from the GMM, in-game isn't finished yet) 2013-05-08 20:47:38 +02:00
johndoe123
c182688e44 NEVERHOOD: Add saveload skeleton (doesn't actually do anything yet) 2013-05-08 20:47:38 +02:00
johndoe123
9a1d9883ad NEVERHOOD: Fix AsCommonCar turning 2013-05-08 20:47:38 +02:00
johndoe123
b2934eb166 NEVERHOOD: Fix Klaymen "grow" animation after drinking the potion
- Remove static sprite 0x50C027A8 Scene2803/Scene2803Small because the resource doesn't exist!
- Remove some old comments
- Fix resource extData handling which fixes some crashes
- Enable reusing deleted sound/music slots in SoundMan (was disabled for debugging)
2013-05-08 20:47:38 +02:00
johndoe123
cc015e3d24 NEVERHOOD: Simplify resource loading
- Renamne and clean up
2013-05-08 20:47:38 +02:00
johndoe123
1b9807b312 NEVERHOOD: Remove more old comments
- Add the remaining idle stuff to Klayman
2013-05-08 20:47:38 +02:00
johndoe123
370f00e808 NEVERHOOD: New _sceneNum in Module2800
- Very slightly improved the speed in SmackerPlayer::gotoFrame()
2013-05-08 20:47:38 +02:00
johndoe123
325c85fc41 NEVERHOOD: Fix Klaymen in Scene1403 (*facepalm*) 2013-05-08 20:47:38 +02:00
johndoe123
1904e944c5 NEVERHOOD: Add initCubeSymbolsPuzzle
- Add microtiles to the screen update to eliminate overdraw
  (microtiles code taken from the Toltecs engine)
- Fix sprite dimensions in AsScene1402PuzzleBox which caused a crash
- Fix screen shaking in Scene1402
  (the puzzle box and bridge parts now shake along :)
- Use addSoundItem/addMusicItem in the SoundMan instead of
  directly using push_back on the resp. arrays
- Remove old code and comments
2013-05-08 20:47:37 +02:00
johndoe123
685ce4e312 NEVERHOOD: Add initCodeSymbolsPuzzle 2013-05-08 20:47:37 +02:00
johndoe123
73e0372cef NEVERHOOD: A little more work on the menu stuff 2013-05-08 20:47:37 +02:00
johndoe123
6be5c11713 NEVERHOOD: More work on the menu system:
- Add handling of ascii and system key input
- Fix TextSurface::drawChar()
- Pause audio when entering the menu, resume it again afterwards
- Add TextEditWidget
- Add SaveGameMenu (doesn't actually save anything yet and needs more work)
2013-05-08 20:47:37 +02:00
johndoe123
0022c57858 NEVERHOOD: Add SavegameListBox 2013-05-08 20:47:37 +02:00
johndoe123
eecd9b8b2a NEVERHOOD: Add TextLabelWidget (still doesn't do anything) 2013-05-08 20:47:37 +02:00
johndoe123
228d9264c8 NEVERHOOD: Start with menu widget stuff (doesn't do anything yet!) 2013-05-08 20:47:37 +02:00
johndoe123
4df22cf979 NEVERHOOD: Remove track rectList code because none of the tracks has a rectList 2013-05-08 20:47:36 +02:00
johndoe123
c539060460 NEVERHOOD: Clean up Module2700 (like the ones before)
- Add Scene2703 and Scene2732
2013-05-08 20:47:36 +02:00
johndoe123
8d5a4f736e NEVERHOOD: Add tables for new scenes in Module2700 2013-05-08 20:47:36 +02:00
johndoe123
36204f573d NEVERHOOD: Clean up Module2600 (like the ones before) 2013-05-08 20:47:35 +02:00
johndoe123
28e613c68b NEVERHOOD: Clean up Module2500 (like the ones before) 2013-05-08 20:47:35 +02:00
johndoe123
38df3c0d62 NEVERHOOD: Clean up Module2400 (like the ones before)
- Fix Klayman::stTurnToFront()
2013-05-08 20:47:35 +02:00
johndoe123
61e2a6f81d NEVERHOOD: Clean up Module2300 (like the ones before)
- Also fix previous modules (oops)
2013-05-08 20:47:35 +02:00
johndoe123
1993d4165a NEVERHOOD: Clean up Module2200 (like the ones before)
- Rename SceneInfo140 to HallOfRecordsInfo
2013-05-08 20:47:35 +02:00
johndoe123
0dd4995af3 NEVERHOOD: Clean up Module2100 (like the ones before) 2013-05-08 20:47:35 +02:00
johndoe123
9d987a97d3 NEVERHOOD: Clean up Module2000 (like the ones before) 2013-05-08 20:47:35 +02:00
johndoe123
2fbfd673ad NEVERHOOD: Clean up Module1900 (like the ones before) 2013-05-08 20:47:35 +02:00
johndoe123
dd26512c0d NEVERHOOD: Clean up Module1800 (like the ones before) 2013-05-08 20:47:35 +02:00
johndoe123
904d9430bf NEVERHOOD: Clean up Module1700 (like the ones before) 2013-05-08 20:47:35 +02:00
johndoe123
e2b696b891 NEVERHOOD: Clean up Module1600 (like the ones before)
- Remove AsScene1608Door because the corresponding animation resource didn't exist!
2013-05-08 20:47:34 +02:00
johndoe123
f51140490d NEVERHOOD: Clean up Module1500 (like the ones before) 2013-05-08 20:47:34 +02:00
johndoe123
af37a2200e NEVERHOOD: Clean up Module1400 (like the ones before) 2013-05-08 20:47:34 +02:00
johndoe123
ee7d47cb18 NEVERHOOD: Clean up Module1300 (like the ones before) 2013-05-08 20:47:34 +02:00
johndoe123
097f1f27bb NEVERHOOD: Clean up Module1200 (like the ones before) 2013-05-08 20:47:34 +02:00
johndoe123
f744e60e0e NEVERHOOD: Clean up Module1100:
- 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-08 20:47:34 +02:00
johndoe123
4d7610f69d NEVERHOOD: Clean up Module1000:
- 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-08 20:47:34 +02:00
johndoe123
1589e4fe7d NEVERHOOD: Add new method StaticSprite::loadSprite and use it instead of setting stuff "manually" 2013-05-08 20:47:34 +02:00
johndoe123
bf1371c9d4 NEVERHOOD: Rename and clean up fields in AnimFrameInfo 2013-05-08 20:47:34 +02:00
johndoe123
f24a6769c2 NEVERHOOD: Make use of NDrawRect::set 2013-05-08 20:47:33 +02:00
johndoe123
9ba7a7f1a1 NEVERHOOD: Rename stuff in Sprite:
- processDelta() to updateBounds()
- getRect() to getCollisionBounds()
- _drawRect to _drawOffset
- _rect to _collisionBounds
- _deltaRect to _collisionBoundsOffset
2013-05-08 20:47:33 +02:00
johndoe123
eb054471e0 NEVERHOOD: Fix _drawRects in AsScene1002Door and SsCommonPressButton 2013-05-08 20:47:33 +02:00
johndoe123
47994441cd NEVERHOOD: Move setting of debug variables to the GameModule 2013-05-08 20:47:33 +02:00
johndoe123
5af2de503e NEVERHOOD: Rewrite GameModule::initMemoryPuzzle() to use NonRepeatingRandomNumbers
- Change NonRepeatingRandomNumbers
2013-05-08 20:47:33 +02:00
johndoe123
54c83924ce NEVERHOOD: Add class NonRepeatingRandomNumbers
- Simplify GameModule::initKeySlotsPuzzle()
2013-05-08 20:47:33 +02:00
johndoe123
8d97f26cef NEVERHOOD: Fix AsScene2402Door animation 2013-05-08 20:47:33 +02:00
johndoe123
f8ff1cc12f NEVERHOOD: Add CreditsScene to Module1300 and Module1800 (played after the game end and after jumping into the hole...) 2013-05-08 20:47:33 +02:00
johndoe123
5ba8f2e9c8 NEVERHOOD: Add making of video to the main menu
- Clear render queue at each scene initiailization
- Fix mouse cursor visibility (again :)
- Fix SmackerScene screen clearing
2013-05-08 20:47:33 +02:00
johndoe123
c43253bd6a NEVERHOOD: Implement CreditsScene 2013-05-08 20:47:32 +02:00
johndoe123
2e32b32808 NEVERHOOD: Start with the MenuModule 2013-05-08 20:47:32 +02:00
johndoe123
ef8f0215cf NEVERHOOD: Add GameVars::dumpVars() for debugging 2013-05-08 20:47:32 +02:00