Commit Graph
1449 Commits
Author SHA1 Message Date
Eugene Sandulenko bd49883a7a PARALLACTION: Mark Big Red Adventure as unstable 2020-11-28 17:41:23 +01:00
Eugene Sandulenko b495b65a23 PARALLACTION Use macros in detection table 2020-11-28 17:41:23 +01:00
Eugene Sandulenko 7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko 7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +02:00
aryanrawlani28 d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28 a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
2020-10-03 14:56:36 +02:00
aryanrawlani28 29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28 f3b9477893 ENGINES: ALL: Add header guards for the new detection-header files. 2020-10-03 14:56:36 +02:00
aryanrawlani28 78dd712a1c PARALLACTION: Adapt to new detection modules and misc changes.
- Move common enums into detection_enums.h
- Make a new module for detection. See previous commit notes for more info.
2020-10-03 14:56:36 +02:00
aryanrawlani28 d3f164698a PARALLACTION: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Cameron Cawley d20122d916 PARALLACTION: Fix assert when starting The Big Red Adventure 2020-09-11 09:05:05 +01:00
aryanrawlani28 8309b98e66 PARALLACTION: Create saveload dialogs & message dialogs with U32. 2020-08-30 14:43:41 +02:00
aryanrawlani28 e22b32abfe GUI: U32: Use Common::U32String::format where necessary and GUIError to u32
- Where necessary as in, where translated messages are used.
- GUIErrorMessage now takes in U32String
- error messages across some engines use U32Strings. they are changed because they show a message dialog.
2020-08-30 14:43:41 +02:00
aryanrawlani28 bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
mataniko 581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
mataniko 06242a712b JANITORIAL: Rename EVENT_RTL
Now that ScummVM is adding RTL support, the EVENT_RTL should be disambigious that it is for returning to launcher
2020-05-12 10:36:38 +02:00
Henrik "Henke37" Andersson faa8bea5cb PARALLACTION: Debugger, call base preEnter & postEnter 2020-05-10 23:39:31 +02:00
Eugene Sandulenko 50aace7179 PARALLACTION: Fix potential undefined behaviour 2020-04-30 14:26:53 +02:00
Eugene Sandulenko 34ed51e33e PARALLACTION: Fix buffer overrun 2020-04-30 14:24:34 +02:00
Paul Gilbert e8dc9b3747 PARALLACTION: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet e303937592 PARALLACTION: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko 9b6a4c8ba7 PARALLACTION: Added override keywords 2020-02-05 16:01:52 +01:00
Paul Gilbert 5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
D G Turner b5a4adf9d2 PARALLACTION: Use Advanced Detector LISTEND Macro in Detection Entries 2019-12-04 05:03:58 +00:00
Bastien Bouclet 9c8bd056d6 ENGINES: Stop using 'single id' 2019-11-03 11:43:00 +01:00
Bastien Bouclet 4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
D G Turner deb6dc5357 PARALLACTION: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-20 21:15:43 +01:00
Colin Snover 481b608c51 PARALLACTION: Replace use of strdup with Common::String & malloc 2018-08-18 16:30:05 +02:00
Colin Snover 8da86418bf PARALLACTION: Fix use-after-free on quit
Parallaction::_gfx is referenced by objects destroyed when
Parallaction::_input is destroyed so it cannot be destroyed first.
2018-08-01 16:44:51 +01:00
Colin Snover 69df2e2d0e PARALLACTION: Fix null pointer dereference on quit 2018-08-01 16:44:51 +01:00
Colin Snover 8f7f7a9c2b PARALLACTION: Fix invalid array access at dialogue selection
Also removes an unnecessary second condition check for oldAnswer
by moving that closer to its point of use.
2018-08-01 16:44:51 +01:00
Colin Snover 432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Ben Castricum e95c2cc3ff ALL: save file => saved game 2016-11-29 21:10:59 +01:00
Eugene Sandulenko f151845e68 PARALLACTION: Fix object initialization 2016-05-30 19:32:49 +02:00
Eugene Sandulenko 6eba4dd363 PARALLACTION: More string safety 2016-05-30 19:32:49 +02:00
Eugene Sandulenko 506549ae45 PARALLACTION: Safer string manipulation 2016-05-28 15:26:31 +02:00
Eugene Sandulenko b16c5439b0 PARALLACTION: Cleanup object initialization 2016-05-28 15:26:31 +02:00
Eugene Sandulenko 33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past
we used simly <engine>_H. Now these guard defines are consistent with
rest of the files which are used in the engines.
2016-05-17 18:21:30 +02:00
Eugene Sandulenko 8a3b57803f PARALLACTION: Use Common::strlcpy instead of strncpy as suggested by LordHoto 2016-05-04 23:57:34 +02:00
Eugene Sandulenko 5cfbb176e7 PARALLACTION: Use strncpy 2016-05-04 21:15:58 +02:00
Eugene Sandulenko d5b4f8ee7e PARALLACTION: Init class variables 2016-05-04 21:15:58 +02:00
Ori Avtalion 253e18c440 JANITORIAL: Reduce GUI header dependencies 2016-04-14 13:30:14 +03:00
Johannes Schickel 0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Johannes Schickel c5f4197fd0 PARALLACTION: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Thierry Crozat 181c12ba8f PARALLACTION: Translate buttons in load and save dialogs. 2016-02-20 21:08:34 +00:00
Johannes Schickel fe943e04e3 PARALLACTION: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Eugene Sandulenko e9dcc87d7c PARALLACTION: Clarify source for the binary blob 2016-01-22 17:57:17 +01:00
Matthew Hoops bed9da8b9d AUDIO: Remove all AudioStream access to OPL 2015-07-07 20:19:47 -04:00
Matthew Hoops b638efe0fa PARALLACTION: Use the built-in OPL timer 2015-07-07 20:19:43 -04:00
Matthew Hoops 2e8f9dcec9 AUDIO: Remove the sample rate configuration from the OPL code 2015-07-07 20:19:42 -04:00