1422 Commits

Author SHA1 Message Date
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
Johannes Schickel
30d64edac4 ALL: Make Debugger command function names conform to our guidelines. 2014-05-27 02:04:08 +02: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
D G Turner
0844ba0dde PARALLACTION: Remove leftover "debugLevel" command prototype. 2014-05-10 19:02:50 +01:00
Max Horn
4d02f67bd1 ALL: Resolve multiple clang warnings 2014-03-30 14:38:02 +02:00
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
56a99b1d37 PARALLACTION: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01: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
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner
d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
Strangerke
b603ea0223 PARALLACTION: Janitorial - Fix spacing errors 2013-11-24 01:40:35 +01:00
Eugene Sandulenko
38d02d1687 PARALLACTION: Initialize class. CID 1002753 2013-11-09 13:22:57 +02:00
Eugene Sandulenko
ee9b4c979a PARALLACTION: Initialize variable. CID 1002725 2013-11-09 13:21:25 +02:00
Eugene Sandulenko
234f3f3150 PARALLACTION: Initialize class variable. CID 1002724 2013-11-09 13:20:13 +02:00
Eugene Sandulenko
bcd65f854f PARALLACTION: Initialize class. CID 1002721 2013-11-09 13:18:54 +02:00
Eugene Sandulenko
4decd8c808 PARALLACTION: Initialize class variable. CID 1002715 2013-11-09 13:17:30 +02:00
Eugene Sandulenko
9cf199cb42 PARALLACTION: Initialize class variables. CID 1002708 2013-11-09 13:15:47 +02:00
Eugene Sandulenko
c9ae0a46dd PARALLACTION: Initialize class variables. CID 1002707 2013-11-09 13:13:56 +02:00
Eugene Sandulenko
d74585b344 PARALLACTION: Initialize class. CID 1002706 2013-11-09 13:12:06 +02:00
Eugene Sandulenko
918ae371a0 PARALLACTION: Initialize class. CID 1002705 2013-11-09 13:09:30 +02:00
Eugene Sandulenko
c7331eea02 PARALLACTION: Initialize class. CID 1002703 2013-11-09 13:06:55 +02:00
Eugene Sandulenko
8c21b5cdd4 PARALLACTION: Initialize class. CID 1002702 2013-11-09 13:05:42 +02:00
Eugene Sandulenko
c8bf090327 PARALLACTION: Initialize class. CID 1002701 2013-11-09 13:04:08 +02:00
Eugene Sandulenko
8484b4b148 PARALLACTION: Make sure overridden methods are not used. Fixes compiler warning 2013-11-03 12:20:40 +02:00