Commit Graph
137148 Commits
Author SHA1 Message Date
Paul Gilbert 440a14e565 AGS: Tentative draw_lit_sprite implementation 2021-02-06 16:37:31 -08:00
Paul Gilbert ef4d87b28a AGS: Allow plugins onEvent 64-bit pointers 2021-02-06 16:37:31 -08:00
Paul Gilbert 03c7491e18 AGS: Fix compilation of VS 64-bit builds 2021-02-06 16:37:31 -08:00
Paul Gilbert 982a708f0f AGS: Move plugins/ folder into AGS3 namespace 2021-02-06 16:37:31 -08:00
Paul Gilbert 911c54c7e2 AGS: Match the 32-bit PixelFormat to decoded bitmaps
The 32-bit bitmap resources encoded by AGS had ARGB rather
than RGBA (or is it the other way around?). Anyway, this
was what was causing the KQ2 title screen to be all red.
2021-02-06 16:37:31 -08:00
Paul Gilbert e0d5aab805 AGS: Remove redundant virtual keywords when override is present 2021-02-06 16:37:31 -08:00
Thierry Crozat 712c151498 AGS: Fix ReadDialogs for some AGS versions on 64 bit systems 2021-02-06 16:37:31 -08:00
Thierry Crozat 05e1af053b AGS: Use ScummVM endian macros 2021-02-06 16:37:31 -08:00
Thierry Crozat dbf63c63db AGS: Add override keyword 2021-02-06 16:37:31 -08:00
Thierry Crozat a9c456c778 AGS: Add some more detection entries 2021-02-06 16:37:31 -08:00
Paul Gilbert 9ef8af4427 AGS: Implemented Theora video player 2021-02-06 16:37:31 -08:00
Paul Gilbert 9d2c67f738 AGS: Fix black box & gfx issues in ATOTK 2021-02-06 16:37:31 -08:00
Paul Gilbert 5c97a54273 AGS: Implement bitmap saving code needed by KQ2 2021-02-06 16:37:31 -08:00
Paul Gilbert 7717131014 AGS: Fix games that write to files in the game folder
This fixes a crash at the very startup of The Blackwell Legacy,
which reads from a file prog.bwl in the game folder, and then
writes out a new version. In the new scheme, all data files
will try to be accessed from the save folder first, and then
fall back on the game folder. So this allows Blackwell to first
read from the game folder prog.bwl, then create it's own
2021-02-06 16:37:31 -08:00
Paul Gilbert 2bbf6d1110 AGS: Compilation fix when tests are enabled 2021-02-06 16:37:31 -08:00
Paul Gilbert 2732f63a84 AGS: Use empty() rather than size() == 0 2021-02-06 16:37:31 -08:00
Paul Gilbert 94add31198 AGS: Fix spurious bool comparisons 2021-02-06 16:37:31 -08:00
Paul Gilbert ec02e1a118 AGS: Move debugger globals to Globals 2021-02-06 16:37:31 -08:00
Paul Gilbert 4b40b09ce0 AGS: Move mouse globals to Globals 2021-02-06 16:37:31 -08:00
Paul Gilbert f432dc29c2 AGS: Move quit globals into Globals 2021-02-06 16:37:31 -08:00
Paul Gilbert e2469a8cfa AGS: Move globals from ags.cpp to Globals 2021-02-06 16:37:31 -08:00
Paul Gilbert daaa9ab6c6 AGS: Mark engine with 16bit requirement 2021-02-06 16:37:31 -08:00
Paul Gilbert cf9bbb2bb2 AGS: Beginnings of new Globals class 2021-02-06 16:37:31 -08:00
Paul Gilbert 3d84af6aeb AGS: Fix more unreachable code warnings 2021-02-06 16:37:31 -08:00
Paul Gilbert 7097d33268 AGS: Fix some overflow warnings 2021-02-06 16:37:31 -08:00
Paul Gilbert 35497da624 AGS: Fix unreachable code warnings 2021-02-06 16:37:31 -08:00
Paul Gilbert c2e502f771 AGS: Fix assert on ClearRect with invalid coordinates 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 e0d73e9dc8 AGS: Implement horizontally flipped sprite draw 2021-02-06 16:37:31 -08:00
Paul Gilbert 4a9d59e8a9 AGS: Don't show GUI message on exit 2021-02-06 16:37:31 -08:00
Paul Gilbert 9b893f1602 AGS: Add AGS credits section 2021-02-06 16:37:31 -08:00
Paul Gilbert ae7efc5002 AGS: Properly handle transparent pixels in item z order
Previously, in cases where multiple items were layered
on top of each other, it wasn't properly tecognizing
transparent pixels as such to be ignored
2021-02-06 16:37:31 -08:00
Paul Gilbert e173527290 AGS: gcc compilation fixes 2021-02-06 16:37:31 -08:00
Paul Gilbert 406d7c5110 AGS: Don't allow audio streams to free cached sound data 2021-02-06 16:37:31 -08:00
Paul Gilbert 26adb0b229 AGS: Fix for writing audio to savegames 2021-02-06 16:37:31 -08:00
Paul Gilbert cf99f28036 AGS: Show fatal errors in a GUI message dialog 2021-02-06 16:37:31 -08:00
Paul Gilbert 2447e8b06f AGS: Corrections to saving games 2021-02-06 16:37:31 -08:00
Paul Gilbert 1416b86022 AGS: Implement select_palette & unselect_palette 2021-02-06 16:37:31 -08:00
Paul Gilbert aa21b7f735 AGS: Change some TODO warnings to comments 2021-02-06 16:37:31 -08:00
Paul Gilbert ce606cd25c AGS: Remove deprecated audio classes 2021-02-06 16:37:31 -08:00
Paul Gilbert 6f7c777a21 AGS: Sound cleanup and hookup to ScummVM decoders
It isn't perfect.. some of the SOUNDCLIP variables don't do
anything yet. But it at least properly implements playback
of sound now
2021-02-06 16:37:31 -08:00
Paul Gilbert 0cf3a48ae4 AGS: Saves now has dummy path for clarity, added MetaEngine listSaves 2021-02-06 16:37:31 -08:00
Paul Gilbert 6767689c06 AGS: Simplifying passing of script method params to DLL class
The original had issues with the types of the method params
being 32 bits for ints, but 32 or 64 bits for string pointers.
This could easily result in a mismatch of passed params to
method definitions. To avoid this, I now pass the parameters
as a Common::Array, and a set of macros to simplify getting
the parameter values within the script method
2021-02-06 16:37:31 -08:00
Paul Gilbert b71eb2de1f AGS: Fixing keys - upper/lowercase, function keys, etc 2021-02-06 16:37:31 -08:00
Paul Gilbert 1de35ad633 AGS: Adding saveilfe support to FileStream 2021-02-06 16:37:31 -08:00
Paul Gilbert 02ddc563fd AGS: Added engine methods for load/save game 2021-02-06 16:37:31 -08:00
Paul Gilbert 765f9cbfee AGS: Fix cursor palette intensity 2021-02-06 16:37:31 -08:00
Paul Gilbert f8b95a5d34 AGS: Fix closing ScummVM window on title screen 2021-02-06 16:37:31 -08:00
Paul Gilbert 5aa27892c6 AGS: Implementing drawing code used by pathfinder 2021-02-06 16:37:31 -08:00
Paul Gilbert 527d73e0e6 AGS: Handle sprite transparency for cursors 2021-02-06 16:37:31 -08:00