Commit Graph
16 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
alxpnv 110af4fae4 ASYLUM: slow down puzzle animations 2021-10-19 15:18:26 +03:00
alxpnv 77a35a5c75 ASYLUM: get rid of global constructors 2021-05-17 15:37:56 +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 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 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 55a1bca99c ASYLUM: Fix regression with use of evt.mouse in puzzles updateCursor functions
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@745 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:48 +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 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 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