Commit Graph

40 Commits

Author SHA1 Message Date
johndoe123
adb02a9f38 NEVERHOOD: More renaming 2013-05-08 20:40:03 +02:00
johndoe123
dac95f3f73 NEVERHOOD: More renaming (mostly in Klayman and AnimatedSprite) 2013-05-08 20:40:03 +02:00
johndoe123
9cf2c83e5e NEVERHOOD: Major renaming:
- Give better names to animation callback functions/vars
- Give better names to animation functions (previously known as subXXXX - not completed yet)
- Add dumpAllResources (which is a lie, since it only dumps animations for now)
- More renaming to come
2013-05-08 20:39:43 +02:00
johndoe123
21ebcf2af2 NEVERHOOD: Add Module2100 and Scene2101 (not complete yet) 2013-05-08 20:39:41 +02:00
johndoe123
7a0a0c4b65 NEVERHOOD: Add Module1900 and Scene1901, Scene1907
(Scene1908 is actually only used in another module...)
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
abf78e07ee NEVERHOOD: Replace InsertKlayman macros with template functions (still weird but nicer) 2013-05-08 20:39:40 +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
4a88ce37dd NEVERHOOD: Use InsertKlayman 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
3e122b002c NEVERHOOD: Add Scene1308 (renaming of stuff todo) 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
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
9133d17cdf NEVERHOOD: Implement Scene2242 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
31457e11aa NEVERHOOD: Implement Scene2203 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
johndoe123
5fcc3af23b NEVERHOOD: Implement Module2000 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
71da221507 NEVERHOOD: Implement Scene1004
- Module1000 is now almost complete
2013-05-08 20:38:48 +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
johndoe123
b611b65bf4 NEVERHOOD: Change addHitRect to use an explicit count
- This is since the alignment stuff didn't work and it's not worth it to investigate
- Add possibility to write out hardcoded message lists instead of reading from the exe for special lists
2013-05-08 20:38:47 +02:00
johndoe123
ffe024844b NEVERHOOD: More work on Scene1002 2013-05-08 20:38:47 +02:00
johndoe123
92e08f21ed NEVERHOOD: Start with Scene1002 (a lot incomplete) 2013-05-08 20:38:47 +02:00
johndoe123
c39fb81951 NEVERHOOD: More work on Scene1001/Klayman
- Looking through the open window now works (mostly).
2013-05-08 20:38:47 +02:00
johndoe123
ed863b65b5 NEVERHOOD: More work on Scene1001/Klayman
- The button can now be used, but looking at the open window doesn't work yet since game variables aren't implemented yet.
2013-05-08 20:38:46 +02:00
johndoe123
222cd4a651 NEVERHOOD: More work on Scene1001 and Klayman
- Fix a bug in Klayman's walking
- The lever can now be used
- Other stuff is still missing
- Remove entity.cpp since it's not needed
2013-05-08 20:38:46 +02:00
johndoe123
5c69ae21dd NEVERHOOD: More work on Klayman (still eye cancerous code)
- Start to implement KmScene1001
- Implement queryPositionSprite and queryPositionRectList
- Implement message list related code (setting and running them)
- Access to message params now with accessors (so compatible types can be converted)
2013-05-08 20:38:46 +02:00
johndoe123
c694ce8505 NEVERHOOD: More work on Klayman
- Rename Scene::_playerSprite to _klayman
- Send mouse clicks to the scene object (has not effect yet)
2013-05-08 20:30:59 +02:00
johndoe123
3131cc6f18 NEVERHOOD: Implement Klayman::update 2013-05-08 20:30:58 +02:00
johndoe123
88d2759f85 NEVERHOOD: Start with the Klayman class (this is quite some horrible code, also, it doesn't work yet and isn't used yet) 2013-05-08 20:30:58 +02:00