Commit Graph
137148 Commits
Author SHA1 Message Date
Julien Templier 4e3a6d51dc ASYLUM: Update ActorData structure (it is holding a set of points and directions for pathfinding) 2021-05-17 15:36:59 +02:00
Julien Templier 986176b445 ASYLUM: Finish implementation of Actor::update() 2021-05-17 15:36:59 +02:00
Julien Templier 519f4f86f2 ASYLUM: Implement Actor::updateAndDraw() 2021-05-17 15:36:59 +02:00
Julien Templier 18e85a5efa ASYLUM: Implement part of Actor::updateStatus12_Chapter2()
- Update ActorData structure
2021-05-17 15:36:58 +02:00
Julien Templier 5b5cf905fa ASYLUM: Implement Screen::blitTranstable() and Screen::blitTranstableMirrored() 2021-05-17 15:36:58 +02:00
Julien Templier 5987db75f0 ASYLUM: Implement Screen::blitMasked() and some helper methods
- Fix mask rectangles calculation and check
2021-05-17 15:36:58 +02:00
Julien Templier 4325184d2a ASYLUM: Implement the rest of Screen::blit() and add stubs for all the helper blit functions 2021-05-17 15:36:58 +02:00
Julien Templier c920613363 ASYLUM: Remove colorkey parameter to blt* functions and use _useColorKey member instead 2021-05-17 15:36:58 +02:00
Julien Templier ee89b3837a ASYLUM: Implement Screen::addGraphicToQueueCrossfade() and add stub for Screen::blitCrossfade() 2021-05-17 15:36:58 +02:00
Julien Templier b9eb9f91ec ASYLUM: Screen::blitFast() does not need flags 2021-05-17 15:36:58 +02:00
Julien Templier 3ddd300f10 ASYLUM: Update Screen::draw() with mask source and destination rectangles calculation and add stub for Screen::blitMasked() 2021-05-17 15:36:57 +02:00
Julien Templier e212e20a6b ASYLUM: Fix ResourceEntry::getData() 2021-05-17 15:36:57 +02:00
Julien Templier 958b7f1041 ASYLUM: Fix GCC warning on undefined operation in Actor::playSounds()
Reported by: eriktorbjorn
2021-05-17 15:36:57 +02:00
Julien Templier 4cb90f4023 ASYLUM: Fix Scene::rectIntersect() and cleanup part of Scene::processUpdateList() 2021-05-17 15:36:57 +02:00
Julien Templier b3a4c7fc9f ASYLUM: Fix mirrored blit 2021-05-17 15:36:57 +02:00
Alex Bevilacqua a64de0c34b ASYLUM: silence warnings about shadowed variable declarations 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 9979c06421 ASYLUM: Implement pipes puzzle
Original patch by midstream
2021-05-17 15:36:56 +02:00
Julien Templier 1526593cf0 ASYLUM: Replace several pairs of (x, y) parameters by Common::Point 2021-05-17 15:36:56 +02:00
Julien Templier 90d21d0ad8 ASYLUM: Add support for mirrored blit 2021-05-17 15:36:56 +02:00
Julien Templier 12f0c9fee2 ASYLUM: Fix typo in Scene::processUpdateList() 2021-05-17 15:36:56 +02:00
Julien Templier 4229cdf88f ASYLUM: Implement more of Actor::process()
- Add stubs for pathfinding functions
- Add computation of coordinates & direction
2021-05-17 15:36:56 +02:00
Julien Templier db78a0c0f0 ASYLUM: Implement Actor::playSounds() 2021-05-17 15:36:56 +02:00
Julien Templier 9f6d671569 ASYLUM: Change Screen::draw() functions to take Common::Point as source/destination parameters 2021-05-17 15:36:56 +02:00
Julien Templier 1b9c4dd404 ASYLUM: Add DrawFlags enumeration and update drawing functions parameters 2021-05-17 15:36:55 +02:00
Julien Templier 836e1f43d8 ASYLUM: Process all events in the queue on each call of AsylumEngine::handleEvents() instead of just one
This should fix the slowness experienced in the menu on Linux as reported by eriktorbjorn
2021-05-17 15:36:55 +02:00
Julien Templier 74d67ae3cd ASYLUM: Implement Actor::isInActionArea() 2021-05-17 15:36:55 +02:00
Julien Templier 8b9d471a7f ASYLUM: Implement parts of Actor::process() 2021-05-17 15:36:55 +02:00
Julien Templier 16ae198eea ASYLUM: Implement Actor::updateStatus15_Chapter2_Helper() 2021-05-17 15:36:55 +02:00
Julien Templier 364fded725 ASYLUM: Cleanup Actor::getGraphicsFlags() 2021-05-17 15:36:55 +02:00
Julien Templier 9b92fc5e64 ASYLUM: Implement Actor::updateStatus15_Chapter11_Player() 2021-05-17 15:36:55 +02:00
Julien Templier 92968813ea ASYLUM: Implement Actor::updateStatus15_Chapter2_Actor11_Helper() 2021-05-17 15:36:54 +02:00
Julien Templier 9eb83256fe ASYLUM: Add stubs and rename Actor update methods 2021-05-17 15:36:54 +02:00
Julien Templier d9b16f8846 ASYLUM: Implement Actor::checkAllActions() 2021-05-17 15:36:54 +02:00
Julien Templier 6614632919 ASYLUM: Move DECLARE_SINGLETON() inside namespace Common 2021-05-17 15:36:54 +02:00
eriktorbjorn 9360e0a6a2 ASYLUM: Initialize all flag variables in SharedData to silence Valgrind warning 2021-05-17 15:36:54 +02:00
eriktorbjorn 4f386a7b98 ASYLUM: Terminate subtitle info buffer
Otherwise, strstr() will read out of bounds when looking for a movie
that doesn't have subtitles
2021-05-17 15:36:54 +02:00
eriktorbjorn 96c6b1cd3f ASYLUM: Fix text centering for multi-line texts
The first example of this is the subtitles in the intro movie
2021-05-17 15:36:53 +02:00
Alex Bevilacqua f36dbc95c2 ASYLUM: fix compilation against updated AdvancedDetector changes
Thanks to digitall for the patch
2021-05-17 15:36:53 +02:00
Alex Bevilacqua 75aabbdefb ASYLUM: add english demo 2021-05-17 15:36:53 +02:00
Julien Templier 2b6758af00 ASYLUM: Switch to alternate AdvancedMetaEngine, avoid ADParams 2021-05-17 15:36:53 +02:00
Julien Templier e2f2138450 ASYLUM: Drop "Engine" from the engine name in AsylumMetaEngine::getName() 2021-05-17 15:36:53 +02:00
Alex Bevilacqua be33e9b481 ASYLUM: fix initialization on Linux systems
The casting of event.type to uint32 was failing silently on non-Windows
systems. Replacing these with int32 casts resolved the issue.

Thanks to Littleboy for spotting this.
2021-05-17 15:36:53 +02:00
Alex Bevilacqua baa64d84d4 ASYLUM: replace exit() with exitPuzzle() or exitEncounter()
This resolves an issue with exit() recently being declared FORBIDDEN
in master
2021-05-17 15:36:53 +02:00
Alex Bevilacqua 57229d51ab ASYLUM: fix compilation against current master 2021-05-17 15:36:52 +02:00
Alex Bevilacqua 3a003ea7e6 ASYLUM: fix compile (PI => M_PI) 2021-05-17 15:36:52 +02:00
Julien Templier 493593bf3e ASYLUM: Fix signed comparison warnings
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@774 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:52 +02:00
Julien Templier aaba66f5b4 ASYLUM: Sync with palette changes on trunk
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@773 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:52 +02:00
Julien Templier 2487a6e70b ASYLUM: Sync with sound/ to audio/ changes on trunk
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@772 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:52 +02:00
Filippos Karapetis 62098ed51e ASYLUM: Sync with the latest changes in trunk
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@771 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:52 +02:00