Commit Graph
29 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
alxpnv b751e47f42 ASYLUM: big endian fix
Ticket 13081
2021-11-22 14:08:44 +03:00
alxpnv 146941f368 ASYLUM: formatting 2021-10-25 13:07:57 +03:00
alxpnv 1dc17b7475 ASYLUM: use const references where possible 2021-09-17 13:21:43 +03:00
alxpnv 2fd785c12c ASYLUM: add support for Sanitarium Demo 2021-08-30 15:50:15 +03:00
alxpnv 48e164b2d7 ASYLUM: clean up includes 2021-05-17 15:37:54 +02:00
alxpnv 94088dc756 ASYLUM: fix music won't play after moving to the next chapter 2021-05-17 15:37:51 +02:00
alxpnv 459de7f44e ASYLUM: remove cache entry for shared sound when cd number is changed 2021-05-17 15:37:45 +02: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 5b43d804d9 ASYLUM: Implement Encounter::drawText()
- Remove unused ResourcePack::count() method
- Add proper text centering calculation to drawText()

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@660 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:36 +02:00
Julien Templier 98a98a8486 ASYLUM: Fix GCC compilation and warnings
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@593 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:26 +02:00
Julien Templier 377438ef7a ASYLUM: Update Encounter class
- Add error handling to load() method
- Implement getVariable & getVariableInv
- Add script init and entry loading

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@572 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:22 +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
Alex Bevilacqua db2b09d61b ASYLUM: fix compile
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@522 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
Julien Templier 744b1c1a80 ASYLUM: Introduce GameFlag enumeration
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@465 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
Alexandre Fontoura dcf0cce2c5 ASYLUM: * Fixed Sound::isPlaying buffered handle.
* Fixed Intro play and display
* ConfigurationManager Config.showMovieSubtitles is now from type VideoSubtitles.

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@400 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:56 +02:00
Alex Bevilacqua ab44e5c66b ASYLUM: Ran our engine through AStyle :P
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@366 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:51 +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 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