Commit Graph

87 Commits

Author SHA1 Message Date
johndoe123
67fe73352b NEVERHOOD: Merge createSceneXXX/updateSceneXXX methods into createScene and updateScene for Module1000 2013-05-08 20:39:39 +02:00
johndoe123
02fe0bc65d NEVERHOOD: Merge scene-specific createSceneXXX/updateSceneXXX methods into createScene and updateScene (for Module2200 only so far) 2013-05-08 20:39:39 +02:00
johndoe123
fad64afa44 NEVERHOOD: Remove unused resource preloading stuff (probably resource preloading is not needed since the original game ran off slow double/quad-speed cd drives and preloading reduced stuttering while playing back then)
- Add Klayman animation speedup
2013-05-08 20:39:39 +02:00
johndoe123
c30e16628e NEVERHOOD: Add Module::updateChild and use it (in most places) 2013-05-08 20:39:39 +02:00
johndoe123
5d63bef6a2 NEVERHOOD: Use setBackground 2013-05-08 20:39:39 +02:00
johndoe123
4a88ce37dd NEVERHOOD: Use InsertKlayman 2013-05-08 20:39:38 +02:00
johndoe123
cac9a090e7 NEVERHOOD: Use insertStaticSprite 2013-05-08 20:39:38 +02:00
johndoe123
b757e22f88 NEVERHOOD: Multiple changes to make the game logic code cleaner (hopefully :)
- Introduce Scene::insertStaticSprite to create static sprites instead of the old "addSprite(new StaticSprite" (not used everywhere yet)
- Introduce macro InsertKlayman to create the Klayman object
- Change sendMessage semantics from "receiver->sendMessage(num,arg,sender)" to "sendMessage(receiver,num,arg)", the sender is always the sending object ("this")
- Similar changes using macros will follow
- And fixed a bug in the elevator
2013-05-08 20:39:38 +02:00
johndoe123
a21f9ef891 NEVERHOOD: Add Scene1310 and Scene1311 2013-05-08 20:39:38 +02:00
johndoe123
38378d2090 NEVERHOOD: Add Scene1317
- Fix SmackerPlayer (last frame was dropped, this hopefully doesn't break other stuff...)
2013-05-08 20:39:38 +02:00
johndoe123
3e122b002c NEVERHOOD: Add Scene1308 (renaming of stuff todo) 2013-05-08 20:39:38 +02:00
johndoe123
e13b8740c9 NEVERHOOD: Add Scene1307 2013-05-08 20:39:38 +02:00
johndoe123
30ff790a07 NEVERHOOD: Add Scene1306 2013-05-08 20:39:38 +02:00
johndoe123
a6cb31c9c3 NEVERHOOD: Add Scene1305 2013-05-08 20:39:38 +02:00
johndoe123
086879a4aa NEVERHOOD: Add Scene1304 2013-05-08 20:39:37 +02:00
johndoe123
9d6e3b9575 NEVERHOOD: Add Scene1303 2013-05-08 20:39:37 +02:00
johndoe123
d4030b7a9f NEVERHOOD: Start with Module1300 and implement Scene1302 2013-05-08 20:39:37 +02:00
johndoe123
9b151cefc3 NEVERHOOD: Implement HallOfRecordsScene (and all HoR scenes) and Scene2247
- Load SceneInfo140 from neverhood.dat
- Some renaming
2013-05-08 20:39:36 +02:00
johndoe123
b16f34c376 NEVERHOOD: Add Scene2248 2013-05-08 20:39:36 +02:00
johndoe123
49658b6b5a NEVERHOOD: Forgot to remove debug code 2013-05-08 20:39:36 +02:00
johndoe123
9133d17cdf NEVERHOOD: Implement Scene2242 2013-05-08 20:39:36 +02:00
johndoe123
730844f1b7 NEVERHOOD: Implement Scene2208 (viewer for Hall Of Records text)
- Implement Screen::drawSurface3 and Screen::drawUnk and move actual blitting code to Screen::blit
2013-05-08 20:39:36 +02:00
johndoe123
50996201f4 NEVERHOOD: Very small cleanup 2013-05-08 20:39:36 +02:00
johndoe123
41f8749bd0 NEVERHOOD: Implement Scene2207 (not complete yet) 2013-05-08 20:39:36 +02:00
johndoe123
f29619f655 NEVERHOOD: Implement Scene2206 2013-05-08 20:39:36 +02:00
johndoe123
e177dcf911 NEVERHOOD: Implement Scene2205 2013-05-08 20:39:35 +02:00
johndoe123
732f7c8845 NEVERHOOD: Add Scene2204 (just a DiskplayerScene) 2013-05-08 20:39:35 +02:00
johndoe123
31457e11aa NEVERHOOD: Implement Scene2203 2013-05-08 20:39:35 +02:00
johndoe123
c4a4ce4e35 NEVERHOOD: Implement Scene2202 (sliding puzzle) 2013-05-08 20:39:35 +02:00
johndoe123
b64b0cfac2 NEVERHOOD: Implement updateScene2201 2013-05-08 20:39:35 +02:00
johndoe123
eb8c44b54c NEVERHOOD: Implement Scene2201
- Implement DataResource::getHitRectList, DataResource::getMessageListAtPos and related stuff in scene.cpp
2013-05-08 20:39:35 +02:00
digitall
bec86c7c2e NEVERHOOD: Switch to initGraphics() call, rather than separate calls. Default to 1xScalar. 2013-05-08 20:39:35 +02:00
johndoe123
5fcc3af23b NEVERHOOD: Implement Module2000 2013-05-08 20:39:34 +02:00
johndoe123
9d12661537 NEVERHOOD: Implement Scene3011
- And use _moduleDone instead of _done in Module3000
2013-05-08 20:39:34 +02:00
johndoe123
87d1f79f31 NEVERHOOD: More work on Scene3009 2013-05-08 20:39:34 +02:00
johndoe123
d88836596d NEVERHOOD: More work on Module3000 and Scene3009 (incomplete) 2013-05-08 20:39:34 +02:00
johndoe123
63fe7bd18a NEVERHOOD: Introduce and use Module::createNavigationScene and Module::createSmackerScene 2013-05-08 20:39:34 +02:00
johndoe123
08be9cde7b NEVERHOOD: Implement Scene3010 (door lock) 2013-05-08 20:39:34 +02:00
johndoe123
d7dd4b4356 NEVERHOOD: Implement Scene1403, Scene1404 and Scene1405 (memory minigame)
- Move GameModule::startup call into engine instead of the game module constructor
- Reduce debug output
2013-05-08 20:39:34 +02:00
johndoe123
bfd71cff6e NEVERHOOD: New modules Module1200, Module1400, Module1700 and Module1800
- Implement CollisionMan::removeSprite
2013-05-08 20:39:34 +02:00
johndoe123
f162516f25 NEVERHOOD: More work on Scene1201 2013-05-08 20:38:48 +02:00
johndoe123
720050bec1 NEVERHOOD: Start with Module1200/Scene1201 (not complete yet)
- Fix an odd bug with the game variables (index of newly added subvar was sometimes -1)
2013-05-08 20:38:48 +02:00
johndoe123
438b6bb53c NEVERHOOD: Implement Module2300 (just a bunch of NavigationScenes)
- Fix Smacker player by using a SafeSubReadStream
- Fix NavigationMouse (cursors in type 1 were swapped)
2013-05-08 20:38:48 +02:00
johndoe123
71da221507 NEVERHOOD: Implement Scene1004
- Module1000 is now almost complete
2013-05-08 20:38:48 +02:00
johndoe123
a23b694c94 NEVERHOOD: Implement Scene1005
- Add FontSurface
- Add DataResource
- Fix NavigationScene, only accept input when interactive
2013-05-08 20:38:48 +02:00
johndoe123
0bfb52df74 NEVERHOOD: Implement NavigationScene
- Work on the SmackerDecoder, create the surface immediately when a file is opened
2013-05-08 20:38:48 +02:00
johndoe123
db9e45706c NEVERHOOD: More work on Scene1002
- Implement NavigationMouse and NavigationLists
- Some renaming
2013-05-08 20:38:48 +02:00
johndoe123
8a5c4a84d0 NEVERHOOD: Implement color replace in AnimatedSprite
(used to disable a color in sprite drawing)
2013-05-08 20:38:47 +02:00
johndoe123
2647778935 NEVERHOOD: Fix crash/corruption in clipped sprite drawing 2013-05-08 20:38:47 +02:00
johndoe123
436f8952bb NEVERHOOD: More work on Scene1002, Klayman and the rest
- Add "heavy debug" output to Entity (display which update/message handler is called)
- Also add more debug output
- Error out when a StaticData resource could not be found
2013-05-08 20:38:47 +02:00