Commit Graph
20 Commits
Author SHA1 Message Date
Johannes Schickel 6563171e7b NEVERHOOD: Make GPL headers consisten in themselves. 2014-02-18 02:39:36 +01:00
Torbjörn Andersson 9754be2d07 NEVERHOOD: Tiny cleanup 2014-01-06 22:29:32 +01:00
Sven Hesse 989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
johndoe123 78e0d6a3f1 NEVERHOOD: Move module files to own subdirectory 2013-05-08 20:49:19 +02:00
johndoe123 eea9dbe2da NEVERHOOD: Minor renaming and cleanup 2013-05-08 20:47:40 +02:00
johndoe123 a98d9aa58a NEVERHOOD: Clean up DiskplayerScene
- Enable return to launcher
- Remove obsolete comments
- Remove braces in single-line statements
- Remove unused non-transparent drawing code in BaseSurface::copyFrom
- Clean up mouse cursor insertion code in Scene class
2013-05-08 20:47:39 +02:00
johndoe123 0f1aa64fd0 NEVERHOOD: Add support for the demo version
- Remove debug resource dumping code
- Fix Scene1501 (pictures without sound weren't displayed/too fast)
- Move main loop to mainLoop method
2013-05-08 20:47:38 +02:00
johndoe123 9b7bb71dd9 NEVERHOOD: Simplify code and rename things
- Add Module::createStaticScene to simplify creation of static scenes
  (and use it in the relevant places)
- Rename Class545 to AsCommonKey and rename related variables
- Rename stuff in Module2200
2013-05-08 20:43:48 +02:00
johndoe123 236ca705e8 NEVERHOOD: Add Module1600 and Scene1608 (stuff will be renamed later) 2013-05-08 20:39:41 +02:00
johndoe123 3872efe2a5 NEVERHOOD: Start with Module1100 and add Scene1105 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 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 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 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 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 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 3c82668fe4 NEVERHOOD: More work on Module1500
- Implement Scene1501 (with yet unimpelemented stuff commented out)
- Add preliminary main loop to test stuff/updates
- Add dummy SoundResource
- And fix a mean bug/typo in some initializer lists...
(The intro now "runs" but doesn't show anything yet since the actual display code and other classes are not yet implemented yet.)
2013-05-08 20:30:57 +02:00
johndoe123 4a01a69e37 NEVERHOOD: Start with Module and GameModule classes 2013-05-08 20:30:57 +02:00