Commit Graph

65 Commits

Author SHA1 Message Date
Thierry Crozat
282ee9ad97 AGS: Fixing more trivial warnings
From upstream 83f7d9857e70f7d1d10fedf61196740d20ba0b0a
2022-06-18 01:08:54 +01:00
Paul Gilbert
d385968209 AGS: Tidy up mobile config once more and get rid of psp_* variables
From upstream 4ba8fbed2f16786e86f201f57fdaaa91cc887700
2022-05-05 22:41:10 -07:00
Paul Gilbert
b1649597d7 AGS: Replaced Math/std Min/Max with ScummVM macros
Inspired by 6dee5ee6f271c600e30879d892295ea6069e8cc9
2022-05-05 22:41:10 -07:00
Paul Gilbert
21ab95f5ab AGS: Remove RegisterGameWithGameExplorer()
From upstream 1554207f04dc6999994d02956587b302bb56f858
2022-04-29 22:20:39 -07:00
Paul Gilbert
a6f42ad1ab AGS: Fixing various "unused va/arg" warnings + removed empty funcs
From upstream 61771ecd638338806c40d0da2bf1addea06cac90
2022-04-25 21:44:40 -07:00
Paul Gilbert
7fb5f6d21a AGS: Support option for software renderer's output driver
From upstream d45f77548675f06056143d6989929870338b34a1
2022-04-21 21:31:00 -07:00
Paul Gilbert
5060848b48 AGS: Support requesting particular audio driver
From upstream 076e675a3d031cd0a9d162f914e6d94c93a10d71
2022-04-21 21:20:58 -07:00
Paul Gilbert
8d8b786079 AGS: Don't mkdirs in the platform driver, return FSLocation instead
From upstream 13312e9a1d3a427f49ccfe4e78f7d0736123a809
2022-03-31 20:04:43 -07:00
Paul Gilbert
c4e7bd355b AGS: Distinct "real fullscreen" and "desktop fullscreen" window mode
From upstream e7763cea241d46e360ed48dcb07bc8c75e591a8c
2022-03-22 22:30:13 -07:00
Paul Gilbert
83c785cf22 AGS: Slightly more clear platform driver init/exit steps
From upstream b539f0c5c57514fb77875b4d15fc623e0251de52
2022-03-20 22:11:56 -07:00
D G Turner
649ad6f9a6 AGS: Remove Duplicate Definition from Allegro System Header
This was causing GCC warnings when -Wduplicated-branches was defined.
2022-03-02 09:57:27 +00:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Thierry Crozat
0ce133c5ca AGS: Fix restarting AGS games after returning to the launcher
The AGSPlatformDriver has an 'instance' static member variable
that was not rest to nullptr when the driver is deleted. This
caused trying to use a deleted driver when restarting an AGS
game after returning to the launcher.

This commit is a quick fix that properly sets this variable to
nullptr when the driver is deleted, but we may want to look
at the possibility to remove this variable altogether.
2021-08-31 17:32:33 +01:00
Paul Gilbert
d450abb40b AGS: Properly destroy platform driver on exit 2021-08-20 20:36:55 -07:00
Max Horn
b7e6d61669 JANITORIAL: Fix compiler warnings about unused code 2021-08-07 10:46:14 +02:00
Paul Gilbert
4cda750621 AGS: Add Emscripten as a core platform
From upstream 269e72f3f3319efe1b87122ee2809936b5eafbc8
2021-06-27 09:39:52 -07:00
Paul Gilbert
58202e1839 AGS: Fix window resolutions for game width > 1000 2021-06-16 18:59:23 -07:00
Cameron Cawley
9b348b3e7d AGS: Fix more type mismatches 2021-06-16 13:03:41 +01:00
Paul Gilbert
b104d78888 AGS: Enabling disabled blocks, and making ScummVM needed changes 2021-06-13 21:08:50 -07:00
Paul Gilbert
701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Thierry Crozat
040ee8857c AGS: Pretend to be on Windows rather than Linux.
This fixes missing rain in Gemini Rue for example. See
https://github.com/adventuregamestudio/ags/issues/81
for more information on this issue.
a
2021-03-25 22:32:45 +00:00
Paul Gilbert
8f252e4da2 AGS: Move agsplatformdriver.cpp globals to Globals 2021-03-13 21:34:55 -08:00
Paul Gilbert
40a283def9 AGS: Rename Linux platform driver to ScummVMPlatformDriver 2021-03-13 11:13:48 -08:00
Paul Gilbert
f758d84fe8 AGS: Remove unused platforms 2021-03-13 11:12:41 -08:00
Paul Gilbert
80cb4183eb AGS: Move allegro error globals to Globals 2021-03-13 11:12:41 -08:00
Paul Gilbert
2f094655f1 AGS: Move script_runtime.cpp globals to Globals 2021-03-12 20:59:14 -08:00
Paul Gilbert
f8eb923d25 AGS: Moved cdaudio.cpp globals to Globals 2021-03-12 19:41:09 -08:00
Paul Gilbert
2d82d32577 AGS: Move draw.cpp globals to Globals 2021-03-09 21:14:02 -08:00
Paul Gilbert
fd7116d342 AGS: Move mousew32.cpp globals to Globals 2021-03-08 21:12:00 -08:00
Paul Gilbert
f05ad88320 AGS: Move gui.cpp globals to Globals 2021-03-08 18:41:26 -08:00
Paul Gilbert
37b563ef35 AGS: Move game globals to Globals 2021-03-07 19:23:24 -08:00
Paul Gilbert
34c86ce1a1 AGS: Removal of commented out includes 2021-03-06 19:43:13 -08:00
Paul Gilbert
e81f87769d AGS: Remove deprecated code from AGSLinux 2021-03-06 15:11:38 -08:00
Paul Gilbert
ae9a824fba AGS: Fix text strings changed in game search & replace 2021-02-27 15:31:34 -08:00
Paul Gilbert
1a8ae27b58 AGS: Move game & spriteset into Globals 2021-02-26 21:28:53 -08:00
Thierry Crozat
8e3376306a AGS: Use translation file from ConfMan if available 2021-02-18 22:17:03 +00:00
Paul Gilbert
cd017a73c7 AGS: Revert Standardization of number types
This reverts commit a96422af52.
2021-02-16 19:45:02 -08:00
Paul Gilbert
a96422af52 AGS: Standardization of number types
This not only simplifies all the use of _t types to the
ScummVM equivalents, it gets rid of the int32 usage in
favor of just int, solving common type clashes with the
Amiga, for which int doesn't match int32
2021-02-13 11:38:55 -08:00
Ori Avtalion
8f1edbb295 AGS: Remove extra newlines from debug messages 2021-02-11 20:43:32 +02:00
Cameron Cawley
ff276f88ff AGS: Refactor audio code 2021-02-08 18:03:22 -08:00
Cameron Cawley
fcb3d6af83 AGS: Remove DirectX video playback code 2021-02-07 09:23:27 -08:00
Cameron Cawley
369659fb72 AGS: Rename GFX_XWINDOWS to GFX_SCUMMVM 2021-02-07 08:13:21 -08:00
Paul Gilbert
cc123913f4 AGS: Change a bunch of int to be explicitly int32_t & uint32_t
This should solve the errors on some systems where int didn't
match int32
2021-02-06 20:13:05 -08:00
Paul Gilbert
8d62c2faf6 AGS: Change Allegro error codes to avoid clash on some systems 2021-02-06 19:14:48 -08:00
Paul Gilbert
f1830f63d7 AGS: SHow GUI error dialog for unsupported games 2021-02-06 16:37:31 -08:00
Paul Gilbert
d6b8c21557 AGS: Merged engine/plugin/ into plugins/ folder 2021-02-06 16:37:31 -08:00
Paul Gilbert
6da17f421b AGS: Matching keycodes to Allegro in original 2021-02-06 16:37:31 -08:00
Paul Gilbert
7089339362 AGS: Implemented keyboard/mouse event handlers 2021-02-06 16:37:31 -08:00
Paul Gilbert
cb88fc7a92 AGS: Added platform driver 2021-02-06 16:37:31 -08:00
Paul Gilbert
69b6cfab29 AGS: Move std/ folder into lib/ 2021-02-06 16:37:31 -08:00