Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-03 | BASE: Remove bad casts between incompatible Plugin types | Colin Snover | |
Previously, a C-style cast was used to convert a Common::Array<Plugin *>, populated with pointers to StaticPlugin and DynamicPlugin instances, to a Common::Array<PluginSubclass<T> *>, but PluginSubclass<T> is a *sibling* class to StaticPlugin/DynamicPlugin, so this cast was invalid and the results undefined. The methods for retrieving subclasses of plugins can't be easily changed to just generate an array of temporary wrapper objects that expose an identical API which dereferences to the preferred PluginObject subclass because pointers to these objects are retained by other parts of ScummVM, so the wrappers would needed to be persisted or they would need to just re-expose the underlying Plugin object again. This indicated that a way to solve this problem is to have the callers receive Plugin objects and get the PluginObject from the Plugin by explicitly stating their desired type, in a similar manner to std::get(std::variant), so that the pattern used by this patch to solve the problem. Closes gh-1051. | |||
2016-05-21 | NEVERHOOD: Reduce audio header dependencies | Ori Avtalion | |
2016-04-15 | NEVERHOOD: Avoid crash in original load/delete game dialogs | Torbjörn Andersson | |
The original game would display a message if you tried to load or delete a game without actually selecting one. At least for now, let's just avoid crashing. | |||
2016-04-15 | NEVERHOOD: Fix bug #7116 ("Crash upon clicking ...") | Torbjörn Andersson | |
Don't crash when clicking a read-only text widget. In the original, the load game dialog's text widget isn't read-only, but since we allow multiple games to have the same name it's probably for the best that we don't quite match the original behavior here. | |||
2016-04-15 | NEVERHOOD: Tiny whitespace fix | Torbjörn Andersson | |
It's bugging me, ok? | |||
2015-10-05 | NEVERHOOD: Don't crash when loading savegames with a high slot ID | Ori Avtalion | |
2015-01-21 | JANITORIAL: Remove unnecessary semicolons | Torbjörn Andersson | |
2014-02-18 | NEVERHOOD: Make GPL headers consisten in themselves. | Johannes Schickel | |
2014-01-06 | NEVERHOOD: Minor adjustment to original load/delete dialogs | Torbjörn Andersson | |
This makes space for one additional savegame slot, giving them the same number of slots as the original save dialog. I can't compare to the original, but it arguably looks better this way. | |||
2014-01-06 | NEVERHOOD: Add mousewheel support to original save/load dialogs | Torbjörn Andersson | |
2014-01-02 | NEVERHOOD: Stop background sounds during credits (bug #6475) | Filippos Karapetis | |
2013-12-28 | NEVERHOOD: Fix quitting via the menu (bug #6474) | Filippos Karapetis | |
2013-12-28 | NEVERHOOD: Close the game menu when pressing the Escape key | Filippos Karapetis | |
2013-12-26 | NEVERHOOD: Add an option to scale the making of videos to full screen | Filippos Karapetis | |
2013-12-25 | NEVERHOOD: Change more message values to enums | Filippos Karapetis | |
2013-12-23 | NEVERHOOD: Add names to some message IDs | Filippos Karapetis | |
2013-10-31 | NEVERHOOD: Fix bug #3615124 - "NEVERHOOD: Music from Credits continues to play" | Filippos Karapetis | |
2013-09-27 | NEVERHOOD: Fix uninitialized member of the TextEditWidget class - CID 1022333 | Filippos Karapetis | |
2013-09-21 | NEVERHOOD: Document two resources used in game menus | Filippos Karapetis | |
2013-09-17 | NEVERHOOD: Implement the music toggle menu button | Filippos Karapetis | |
2013-08-05 | NEVERHOOD: Remove NRect constructor | Max Horn | |
Otherwise, every global variable of type NRect requires a constructor to be run, which can cause portability issue. | |||
2013-07-14 | JANITORIAL: Remove trailing whitespace | Sven Hesse | |
2013-07-03 | NEVERHOOD: Fix save slot selection | Filippos Karapetis | |
My initial suggestion to fix the issue was made in 163023a, which broke the save slot selection logic. The actual save slot selection problem was fixed in commit 2ca36ab | |||
2013-06-28 | NEVERHOOD: Use the ScummVM dialogs for saving/loading | Filippos Karapetis | |
An option has been added to use the original ones, if needed | |||
2013-06-26 | NEVERHOOD: Stop sound updates while the main menu is active | Filippos Karapetis | |
2013-06-15 | NEVERHOOD: Fix 2 off-by-one errors in the savegame slot selection box | Filippos Karapetis | |
2013-06-09 | NEVERHOOD: Add a console command to display the current surfaces | Filippos Karapetis | |
2013-05-08 | NEVERHOOD: Fix issues in the save/load screens | johndoe123 | |
- Add virtual keyboard support in save/load screens | |||
2013-05-08 | NEVERHOOD: Fix some logic bugs and minor changes | johndoe123 | |
- Fix video speed in the very last scene (Scene1317) - Fix back door not opening in Scene1401 - Fix projector not moving in Scene1402 - Fix projector not appearing in Scene1403 - Fix wrong Klaymen walking in Scene2205 - Fix wrong scene change in Module2300 - Fix symbols not appearing in Scene3011 - Define out some remaining logic debug code - Remove some obsolete comments - Reduce debug output - Use a List instead of an Array when building the microtiles rectangles | |||
2013-05-08 | NEVERHOOD: Work on the save/load/delete menus | johndoe123 | |
- Rename WidgetScene to GameStateMenu - Merge common code from the save/load/delete into GameStateMenu | |||
2013-05-08 | NEVERHOOD: Add game-internal savegame delete menu | johndoe123 | |
- Rename Widget::addSprite to Widget::initialize | |||
2013-05-08 | NEVERHOOD: Changed the save/load menu to allow gaps in saved games to ↵ | johndoe123 | |
simplify game deletion | |||
2013-05-08 | NEVERHOOD: Merge some code in the save/load menus | johndoe123 | |
2013-05-08 | NEVERHOOD: Delete all sound/music items on exit | johndoe123 | |
- Minor cleanup | |||
2013-05-08 | NEVERHOOD: Implement game-internal savegame overwrite query screen | johndoe123 | |
- Rename and reorder fields in the Klaymen class | |||
2013-05-08 | NEVERHOOD: Add support for loading/saving games with the game's own menu | johndoe123 | |
- Add LoadGameMenu class | |||
2013-05-08 | NEVERHOOD: Implement restart functionality (from both main menu and game logic) | johndoe123 | |
- Some minor cleanup | |||
2013-05-08 | NEVERHOOD: Change graphic resource draw method to get a Surface instead of ↵ | johndoe123 | |
separate pixels/pitch - Merge SpriteResource::load and load2 | |||
2013-05-08 | NEVERHOOD: Clean up DiskplayerScene | johndoe123 | |
- 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-08 | NEVERHOOD: Merge TextSurface into FontSurface | johndoe123 | |
2013-05-08 | NEVERHOOD: Merge CollisionMan into Scene class | johndoe123 | |
2013-05-08 | NEVERHOOD: Rename some CollisionMan methods/fields | johndoe123 | |
- Remove fallback detector (I think it's not needed) - Rename Scene insertMouse methods | |||
2013-05-08 | NEVERHOOD: A little more work on the menu stuff | johndoe123 | |
2013-05-08 | NEVERHOOD: 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-08 | NEVERHOOD: Add SavegameListBox | johndoe123 | |
2013-05-08 | NEVERHOOD: Add TextLabelWidget (still doesn't do anything) | johndoe123 | |
2013-05-08 | NEVERHOOD: Start with menu widget stuff (doesn't do anything yet!) | johndoe123 | |
2013-05-08 | NEVERHOOD: Add new method StaticSprite::loadSprite and use it instead of ↵ | johndoe123 | |
setting stuff "manually" | |||
2013-05-08 | NEVERHOOD: Make use of NDrawRect::set | johndoe123 | |
2013-05-08 | NEVERHOOD: Rename stuff in Sprite: | johndoe123 | |
- processDelta() to updateBounds() - getRect() to getCollisionBounds() - _drawRect to _drawOffset - _rect to _collisionBounds - _deltaRect to _collisionBoundsOffset |