100 Commits

Author SHA1 Message Date
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
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Filippos Karapetis
c5d78ecd63 LAB: Allow saving/loading in animated scenes - bug 2016-02-08 00:19:06 +02:00
Filippos Karapetis
eb97c05ccc LAB: Merge all the different scene restoring code after saving/loading 2016-02-08 00:19:05 +02:00
Filippos Karapetis
f3cdd217ba LAB: Get rid of _interfaceOff 2016-01-15 21:03:58 +02:00
Filippos Karapetis
afa75b7047 LAB: Separate the interface from the event manager 2016-01-15 21:03:57 +02:00
Filippos Karapetis
46fdd5e7a4 LAB: Clean up the trial warning handling code 2016-01-14 23:41:35 +02:00
Filippos Karapetis
e8d1100fec LAB: Allow the game to be launched from the GAME folder
The FONTS folder is pretty much useless, so if a user points ScummVM
to the GAME folder, handle the game files properly
2016-01-14 23:41:34 +02:00
Filippos Karapetis
463f889447 LAB: Rename the members of the CrumbData struct
This helps to distinguish them from the LabEngine variables
2016-01-14 23:41:29 +02:00
Filippos Karapetis
d76fe85af4 LAB: Prevent duplicate processing of input 2016-01-11 01:50:11 +02:00
Filippos Karapetis
38df43fe55 LAB: Prevent excessive screen updates when checking for events 2016-01-11 01:50:10 +02:00
Filippos Karapetis
f6e42a7282 LAB: Simulate events by setting an unused key 2015-12-28 01:59:17 +02:00
Filippos Karapetis
5c75ac9898 LAB: Fix loading from the GMM and warping to rooms from the console 2015-12-28 01:04:28 +02:00
Filippos Karapetis
3977a7ffa1 LAB: Add support for saving and loading games from the GMM 2015-12-27 23:22:54 +02:00
Filippos Karapetis
c5f5fbc208 LAB: Refactor the music code 2015-12-27 21:16:43 +02:00
Filippos Karapetis
3215d14e82 LAB: Rename TilePuzzle to SpecialLocks, to better reflect its purpose
This class handles two different special locks, the tile puzzle and
the combination door
2015-12-27 01:42:45 +02:00
Filippos Karapetis
6910a3b269 LAB: Implement changeVolume() 2015-12-26 13:03:26 +02:00
Willem Jan Palenstijn
0d97d1af82 LAB: Avoid manual memory management of CloseData 2015-12-24 20:28:57 +01:00
Filippos Karapetis
8b45875e24 LAB: Get rid of _screenImage
Thanks to wjp for finding this
2015-12-24 13:00:10 +02:00
Strangerke
5b3380c6e6 LAB: Initialize some variables in constructor 2015-12-24 07:47:46 +01:00
Filippos Karapetis
70ec11d260 LAB: Change the direction and map door defines into enums 2015-12-23 22:59:59 +02:00
Filippos Karapetis
29d85c8d50 LAB: Use int in for loops, instead of uint16 2015-12-23 21:43:17 +01:00
Strangerke
34b59256fc LAB: Replace g_system by _system 2015-12-23 21:43:16 +01:00
Filippos Karapetis
f7395ba0ab LAB: Rewrite the action message functionality (_doNotShowMessage) 2015-12-23 21:43:16 +01:00
Filippos Karapetis
333d553716 LAB: Add a console, with two new commands (scene and scene_resources) 2015-12-23 21:43:16 +01:00
Strangerke
be4c436dca LAB: Move event update functions out of updateMusic 2015-12-23 21:35:34 +01:00
Strangerke
02b606e375 LAB: Avoid to delete _screenImage->_imageData, which causes a crash 2015-12-23 21:35:34 +01:00
Strangerke
46f792d82d LAB: Delete some more variables in LabEngine destructor 2015-12-23 21:35:33 +01:00
Strangerke
fa222f0ca8 LAB: Make string check more readable, remove a useless c_str() 2015-12-23 21:35:32 +01:00
Filippos Karapetis
567ed6a57a LAB: Formatting 2015-12-23 21:35:29 +01:00
Filippos Karapetis
11d16bb34f LAB: Remove some leftover MSVC memory leak tester code 2015-12-23 21:35:29 +01:00
Filippos Karapetis
3e8eaa2c35 LAB: Use Common::String for strings, removing a ton of memory leaks
Also, add a method to properly free room views
2015-12-23 21:35:27 +01:00
Strangerke
21e6f40301 LAB: Fix a regression related to random number generation, some renaming 2015-12-23 21:34:04 +01:00
Strangerke
a784e2bd5c LAB: Finally get rid of g_lab 2015-12-23 21:34:03 +01:00
Strangerke
974740d307 LAB: Some renaming in LabEngine 2015-12-23 21:34:03 +01:00
Strangerke
ad54a75b85 LAB: Add _vm to Image class 2015-12-23 21:34:03 +01:00
Filippos Karapetis
99e09b2ca2 LAB: Merge the different X image maps 2015-12-23 21:34:03 +01:00
Filippos Karapetis
2e09975086 LAB: Simplify the LabEngine destructor 2015-12-23 21:34:03 +01:00
Filippos Karapetis
e994c90d9b LAB: Simplify the crumb wait time code 2015-12-23 21:34:03 +01:00
Filippos Karapetis
2332fb617c LAB: Rename gadget to button 2015-12-23 21:34:03 +01:00
Strangerke
aef304a83b LAB: Some renaming and refactoring in special.cpp 2015-12-23 21:34:01 +01:00
Filippos Karapetis
1b0a7db0b6 LAB: Get rid of getTime(), readBlock() and getRandom()
Also, simplify some time-related functions
2015-12-23 21:34:01 +01:00
Filippos Karapetis
8f5c91ee07 LAB: Move all the tile puzzle related functionality into its own class 2015-12-23 21:34:00 +01:00
Strangerke
2d90f8a08d LAB: Move map function to LabEngine class, some renaming 2015-12-23 21:33:59 +01:00
Eugene Sandulenko
e5f753749f LAB: Reduced dependency on processroom.h. Yay! 2015-12-23 21:33:58 +01:00
Eugene Sandulenko
9af853b6ab LAB: Reduced last reducable header: anim.h 2015-12-23 21:33:58 +01:00
Eugene Sandulenko
66f2935a22 LAB: Reduced header dependency: dispman.h, eventman.h 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
9a9b752c0e LAB: More header dependency redux 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
5fad5cece3 LAB: Reduced header dependency: labsets.h, utils.h 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
8e9798a0bc LAB: Reduce header intra-dependency. Reduced image.h dependency 2015-12-23 21:33:57 +01:00