Commit graph

15 commits

Author SHA1 Message Date
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
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
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
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
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
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
08be9cde7b NEVERHOOD: Implement Scene3010 (door lock) 2013-05-08 20:39:34 +02:00