aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/scene.h
AgeCommit message (Collapse)Author
2014-02-18NEVERHOOD: Make GPL headers consisten in themselves.Johannes Schickel
2013-09-27NEVERHOOD: Fix uninitialized members of the Scene class and remove dead code ↵Filippos Karapetis
- CID 1022300
2013-09-14NEVERHOOD: Rename the "room" command to "scene" and enhance itFilippos Karapetis
The naming has been changed from "room" to "scene", in order to keep it consistent with the rest of the engine. The scene command now also displays resource information about the current scene when invoked without parameters
2013-09-14NEVERHOOD: Move StaticScene into scene.h/.cppFilippos Karapetis
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-06-09NEVERHOOD: Add a console command to display the current surfacesFilippos Karapetis
2013-05-08NEVERHOOD: Rename "Klayman" to "Klaymen" (the correct name of the game's hero)johndoe123
2013-05-08NEVERHOOD: Move Scene2804::initCrystalColors() to ↵johndoe123
GameModule::initCrystalColorsPuzzle() - Add Scene::isMessageList2, only used in Scene2101
2013-05-08NEVERHOOD: Clean up DiskplayerScenejohndoe123
- 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-08NEVERHOOD: Merge CollisionMan into Scene classjohndoe123
2013-05-08NEVERHOOD: Rename some CollisionMan methods/fieldsjohndoe123
- Remove fallback detector (I think it's not needed) - Rename Scene insertMouse methods
2013-05-08NEVERHOOD: Add initCubeSymbolsPuzzlejohndoe123
- 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
2013-05-08NEVERHOOD: More work on the menu system:johndoe123
- 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)
2013-05-08NEVERHOOD: Remove Scene::_surfaceFlag which also is obsolete nowjohndoe123
2013-05-08NEVERHOOD: Remove DirtyBackground which became obsolete after the ↵johndoe123
renderqueue stuff
2013-05-08NEVERHOOD: Rename stuff in the Scene class and clean up a littlejohndoe123
- 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
2013-05-08NEVERHOOD: Remove SsScene1002LadderArch and Class599 and turn them into ↵johndoe123
static sprites; the classes were only used to set the sprite surface priority with a message, which is now handled in the scene
2013-05-08NEVERHOOD: Start with Module2500johndoe123
- Implement Scene2501 - Add Scene::removeSprite
2013-05-08NEVERHOOD: Add Module1600 and Scene1608 (stuff will be renamed later)johndoe123
2013-05-08NEVERHOOD: Replace InsertKlayman macros with template functions (still weird ↵johndoe123
but nicer)
2013-05-08NEVERHOOD: Try to cleanup sprite creation with a templated insertSprite ↵johndoe123
function (only in Module1000 so far)
2013-05-08NEVERHOOD: Try to clean up the clipRect stuff a littlejohndoe123
2013-05-08NEVERHOOD: Add Scene::setPalette for simpled palette creation and use itjohndoe123
2013-05-08NEVERHOOD: Merge the three mouse classes into Mouse, introduce ↵johndoe123
insertMouse433 etc. methods and use them
2013-05-08NEVERHOOD: Use InsertKlaymanjohndoe123
2013-05-08NEVERHOOD: Multiple changes to make the game logic code cleaner (hopefully :)johndoe123
- 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-08NEVERHOOD: Implement Scene2201johndoe123
- Implement DataResource::getHitRectList, DataResource::getMessageListAtPos and related stuff in scene.cpp
2013-05-08NEVERHOOD: More work on Module3000 and Scene3009 (incomplete)johndoe123
2013-05-08NEVERHOOD: New modules Module1200, Module1400, Module1700 and Module1800johndoe123
- Implement CollisionMan::removeSprite
2013-05-08NEVERHOOD: Start with Module1200/Scene1201 (not complete yet)johndoe123
- Fix an odd bug with the game variables (index of newly added subvar was sometimes -1)
2013-05-08NEVERHOOD: Implement Scene1004johndoe123
- Module1000 is now almost complete
2013-05-08NEVERHOOD: Implement MouseCursorResource and Mouse433 mouse cursorjohndoe123
2013-05-08NEVERHOOD: More work on Klayman (still eye cancerous code)johndoe123
- 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-08NEVERHOOD: More work on Klaymanjohndoe123
- Rename Scene::_playerSprite to _klayman - Send mouse clicks to the scene object (has not effect yet)
2013-05-08NEVERHOOD: Add StaticData classjohndoe123
2013-05-08NEVERHOOD: Implement SmackerScene, SmackerPlayer and related stuffjohndoe123
- The intro video after the logo screens is now played (still needs better sync)
2013-05-08NEVERHOOD: Start with the Background and DirtyBackground classesjohndoe123
- 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-08NEVERHOOD: More work on Module1500johndoe123
- 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-08NEVERHOOD: Start with Scene and Sprite classesjohndoe123