Commit Graph

47073 Commits

Author SHA1 Message Date
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
04d2b9a402 NEVERHOOD: Add entries for Scene1401, Scene1402 and Scene1705 2013-05-08 20:39:31 +02:00
johndoe123
f162516f25 NEVERHOOD: More work on Scene1201 2013-05-08 20:38:48 +02:00
johndoe123
0632fc7dda NEVERHOOD: Add tables for 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
b1377ab153 NEVERHOOD: Add entries for Module2300 2013-05-08 20:38:48 +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
78365121ea NEVERHOOD: Add NavigationLists in create_neverhood 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
2647778935 NEVERHOOD: Fix crash/corruption in clipped 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
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
be8d542264 NEVERHOOD: Updated tables.h with data from Scene1002 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
78d632b0ed NEVERHOOD: Commit of create_neverhood and neverhood.dat 2013-05-08 20:38:39 +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
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
6b71d17792 NEVERHOOD: Start with the CollisionMan class 2013-05-08 20:30:58 +02:00
johndoe123
ae4ef4e66d NEVERHOOD: Add StaticData class 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
johndoe123
21eb88053c NEVERHOOD: Implement SmackerScene, SmackerPlayer and related stuff
- The intro video after the logo screens is now played (still needs better sync)
2013-05-08 20:30:58 +02:00
johndoe123
bd1749863e NEVERHOOD: Start with the Palette2 class (which needs a better name later)
- Implement Screen::drawSurface2 (needs color key support)
- The first intro now show up, complete with fade-in and fade-out
2013-05-08 20:30:58 +02:00
johndoe123
1285b37b32 NEVERHOOD: Start with the Background and DirtyBackground classes
- Also make related changes in other code
- Call the game module's draw method in the main loop
- Add some more debug output in resource load functions
2013-05-08 20:30:58 +02:00
johndoe123
44ab81eab8 NEVERHOOD: Start with the Screen class, also
- Move common headers used in modules to module.h so they don't have to be explicitly #included in each module header
- Clean up #includes
2013-05-08 20:30:58 +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
f01f9343c8 NEVERHOOD: Start with AnimatedSprite and AnimResource 2013-05-08 20:30:57 +02:00
johndoe123
0614b288cf NEVERHOOD: Add default parameters to StaticSprite constructors 2013-05-08 20:30:57 +02:00
johndoe123
aded2a104b NEVERHOOD: Start with Scene and Sprite classes 2013-05-08 20:30:57 +02:00
johndoe123
ce4ef688b3 NEVERHOOD: Add skeleton for Module1500 (the intro module) 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
johndoe123
eb5ab30ce0 NEVERHOOD: More work on the Palette class 2013-05-08 20:30:57 +02:00
johndoe123
108368e9b5 NEVERHOOD: Add more
- SpriteResource and PaletteResource resource classes
- Extend BaseSurface to be able to draw SpriteResources onto it
- Implement Entity base class (this may need some work concerning the update/message callbacks later since I'm not sure if the way it's done now is portable)
2013-05-08 20:30:57 +02:00