Commit Graph

719 Commits

Author SHA1 Message Date
Willem Jan Palenstijn
c5f67ac471 WAGE: Improve error message 2017-12-08 11:41:32 +00:00
Willem Jan Palenstijn
c6c39d5578 WAGE: Handle null strings in toString and improve consistency 2017-12-08 11:41:32 +00:00
Willem Jan Palenstijn
f35cb961f2 WAGE: Avoid calling method of nullptr 2017-12-08 11:41:32 +00:00
Colin Snover
257a99bdb8 Revert "WAGE: Fix crashes for poorly initialized objects"
This reverts commit ea0fb987e0.

This issue was discovered during a full build of ScummVM using
Clang 5.

It is UB to call a null pointer. Whatever caller is trying to do
so needs to be fixed instead.
2017-12-08 11:41:32 +00: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
Eugene Sandulenko
6a5aa12bfa WAGE: Update Parrot Talk games status 2017-08-30 09:06:20 +02:00
Eugene Sandulenko
31eb4724d3 WAGE: Correctly specify target name for dumped scripts 2017-08-29 20:15:19 +02:00
Eugene Sandulenko
5eaa48ec96 WAGE: Dump scripts by request 2017-08-29 19:21:20 +02:00
Eugene Sandulenko
b5c552b3bb WAGE: Quit gracefully when requested 2017-08-29 09:33:44 +02:00
Eugene Sandulenko
58fb345b3e WAGE: Since the sounds are blocking, made the sound handle global 2017-08-29 09:33:44 +02:00
Eugene Sandulenko
d0082982d5 WAGE: Make sound blocking 2017-08-29 09:33:44 +02:00
Eugene Sandulenko
90aca034df WAGE: Properly set the character when player is not defined 2017-08-28 19:13:49 +02:00
Eugene Sandulenko
853ad19934 WAGE: Update games status 2017-08-25 21:55:33 +02:00
Eugene Sandulenko
265fc48d15 WAGE: Do something when player is not defined instead of crashes 2017-08-24 09:25:25 +02:00
Eugene Sandulenko
7cf83cab6a WAGE: Update status of The Phoenix game 2017-08-24 09:06:24 +02:00
Eugene Sandulenko
fd1ea78b35 WAGE: Read rectangles sanely 2017-08-24 08:53:08 +02:00
Eugene Sandulenko
59bc70299e WAGE: Fake input text when using shortcuts 2017-08-24 08:45:26 +02:00
Eugene Sandulenko
5e9b72fbd9 WAGE: Do not dump the interpreter code 2017-08-22 10:25:00 +02:00
Eugene Sandulenko
05616ca2ee WAGE: Added detection from the alt version of Mormonoids 2017-08-22 00:05:46 +02:00
Eugene Sandulenko
97ed6a2af7 GRAPHICS: MACGUI: Pass command id when creating menu to avoid namespace clashes
This fixes Command menu in WAGE.
2017-08-21 19:40:05 +02:00
Eugene Sandulenko
2354c9de12 WAGE: Do not error on unprintable characters.
Makes Swamp Witch start
2017-08-18 19:13:22 +02:00
Eugene Sandulenko
c33637769e WAGE: Added more games to detection 2017-08-17 09:38:00 +02:00
Eugene Sandulenko
72f4a7a116 WAGE: Added more alternative game versions 2017-08-17 09:38:00 +02:00
Eugene Sandulenko
adae2eee0e WAGE: Added detection for two more games 2017-08-17 09:38:00 +02:00
Eugene Sandulenko
b1e036c326 WAGE: Added alternative version of Fred Rogers game 2017-08-17 09:37:59 +02:00
Eugene Sandulenko
e8d27c782e WAGE: Sorted all detection entries to dictionary sort 2017-08-15 21:20:28 +01:00
Eugene Sandulenko
16739d386e WAGE: Increased md5 sum size to 2MB and recalculated all checksums 2017-08-15 21:16:05 +01:00
Eugene Sandulenko
7313de59b6 WAGE: Use new MacTextWindow API for selection cut/clear
This enables multiline selection cutting and clearing.
2017-08-15 19:51:33 +02:00
Eugene Sandulenko
970e4b2e8a WAGE: Add detecton for Mormonoids from the Deep 2017-08-14 23:28:12 +02:00
Eugene Sandulenko
c462fe9ee7 WAGE: Add detection for "James Bond 007" 2017-08-14 23:28:12 +02:00
Eugene Sandulenko
4ca14e2242 WAGE: Turn warning into debug message 2017-08-12 15:02:57 +02:00
D G Turner
3c947754ac WAGE: Fix GCC Compiler Warnings. 2017-08-11 00:55:46 +01:00
Eugene Sandulenko
7e9b8cb513 WAGE: support chr<scene conditionals 2017-08-11 00:45:25 +02:00
Eugene Sandulenko
6541adaa2e WAGE: allow using LET with negative number literals 2017-08-11 00:40:29 +02:00
Eugene Sandulenko
a83dd4c3fc WAGE: Handle command aliases in the same quirky way wb does 2017-08-09 09:28:13 +02:00
Eugene Sandulenko
6fac0ace2c WAGE: Fix crash on sound reuse/game quit 2017-08-08 23:45:26 +02:00
Eugene Sandulenko
82a3088557 WAGE: The command is "inven" 2017-08-08 23:45:26 +02:00
Eugene Sandulenko
bca79db96b WAGE: Set default values for DITL messages 2017-08-08 23:45:26 +02:00
Eugene Sandulenko
d7778dc182 WAGE: Initial stub for updateSoundTimerForScene() 2017-08-08 11:25:55 +02:00
Eugene Sandulenko
d31628cb37 WAGE: Play sounds 2017-08-08 11:25:55 +02:00
Eugene Sandulenko
0e2d14ac41 GRAPHICS: MACGUI: Initial code for Cutting/Paste multiline input texts 2017-08-08 11:25:55 +02:00
Eugene Sandulenko
742a7fbb2c WAGE: Resize console window for new scene (restore lost functionality) 2017-08-07 13:06:12 +02:00
Eugene Sandulenko
a00ca84bdb WAGE: Implement Gui::clearOutput() 2017-08-05 23:50:45 +02:00
Eugene Sandulenko
fe88fab431 WAGE: Mark Gui::clearOutput() as stub 2017-08-05 00:29:28 +02:00
Eugene Sandulenko
b60e2eb89b WAGE: Remove all old console code
Now we have fully switched to MacTextWindow. Yay!
2017-08-05 00:27:12 +02:00
Eugene Sandulenko
2feeefaed3 WAGE: Implemented Cut and Clear actions over MacTextWindow 2017-08-05 00:06:22 +02:00
Eugene Sandulenko
532af0bb60 WAGE: Use MacTextWindow for Undo and Paste 2017-08-04 21:54:20 +02:00
Eugene Sandulenko
951244ac3f WAGE: Use MacTextWindow code for copying to clipboard 2017-08-04 21:54:20 +02:00
Eugene Sandulenko
afb664df29 GRAPHICS: MACGUI: Made selection affecting the MacMenu 2017-08-04 21:54:20 +02:00
Eugene Sandulenko
db38a36369 WAGE: Remove redundant call 2017-08-04 21:54:20 +02:00