Commit Graph
18 Commits
Author SHA1 Message Date
Thierry Crozat 56154c8065 AGS: Made BufferedStream work as expected in writing mode
From upstream 97eebe7b91010ad9e507de5c8b9c2515bb8d6cfd
2022-06-15 02:22:03 +01:00
Thierry Crozat 01dd8d5abf AGS: Clean BufferedStream code
Part of upstream 82a928cb07970acc5918905c5836c39ce11b7f32
(Tests: added BufferedStream tests)

This commit has no functional change but allows to keep the code
in ScummVM close to upstream code.
2022-06-15 02:22:03 +01:00
Paul Gilbert fff50e3735 AGS: Moved IsFile() and similar functions from Path to File unit
From upstream ab78e1c454d1d0e60eac5a27672f27aa2487e24f
2022-03-20 22:11:55 -07:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert 83a29c5e1d AGS: Let FileStream wrap std streams (stdin/out/err)
From upstream d49964ed09b8cd3a1b8142559c4b16e115b7a8c5
2021-08-03 18:56:35 -07:00
Paul Gilbert 7a632b9a85 AGS: AssetManager opens assets for reading restricted to the section
From upstream c016ee79da0418482d029ae086dfbef9e5272af9
2021-07-31 14:34:09 -07:00
Paul Gilbert d9bbf9775c AGS: Rewrote ci_find_file() into File::FindFileCI()
From upstream 4e2df949ff36bbb6d08e402586dc8c2bb02ecad9
2021-07-10 18:56:59 -07:00
Paul Gilbert 91c7eeef14 AGS: Provided String method variants with "const String&" argument
From upstream 1e33b06b3329b6b0a79c9fe818c012741c08ae2a
2021-06-13 21:08:57 -07:00
Paul Gilbert 7cb1094a60 AGS: Re-enable savegame code 2021-06-13 21:08:54 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Thierry Crozat bef8781be5 AGS: Handle game datadir and savegame dir prefixes in File
This fixes in particular the File_Exists check for savegames.
It was always returning false, which resulted in savegames
being overwritten in Quest for Glory II (bug #12390).
2021-04-16 01:14:46 +01:00
Paul Gilbert 071f076665 AGS: Fix tyring to read config file when not present 2021-02-06 16:37:31 -08:00
Paul Gilbert 6c8789264d AGS: Added shared/util/ folder 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