Commit Graph
32 Commits
Author SHA1 Message Date
Le Philousophe c5e39ab5e3 AGS: Fix int vs int32 discrepancies 2022-05-03 23:36:12 +02:00
Paul Gilbert ec170ebd2f AGS: More strict MarkChanged use for gui controls, on changes only
From upstream 1383ff33eb4620eae18598f96f7e0cc948977174
2022-05-01 17:23:22 -07:00
Paul Gilbert 2df62bdd55 AGS: Only redraw gui controls when they are marked as changed
From upstream 27a6bd6a13494cd670fb6749e5bd663f088487ea
2022-05-01 17:23:19 -07:00
Paul Gilbert 4cab476394 AGS: in String use constant NoIndex instead of nps
From upstream aca0285937f96002b76d61f4c1cc6f3a11242c2c
2022-04-24 16:00:04 -07:00
Paul Gilbert a69197bbe0 AGS: Implemented support for opening assets for reading in script
From upstream e19d343b2d2cda2757d821532de195bd234f49f0
2022-03-20 22:11:53 -07:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert 8998fe9741 AGS: Strip off game Id prefix when loading savegame file list 2021-09-04 16:00:46 -07:00
djsrv dbdb3dcbd4 AGS: Fix String -> Path conversion 2021-08-09 17:47:33 -04:00
djsrv 48ce80a32c AGS: Fix String -> Path conversions 2021-08-07 10:44:37 +02:00
Paul Gilbert b18e00e721 AGS: Implementing the core classes 2021-07-17 15:52:11 -07:00
Thierry Crozat 6227100f8f AGS: Fix regression in FillDirList
This reapply the changes from 8fb9b5f9 to properly list the files
in the game data dir and in the savegame dir.

This for example fixes listing *.tra files in the options in
Kathy Rain.
2021-06-21 21:05:09 +01:00
Paul Gilbert eb1e337edd AGS: Removed String's "const char*" conversion operator
From upstream 7c426674e7e53bffe9120f8ffc059b77fa03a606
2021-06-13 21:08:59 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Thierry Crozat 02c7775465 AGS: More cleaning to ListBox_FillSaveGameList
The code is now closer to the code in the original. Also there
is no need to try to sort the list twice.
2021-04-14 23:54:48 +01:00
Thierry Crozat d1d2f106bb AGS: Sort savegame by decreasing slot number
The original interpreter sorts the savegame from the most recent
to the oldest. We don't have the savegame date in ScummVM, but
sorting by decreasing slot number should approximate this better
than using increasing slot numbers.
2021-04-13 20:42:54 +01:00
Paul Gilbert d9381a9d86 AGS: Fixes for importing character into QFG2 2021-03-20 18:57:13 -07:00
Paul Gilbert 0a305db7ec AGS: Move guimain.cpp globals to Globals 2021-03-12 21:39:16 -08:00
Thierry Crozat 8fb9b5f9d5 AGS: Fix FillDirList implementation
This function is used to list files that match a given pattern.
For example Kathy Rain uses it to list ./*.tra files. The
original engine uses al_findfirst() and al_findnext().
This fixes listing the available languages in the Kathy
Rain in-game options.
2021-03-13 03:28:22 +00:00
Paul Gilbert 887472c8c1 AGS: Moved a lot of game.cpp globals to Globals 2021-02-28 13:27:21 -08:00
Paul Gilbert 334b2a9d48 AGS: Move play to Globals 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
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
Paul Gilbert 1b86461eda AGS: Fix const warnings in macro expansions 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
Paul Gilbert fe46be9223 AGS: Added engine/ac/ folder 2021-02-06 16:37:31 -08:00
Paul Gilbert 9a78e04039 AGS: Beginnings of engine/ inclusion 2021-02-06 16:37:31 -08:00
Paul Gilbert a7a9ca0543 AGS: Adding AGS3 namespace to cpp files 2021-02-06 16:37:31 -08:00
Paul Gilbert d8e471b03c AGS: Changing Common namespace to Shared 2021-02-06 16:37:31 -08:00
dreammaster 8026e4bb30 AGS: Run astyle formatting 2021-02-06 16:37:31 -08:00
Paul Gilbert bd6a58d1a1 AGS: Adding ScummVM comment headers 2021-02-06 16:37:31 -08:00
Paul Gilbert a60d290a08 AGS: Initial addition of engine/ and shared/ folders 2021-02-06 16:37:31 -08:00