Commit Graph

35 Commits

Author SHA1 Message Date
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
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
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
d4030b7a9f NEVERHOOD: Start with Module1300 and implement Scene1302 2013-05-08 20:39:37 +02:00
johndoe123
50996201f4 NEVERHOOD: Very small cleanup 2013-05-08 20:39:36 +02:00
johndoe123
e177dcf911 NEVERHOOD: Implement Scene2205 2013-05-08 20:39:35 +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
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
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
626cea6d1c NEVERHOOD: Implement Mouse435 2013-05-08 20:38:47 +02:00
johndoe123
9f6e6c6f7f NEVERHOOD: Implement MouseCursorResource and Mouse433 mouse cursor 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
6d81ef0199 NEVERHOOD: Implement game vars 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
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
johndoe123
5a34d20ec8 NEVERHOOD: More work on Scene1001, also give sprites classes and vars some better names 2013-05-08 20:30:58 +02:00
johndoe123
e6236a3978 NEVERHOOD: Add transparency and x flipping to sprite drawing (flip y still TODO but rarely used)
- Add Class511 (the lever) to Module1000
2013-05-08 20:30:58 +02:00
johndoe123
97f319c945 NEVERHOOD: More work on Scene1001, implement Class509 (yes, will be renamed later) and AnimResource related stuff 2013-05-08 20:30:58 +02:00
johndoe123
056b69f0c8 NEVERHOOD: Module1000 and Scene1001 skeletons
- Implement BaseSurface::drawSpriteResourceEx
- Use CollisionMan in Scene
- Some cleanup
2013-05-08 20:30:58 +02:00
johndoe123
9d0e90bcd2 NEVERHOOD: Add skeleton for Module1000
- Add dummies for game variable access
2013-05-08 20:30:58 +02:00