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
Filippos Karapetis
ebb7bc6673
ASYLUM: Sync with trunk
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@769 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:51 +02:00
Julien Templier
ea4745df71
ASYLUM: Puzzle 13 is really the clock puzzle
...
- Rename former clock puzzle to puzzle 11
- Implement proper clock puzzle
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@729 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:46 +02:00
Julien Templier
d145f93a7c
ASYLUM: Use switchScene() when switching scenes through the debugger
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@721 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:45 +02:00
Julien Templier
6bddbc6158
ASYLUM: Correct use of ARRAYSIZE
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@714 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:44 +02:00
Julien Templier
4e654d2dfb
ASYLUM: Load the proper scene when using the puzzle command
...
- Save the current scene and restore it when quitting the puzzle
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@708 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:43 +02:00
Julien Templier
359794ec5d
ASYLUM: Made several SharedData members public
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@700 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:42 +02:00
Julien Templier
e7366c3a91
ASYLUM: Rename MainMenu to Menu
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@683 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:39 +02:00