Commit graph

238 commits

Author SHA1 Message Date
ysj1173886760
6dfe6ad51a ASYLUM: move debugchannels to metaEngineDetection 2021-05-22 01:34:57 +02:00
D G Turner
d84d002212 ASYLUM: Fix for Correct MetaEngine Feature API
This was previously showing the Launcher Load button as active, but
with no saves present as most of the API was not implemented.

This corrects that so that the various Advanced Engine / MetaEngine
APIs for loading / saving from launcher and command line may be
implemented in future.
2021-05-19 22:46:45 +01:00
alxpnv
e69a814f88 ASYLUM: allow using mapped keys while editing savegame name 2021-05-19 13:44:20 +03:00
alxpnv
a2d2495588
ASYLUM: add Keymapper support 2021-05-17 15:37:58 +02:00
alxpnv
cf550f5ce2
ASYLUM: convert AsylumEngine::_gameFlags to uint32 2021-05-17 15:37:57 +02:00
alxpnv
179627fab4
ASYLUM: add some missing updateScreen() calls
Suggested by sev-
2021-05-17 15:37:57 +02:00
alxpnv
77a35a5c75
ASYLUM: get rid of global constructors 2021-05-17 15:37:56 +02:00
alxpnv
c78293e4ce
ASYLUM: simplify computation of inventory ring points 2021-05-17 15:37:55 +02:00
alxpnv
48e164b2d7
ASYLUM: clean up includes 2021-05-17 15:37:54 +02:00
alxpnv
7c82553e8a
ASYLUM: mark AsylumEngine::getSinCosValues() as const 2021-05-17 15:37:53 +02:00
alxpnv
c2b1207e23
ASYLUM: always play intro 2021-05-17 15:37:52 +02:00
alxpnv
72a3f0c365
ASYLUM: replace spaces in indentation with tabs 2021-05-17 15:37:52 +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
a6140c4944
ASYLUM: minor fixes (mostly formatting) 2021-05-17 15:37:51 +02:00
alxpnv
74f1691ca1
ASYLUM: fix inventory ring drawing 2021-05-17 15:37:48 +02:00
alxpnv
459de7f44e
ASYLUM: remove cache entry for shared sound when cd number is changed 2021-05-17 15:37:45 +02:00
alxpnv
4fb8b25682
ASYLUM: add a separate debug channel for script commands 2021-05-17 15:37:44 +02:00
alxpnv
b0839e9bac
ASYLUM: fix crash on exit
_console is destroyed by the base class destructor
2021-05-17 15:37:43 +02:00
alxpnv
f90b57ef85
ASYLUM: set the current cd number. This unbreaks chapter 4 2021-05-17 15:37:38 +02:00
Alexandre Fontoura
bbceb7b098
ASYLUM: Skip intro speech 2021-05-17 15:37:36 +02:00
alxpnv
ae58cb534d
ASYLUM: re-enable the console 2021-05-17 15:37:34 +02:00
Joseph Davies
9195e58c33
ASYLUM: Modify data search paths to match canonical locations. 2021-05-17 15:37:32 +02:00
D G Turner
79ef1c65dd
ASYLUM: Fix Compilation Due to initGraphics Function API. 2021-05-17 15:37:32 +02:00
xesfnet
230054c0c3
ASYLUM: Added missing debug channels 2021-05-17 15:37:31 +02:00
xesfnet
5fbe1d706b
ASYLUM: Skip intro talk about Max 2021-05-17 15:37:29 +02:00
Alex Bevilacqua
6f7307bd60
ASYLUM: remove unnecessary include 2021-05-17 15:37:27 +02:00
Alex Bevilacqua
e73059638a
ASYLUM: enable debug channel for Actor objects 2021-05-17 15:37:25 +02:00
Littleboy
2f18c1cb36
ASYLUM: Misc. cleanups
- Document some debug calls
 - Remove unused parameters names
 - Add const as needed
 - Change some coordinates values to int16
2021-05-17 15:37:21 +02:00
Littleboy
46f5eb05c3
ASYLUM: Implement slightly better switching of scenes through the debugger 2021-05-17 15:37:20 +02:00
Littleboy
72d5a60e3b
ASYLUM: Fix regression in loading of scenes from the console 2021-05-17 15:37:19 +02:00
Littleboy
f10091a616
ASYLUM: Implement saving of script data 2021-05-17 15:37:18 +02:00
Littleboy
b1493f5be3
ASYLUM: Move puzzles handling to Puzzles class (formerly PuzzleData) 2021-05-17 15:37:18 +02:00
Littleboy
d1b6bbabfd
ASYLUM: Move skipScriptProcessing and isEncounterRunning flags to SharedData 2021-05-17 15:37:16 +02:00
Littleboy
5b0da5965c
ASYLUM: Cleanup more base classes 2021-05-17 15:37:15 +02:00
Littleboy
44540643e8
ASYLUM: Cleanup base classes
- Made some public members of cursors private and add accessors
 - Add const modifiers as needed
 - Add missing casts
 - Add some null-pointers checks
 - etc.
2021-05-17 15:37:15 +02:00
Littleboy
0f14a09cd4
ASYLUM: Remove useless includes 2021-05-17 15:37:14 +02:00
Alex Bevilacqua
3dc4f42062
ASYLUM: add a workaround for the cursor not remaining hidden during the intro speech 2021-05-17 15:37:13 +02:00
Littleboy
28363f844d
ASYLUM: Reorganize SharedData
- Add accessors for most variables
 - Add stubs for set/getChapter2Data()
2021-05-17 15:37:13 +02:00
Littleboy
e130e128b4
ASYLUM: Implement AsylumEngine::saveLoadWithSerializer() 2021-05-17 15:37:12 +02:00
Littleboy
5ba6a0605d
ASYLUM: Correct usage of some shared data
- Add ambientFlags array
 - Update usage of ambientTicks array
 - Remove some now unused gameFlags related methods
2021-05-17 15:37:12 +02:00
Julien Templier
ed60255adf
ASYLUM: Add delay in event loop in the intro 2021-05-17 15:37:11 +02:00
Julien Templier
ba2addab8d
ASYLUM: Finish implementation of AsylumEngine::restart() 2021-05-17 15:37:08 +02:00
Julien Templier
6b4f3435c0
ASYLUM: Remove Puzzle::reset() functions
- Recreate all puzzle instances on reset
- Clear shared data directly from the AsylumEngine::reset() function
2021-05-17 15:37:08 +02:00
Julien Templier
015c1cfb92
ASYLUM: Fix valgrind problems reported by eriktorbjorn
- malloc/free problem in screen.cpp
- uninitialized variables (screenUpdateCount and lastScreenUpdate) usage in actor.cpp
2021-05-17 15:37:06 +02:00
Julien Templier
5ca35ddd2f
ASYLUM: Fix playing of intro speech (wait until the sound is finished before showing the scene) 2021-05-17 15:37:06 +02:00
Alex Bevilacqua
ef730d52d9
ASYLUM: Add a TODO regarding a proper implentation of the intro speech 2021-05-17 15:37:06 +02:00
Julien Templier
519f4f86f2
ASYLUM: Implement Actor::updateAndDraw() 2021-05-17 15:36:59 +02:00
Julien Templier
1db67c5c88
ASYLUM: Remove SVN keywords 2021-05-17 15:36:57 +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
Alex Bevilacqua
57229d51ab
ASYLUM: fix compilation against current master 2021-05-17 15:36:52 +02:00