Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
this fixes a nasty bug in several scenes which use message lists from a DataResource
|
|
|
|
GameModule::initCrystalColorsPuzzle()
- Add Scene::isMessageList2, only used in Scene2101
|
|
- 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
|
|
|
|
- Remove fallback detector (I think it's not needed)
- Rename Scene insertMouse methods
|
|
|
|
- Add microtiles to the screen update to eliminate overdraw
(microtiles code taken from the Toltecs engine)
- Fix sprite dimensions in AsScene1402PuzzleBox which caused a crash
- Fix screen shaking in Scene1402
(the puzzle box and bridge parts now shake along :)
- Use addSoundItem/addMusicItem in the SoundMan instead of
directly using push_back on the resp. arrays
- Remove old code and comments
|
|
- Add handling of ascii and system key input
- Fix TextSurface::drawChar()
- Pause audio when entering the menu, resume it again afterwards
- Add TextEditWidget
- Add SaveGameMenu (doesn't actually save anything yet and needs more work)
|
|
- Clear render queue at each scene initiailization
- Fix mouse cursor visibility (again :)
- Fix SmackerScene screen clearing
|
|
|
|
renderqueue stuff
|
|
|
|
- Only update entities according to the current frame rate but run the actual game loop at a faster rate so the mouse cursor movement doesn't get choppy
|
|
- Try to stay close to the actual frame rate
- Also use the Smacker frame rate when a video is playing to
keep videos in sync with the audio
|
|
static sprites; the classes were only used to set the sprite surface priority with a message, which is now handled in the scene
|
|
Sounds and music play now in some scenes
(I didn't change the comments to code in all modules yet)
- Fix calcHash to ignore non-alphanumeric characters, this fixes at least
one animation glitch (when inserting tapes into the player)
- Move SoundResource to sound.cpp
|
|
- Implement Scene2501
- Add Scene::removeSprite
|
|
- Started replace message numbers with constants
- Add NRect::contains
- Some cleanup
|
|
|
|
- Also fix some bugs regarding a missing parameter to setMessageList in various scenes
|
|
but nicer)
|
|
|
|
insertMouse433 etc. methods and use them
|
|
- 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
|
|
- Load SceneInfo140 from neverhood.dat
- Some renaming
|
|
- Implement DataResource::getHitRectList, DataResource::getMessageListAtPos and related stuff in scene.cpp
|
|
|
|
- Move GameModule::startup call into engine instead of the game module constructor
- Reduce debug output
|
|
- Implement CollisionMan::removeSprite
|
|
- Fix an odd bug with the game variables (index of newly added subvar was sometimes -1)
|
|
- Module1000 is now almost complete
|
|
|
|
- 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
|
|
- 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
|
|
|
|
|
|
- The button can now be used, but looking at the open window doesn't work yet since game variables aren't implemented yet.
|
|
- 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
|
|
- 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)
|
|
- Rename Scene::_playerSprite to _klayman
- Send mouse clicks to the scene object (has not effect yet)
|
|
- Implement BaseSurface::drawSpriteResourceEx
- Use CollisionMan in Scene
- Some cleanup
|
|
- The intro video after the logo screens is now played (still needs better sync)
|
|
- 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
|
|
- 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
|
|
|