Commit Graph
40 Commits
Author SHA1 Message Date
Le Philousophe 4dc3436cac JANITORIAL: Don't include ScummVM files using brackets 2022-08-22 12:17:58 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
alxpnv e7d87b7e5d ASYLUM: (Pipes puzzle) fix triggering output pipes
Bug no. 13109
2021-11-29 12:13:06 +03:00
Orgad Shaneh 57cdbc9072 ASYLUM: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh 3919f53326 ENGINES: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
alxpnv 146941f368 ASYLUM: formatting 2021-10-25 13:07:57 +03:00
alxpnv 110af4fae4 ASYLUM: slow down puzzle animations 2021-10-19 15:18:26 +03:00
alxpnv 04bb1031d5 ASYLUM: fix incorrect expression
CID 1462750
2021-10-04 15:46:30 +03:00
alxpnv 2145019341 ASYLUM: fix signed/unsigned mismatch
Reported by Henke37
2021-09-22 15:54:49 +03:00
alxpnv 6c24eb0be2 ASYLUM: fix potential bad bit shift
CID 1453217
2021-09-21 15:02:41 +03:00
alxpnv a937575412 ASYLUM: (Pipes puzzle) fix uninitialized class members
CIDs 1453211 and 1453229
2021-09-20 16:04:29 +03:00
alxpnv 261dee4424 ASYLUM: make sure the cursor is visible at puzzle start 2021-06-21 14:58:59 +03:00
alxpnv cf0049c23b ASYLUM: (Pipes puzzle) use the engine-level random source 2021-05-17 15:37:56 +02:00
alxpnv 77a35a5c75 ASYLUM: get rid of global constructors 2021-05-17 15:37:56 +02:00
alxpnv 48e164b2d7 ASYLUM: clean up includes 2021-05-17 15:37:54 +02:00
alxpnv 72a3f0c365 ASYLUM: replace spaces in indentation with tabs 2021-05-17 15:37:52 +02:00
alxpnv a6140c4944 ASYLUM: minor fixes (mostly formatting) 2021-05-17 15:37:51 +02:00
alxpnv 617955615d ASYLUM: implement PuzzlePipes::saveLoadWithSerializer() 2021-05-17 15:37:36 +02:00
alxpnv c232bc5dec ASYLUM: fix a wrong index 2021-05-17 15:37:35 +02:00
alxpnv 6678429e49 ASYLUM: reorder PuzzlePipes::_connectors to match the original 2021-05-17 15:37:35 +02:00
alxpnv 560d0a68ad ASYLUM: don't reset the Pipes puzzle's data each time it's being run 2021-05-17 15:37:35 +02:00
alxpnv 9f5008b18d ASYLUM: set a game flag when the Pipes puzzle is solved 2021-05-17 15:37:35 +02:00
D G Turner ffe854efe7 ASYLUM: Fix Various GCC Compiler Warnings. 2021-05-17 15:37:32 +02:00
Alexander b82752e649 ASYLUM: Pipes puzzle: fix initialization 2021-05-17 15:37:23 +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
Alexander 185aedd05b ASYLUM: Pipes puzzle: fix lamp indicators 2021-05-17 15:37:07 +02:00
Alexander defb533d1e ASYLUM: Pipes puzzle: replace log(x)/log(2) with Common::intLog2(x) 2021-05-17 15:37:07 +02:00
Julien Templier 07f49cdf9a ASYLUM: Initialize _frameIndexSpider in PuzzlePipes constructor
This fixes a crash on exit.
2021-05-17 15:37:04 +02:00
Julien Templier 2dd9930297 ASYLUM: Fix uninitialized variable warning in PuzzlePipes::update() 2021-05-17 15:37:04 +02:00
Alexander 4ef22bfb2f ASYLUM: Pipes puzzle: continuous progress bars 2021-05-17 15:37:04 +02:00
Alexander 80583b079b ASYLUM: Pipes puzzle: add spiders 2021-05-17 15:37:04 +02:00
Julien Templier 9979c06421 ASYLUM: Implement pipes puzzle
Original patch by midstream
2021-05-17 15:36:56 +02:00
Julien Templier 925c146a61 ASYLUM: Implement PuzzlePipes::updateCursor()
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@757 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:50 +02:00
Julien Templier 6186775f36 ASYLUM: Add stubs for Pipes puzzle
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@754 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