Commit Graph
25 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 57cdbc9072 ASYLUM: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
alxpnv 1dc17b7475 ASYLUM: use const references where possible 2021-09-17 13:21:43 +03:00
alxpnv a92db2a843 ASYLUM: add more entries to the respack patch list 2021-09-10 12:37:40 +03:00
alxpnv 2fd785c12c ASYLUM: add support for Sanitarium Demo 2021-08-30 15:50:15 +03:00
alxpnv eb1e2f9c56 ASYLUM: add workaround for combined resource packs 2021-08-02 14:00:35 +03:00
Littleboy d19ec57732 ASYLUM: Fix memory leak in ResourceManager
The ResourceManager was never deleting the file data buffers, only removing the entries from the cache.
Thanks to digitall for the patch.
2021-05-17 15:37:20 +02:00
Julien Templier e212e20a6b ASYLUM: Fix ResourceEntry::getData() 2021-05-17 15:36:57 +02:00
Julien Templier 1db67c5c88 ASYLUM: Remove SVN keywords 2021-05-17 15:36:57 +02:00
Julien Templier 691da08b8d ASYLUM: Properly check for index validity in ResourcePack::get
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@668 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:37 +02:00
Julien Templier 8528b9d964 ASYLUM: Cleanup Pass 2
- Add proper init code for WorldStats
- Add some missing deletes in destructors (in particular Scene)
- Add const modifiers & casts in several places
- Fix some off-by-one array accesses
- Add checks for NULL in several classes

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@546 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:18 +02:00
Julien Templier 71125b9916 ASYLUM: Throw an error when a resource pack cannot be opened
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@533 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:16 +02:00
Julien Templier 4d383def95 ASYLUM: Add support for shared sound resources
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@531 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:16 +02:00
Julien Templier 64786bb7f7 ASYLUM: Fix crash on exit
The objects were destructed in the wrong order
and the resource pack id wasn't calculated properly

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@524 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:15 +02:00
Julien Templier 10f0ac46ea ASYLUM: Use the current scene pack id when trying to load music resources
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@521 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:15 +02:00
Julien Templier b1c3d9d7e0 ASYLUM: Add some init code to Scene & Actor classes
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@519 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:14 +02:00
Julien Templier d7c22354a6 ASYLUM: Add ResourceManager class
It will keep track of opened resource files and simplify handling of resource packs

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@513 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:13 +02:00
Julien Templier ee438adbdc ASYLUM: Introduce ResourcePackId
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@512 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:13 +02:00
Julien Templier ffddfcd8db ASYLUM: Use typed resource ID
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@468 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:06 +02:00
Alex Bevilacqua cc43cc88a3 ASYLUM: Major overhaul of data casting. Converted all uint32 member variables and fields to int32 (and uint16 to int16) and update the associated reads. There may be regressions as a result, but so far everything seems to be working as expected.
Also combed through the source and silenced 99% of the warnings that GCC was generating.

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@404 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:57 +02:00
Alex Bevilacqua 52206f1189 ASYLUM: NEW SOUND SUBSYSTEM! This is still sort of WIP though because it's not a "true" implementation (direct from disassembly). It also doesn't really do anything with the new ambient sound queue, but the functionality's there for when we make more progress on the AmbientSoundItem initializations.
Also started to re-write updateBarriers(). The original is there as updateBarriers2() for the time being.

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@362 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:50 +02:00
Alex Bevilacqua 0002d52073 ASYLUM: minor cleanup
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@336 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:46 +02:00
Alex Bevilacqua 18733c4910 ASYLUM: fixed a valgrind warning
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@335 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:46 +02:00
Alex Bevilacqua 6922206396 ASYLUM: updated svn:props (was on a conference call with a client and had some time to kill :P)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@280 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:38 +02:00
Alex Bevilacqua 9f08842406 ASYLUM: * renaming of a couple classes
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@135 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:19 +02:00