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
Bastien Bouclet
3eb82462e7
ALL: Specify the DisposeAfterUse constructor argument for dynamic memory write streams
2017-09-22 07:06:21 +02:00
Bastien Bouclet
d534299d38
PEGASUS: Don't do virtual calls when fading the screen
...
For better performance.
2017-09-12 20:25:24 +02:00
Bastien Bouclet
1519b2befc
PEGASUS: Free the interface data when destroying the engine
...
Fixes loading a game from the launcher after returning to the launcher.
2017-09-12 20:25:24 +02:00
Bastien Bouclet
8e235f07a7
PEGASUS: Disallow loading / saving from the GMM from inner loops
...
InputDeviceManager::pumpEvents is called from neighborhood classes that
are destroyed when loading.
Don't allow loading from that method to prevent use after free bugs.
2017-09-12 20:25:24 +02:00
Bastien Bouclet
731028460f
PEGASUS: Ignore events occuring while the GUI is visible
...
Otherwise, pressing escape to close the GMM opens the game's own menu.
2017-09-12 20:25:24 +02:00
Bastien Bouclet
64967c6222
PEGASUS: Reset the Pegasus biochip when toggling the shared screen space
...
Fixes a crash to debugger in the following case:
- TSA: Select he Pegasus biochip. The recall button is disabled.
- Select the gas canister in the inventory
- Jump to Norad VI
- Press T to show the Pegasus biochip. The recall button is still
incorrectly disabled. Clicking on it triggers an error.
2017-09-12 20:25:24 +02:00
Bastien Bouclet
6506b95fce
PEGASUS: Call OSystem::updateScreen on each frame
...
Fixes the display of OSD information when toggling fullscreen.
2017-09-12 20:25:24 +02:00
Torbjörn Andersson
70a2ca8b7d
JANITORIAL: Silence more GCC 7 warnings
...
All these fall through were marked as deliberate, so again I've only
changed the comment to silence GCC.
2017-08-06 13:30:51 +02:00
Eugene Sandulenko
940b2a20f1
Revert "COMMON: Change way the Singleton instances are instantiated"
...
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e.
With this patch ConfigManager is broken.
2017-07-10 21:17:41 +02:00
Thierry Crozat
eefa72afa1
COMMON: Change way the Singleton instances are instantiated
...
This fixes tons of warnings with clang from a recent xcode version on
macOS (and possibly other systems) complaining that an instantiation
of _singleton is required but no definition is available.
2017-07-10 21:11:20 +02:00
Ben Castricum
e95c2cc3ff
ALL: save file => saved game
2016-11-29 21:10:59 +01:00
Ben Castricum
6f38c1e55d
ALL: game state => saved game
2016-11-29 20:15:20 +01:00
Eugene Sandulenko
fab199d37e
JANITORIAL: Make GPL headers uniform
2016-09-03 12:46:38 +02:00
Strangerke
fd19d453dd
PEGASUS: Fix some missing variable initializations
2016-06-16 07:59:53 +02:00
Strangerke
df02215957
PEGASUS: Initialize some variables
2016-06-14 07:43:04 +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
4435902f1e
PEGASUS: Add safety check.
...
The code which follows in the method has this check, assuming that
a null dereference is potentially possible.
2016-05-14 11:31:51 +02: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
Eugene Sandulenko
23d74fddb4
CONFIGURE: Introduced new engine dependency: highres
...
Some backends like GCW0 do no support graphics >320x240 due to
the hardware limitation (downscaling is possible but it will ruin
the pixel hunting which is often part of the gameplay).
Instead of manually updating the list of engines, we now introduce
a new dependency.
I marked all relevant engines, but some, like tinsel, require more
work with putting their relevant high-res games under USE_HIGHRES
define.
2016-03-05 14:25:56 +01:00
Matthew Hoops
b6fdc7be88
AUDIO: Make makeAIFFStream return a RewindableAudioStream
...
All callers requiring SeekableAudioStream have been adapted by using dynamic_cast
2015-06-06 17:20:41 -04:00
Filippos Karapetis
60e83c2d9c
PEGASUS: Silence two MSVC warnings
2015-02-15 20:49:16 +02:00
Filippos Karapetis
26588f81b4
PEGASUS: Remove trailing whitespace
2014-10-28 16:17:44 +02:00
Ben Castricum
4cd06dcab7
PEGASUS: Don't try to translate "???"
2014-08-16 12:45:02 +01:00
Matthew Hoops
bf210cccc0
PEGASUS: Fix bad cast that destroys the InputHandler vtable
...
Thanks to LordHoto for his assistance in tracking this nonsense down.
2014-08-14 21:56:33 -04:00
Eugene Sandulenko
a11b52ec11
PEGASUS: Cleanup from unused constants.
...
Agreed with clone2727.
2014-08-09 16:50:45 +02:00
Matthew Hoops
5e6e4fa85f
PEGASUS: Use KP7 and KP9 as alternative keys for the item drawers
...
Based on a patch by Keith Kaisershot (blitter)
2014-06-03 00:49:04 -04:00
Matthew Hoops
c293611f62
PEGASUS: Stop using num lock for a way to open the inventory drawer
2014-06-01 22:38:05 -04:00
Johannes Schickel
ae4ffe01f0
ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd.
2014-05-27 02:04:08 +02:00
Johannes Schickel
daa8d57a86
ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf.
2014-05-27 02:04:07 +02:00
Matthew Hoops
277a712f0b
PEGASUS: Fix a Norad Delta door locked sound
...
Based on a patch by Keith Kaisershot
2014-04-27 21:19:08 -04:00
Keith Kaisershot
cfcd3fd780
PEGASUS: Set volume in more places
2014-04-27 21:12:34 -04:00
Keith Kaisershot
bee65c0b8e
PEGASUS: Fix repeated audio analysis video when leaving after defeating Sinclair
2014-04-27 20:38:57 -04:00
Matthew Hoops
7011e8122e
PEGASUS: Poll for events in more places
...
Based on a patch by Keith Kaisershot (blitter)
2014-04-23 20:33:08 -04:00
Matthew Hoops
850ddc1462
PEGASUS: Fix disabling input when the rip first hits
2014-04-20 12:55:52 -04:00
Matthew Hoops
444c6bd24a
PEGASUS: Reset item state upon starting a new game
2014-04-17 19:29:06 -04:00
Keith Kaisershot
975877b8ed
PEGASUS: Fix Ares flag not getting reset upon jumping to Mars
2014-04-13 23:21:42 -04:00
Matthew Hoops
421aaa1a30
PEGASUS: Fix entering the Mars shuttle with the shield biochip active
2014-04-13 09:54:52 -04:00
Matthew Hoops
a0e3b97bc0
PEGASUS: Disable non-existent hint movie
2014-04-13 09:27:13 -04:00
Matthew Hoops
fb658c3969
PEGASUS: Fix showing save failed dialog when not using the GMM
2014-04-13 09:27:13 -04:00
Matthew Hoops
740b6e8fbd
IMAGE: Move all ImageDecoders to image/
2014-02-28 00:27:28 -05:00
Matthew Hoops
d04667e58a
PEGASUS: Fix being able to use the inventory from the pause screen
...
Somehow, I completely missed implementing this function!
2014-02-26 21:57:38 -05:00
Matthew Hoops
0593f434af
PEGASUS: Force the inventory drawers closed when loading a game
2014-02-23 14:50:02 -05:00
Matthew Hoops
a456295cbd
PEGASUS: Fix returning from Mars after destroying the robot's shuttle
2014-02-11 21:07:34 -05:00
Matthew Hoops
bda64c2b6d
PEGASUS: Fix the prehistoric volcano animations
2013-12-15 23:10:20 -05:00
Matthew Hoops
6477525db0
PEGASUS: Fix regression with Prehistoric AI rules ordering
2013-12-14 11:18:32 -05:00
Matthew Hoops
131b99844b
PEGASUS: Fix the robot timer outside of the shield generator
2013-12-11 23:34:16 -05:00
Matthew Hoops
82a9726e86
PEGASUS: Fix background frame when loading in scenes with random spots
2013-12-08 23:12:16 -05:00
Johannes Schickel
0e017f007a
Merge pull request #375 from digitall/engineAutoPlug
...
RFC: Pluggable Engines #2 (No Python, just evolution of current configure shell and make code)
2013-11-26 02:27:11 -08:00
Matthew Hoops
bb2b1c8dfe
PEGASUS: Reset the callback trigger in disposeCallBack()
...
Fixes the occasional "loop" when finishing the space chase. Thanks to blitter for actually being able to trigger and debug the damned problem
2013-11-24 22:53:55 -05:00