Commit Graph
18 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
alxpnv cbb0d9ca95 ASYLUM: (Lock puzzle) set the initial state to all '-' 2021-06-16 15:41:14 +03:00
alxpnv 77a35a5c75 ASYLUM: get rid of global constructors 2021-05-17 15:37:56 +02:00
alxpnv f94c11658a ASYLUM: fix background drawing in some of the puzzles 2021-05-17 15:37:47 +02:00
alxpnv 54fe4387c5 ASYLUM: corrections to Scare Crow behavior 2021-05-17 15:37:44 +02:00
Littleboy 6eb0271440 ASYLUM: Implement saveLoadWithSerializer() for most of the puzzles 2021-05-17 15:37:18 +02:00
Littleboy 34b50ab2f3 ASYLUM: Add stubs for puzzles saveLoadWithSerializer() 2021-05-17 15:37:18 +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 b9cb91d016 ASYLUM: Cleanup puzzles
- Add missing casts
 - Remove unused parameters
 - Add consts modifiers
 - Fix formating
 - etc.
2021-05-17 15:37:15 +02:00
Julien Templier fb8afdc6d6 ASYLUM: Palette and gamma functions update
- Identify dead code and remove unused parameters
- Rename several gamma and palette-relted functions
- Add stubs for palette fading functions
2021-05-17 15:37:10 +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 1db67c5c88 ASYLUM: Remove SVN keywords 2021-05-17 15:36:57 +02:00
Julien Templier 1b9c4dd404 ASYLUM: Add DrawFlags enumeration and update drawing functions parameters 2021-05-17 15:36:55 +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
Julien Templier fc53180f5f ASYLUM: Implement Lock puzzle
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@751 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:49 +02:00
Julien Templier b52bed63d8 ASYLUM: Refactor puzzle event handling
- Change default key method to switch back to the scene on right click
- Pass current event to all event handling methods
- Implement mouseLeftDown, mouseLeftUp, mouseRightDown and/or mouseRighUp instead of a single mouse method
- Remove most uses of Cursor::position()

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@738 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:47 +02:00
Julien Templier c19fba0b1f ASYLUM: Implement handleEvent in Puzzle class and let child classes implement init, key & mouse handlers
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@704 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:42 +02:00
Julien Templier 574abfd1b2 ASYLUM: Add stubs for puzzles
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@675 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:38 +02:00