Commit Graph

102 Commits

Author SHA1 Message Date
johndoe123
af2820fd23 NEVERHOOD: Add leaveModule and leaveScene
(instead of using sendMessage directly)
2013-05-08 20:39:41 +02:00
johndoe123
236ca705e8 NEVERHOOD: Add Module1600 and Scene1608 (stuff will be renamed later) 2013-05-08 20:39:41 +02:00
johndoe123
47f1fe141b NEVERHOOD: Add Scene1109
- Also fix some bugs regarding a missing parameter to setMessageList in various scenes
2013-05-08 20:39:40 +02:00
johndoe123
3872efe2a5 NEVERHOOD: Start with Module1100 and add Scene1105 2013-05-08 20:39:40 +02:00
johndoe123
abf78e07ee NEVERHOOD: Replace InsertKlayman macros with template functions (still weird but nicer) 2013-05-08 20:39:40 +02:00
johndoe123
9aff6337bc NEVERHOOD: Try to cleanup sprite creation with a templated insertSprite function (only in Module1000 so far) 2013-05-08 20:39:40 +02:00
johndoe123
1b2d496d18 NEVERHOOD: Try to clean up the clipRect stuff a little 2013-05-08 20:39:40 +02:00
johndoe123
2f670690bc NEVERHOOD: Add Scene::setPalette for simpled palette creation and use it 2013-05-08 20:39:40 +02:00
johndoe123
fa695229be NEVERHOOD: Add Sprite::setVisible and use it instead of direct access to the surface member 2013-05-08 20:39:40 +02:00
johndoe123
10ff159030 NEVERHOOD: Move createModuleXXX/updateModuleXXX methods
There are merged into createModule and updateModule in the GameModule class
2013-05-08 20:39:40 +02:00
johndoe123
17ad070a9c NEVERHOOD: Move createSceneXXX/updateSceneXXX methods
They are merged into createScene and updateScene for the other already
implemented modules (I hope I didn't break too much :)
2013-05-08 20:39:39 +02:00
johndoe123
a4c34cedd5 NEVERHOOD: Merge createSceneXXX/updateSceneXXX methods into createScene and updateScene for Module1200 2013-05-08 20:39:39 +02:00
johndoe123
0ec039c5b0 NEVERHOOD: Merge the three mouse classes into Mouse, introduce insertMouse433 etc. methods and use them 2013-05-08 20:39:39 +02:00
johndoe123
71ea4d5877 NEVERHOOD: Merge Palette2 class into Palette 2013-05-08 20:39:39 +02:00
johndoe123
d24907d1bb NEVERHOOD: Rename Palette2::addPalette to addBasePalette to prepare the merge of the Palette/Palette2 classes 2013-05-08 20:39:39 +02:00
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