Commit Graph
42 Commits
Author SHA1 Message Date
alxpnv 5a6edfa2d9 ASYLUM: implement 'version' command 2022-06-15 15:40:27 +03:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
alxpnv d4d1f08c3d ASYLUM: fix starting the game after loading of saved game was cancelled 2021-12-09 13:24:58 +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 ab0609db66 ASYLUM: fix uninitialized member
CID 1462749
2021-10-04 15:49:10 +03:00
alxpnv 4901928d5c ASYLUM: allow loading of savegames from the previous versions of the game 2021-09-22 15:54:50 +03:00
alxpnv b49f9e755b ASYLUM: append metadata to the saves made via the game menu 2021-09-17 13:21:43 +03:00
alxpnv 3c4159cfe1 ASYLUM: make .movies file target-specific 2021-09-17 13:21:43 +03:00
alxpnv 1dc17b7475 ASYLUM: use const references where possible 2021-09-17 13:21:43 +03:00
alxpnv 0d1e2da0b0 ASYLUM: implement saving/loading via the GMM 2021-09-16 15:47:54 +03:00
alxpnv ba2ccee701 ASYLUM: fix Quick Load/Quick Save 2021-05-17 15:37:58 +02:00
alxpnv c81c046450 ASYLUM: clean up destructors 2021-05-17 15:37:58 +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
Alexandre Fontoura 28cbd2b28e ASYLUM: cleanup some warnings 2021-05-17 15:37:36 +02:00
Littleboy 03cd0ddf56 ASYLUM: Fix loading of saved games
- Do not add more actors/objects/actions when loading data (the correct scene was loaded and contains the data already)
 - Do not reset the script queue and empty the script array before loading the script list
2021-05-17 15:37:19 +02:00
Littleboy 8032becd15 ASYLUM: Only handle final version savegames until we can verify all savegames are compatible 2021-05-17 15:37:19 +02:00
Littleboy c3f531c272 ASYLUM: Add padding when saving strings 2021-05-17 15:37:19 +02:00
Littleboy b1493f5be3 ASYLUM: Move puzzles handling to Puzzles class (formerly PuzzleData) 2021-05-17 15:37:18 +02:00
Littleboy ecca126022 ASYLUM: Better debug output when writing/loading savegames 2021-05-17 15:37:16 +02:00
Littleboy 1a350dd104 ASYLUM: Handle empty savegame files 2021-05-17 15:37:16 +02:00
Littleboy 5b0da5965c ASYLUM: Cleanup more base classes 2021-05-17 15:37:15 +02:00
Littleboy 0f14a09cd4 ASYLUM: Remove useless includes 2021-05-17 15:37:14 +02:00
Littleboy 906cbe7a23 ASYLUM: Rename puzzles/data.h to puzzles/puzzledata.h 2021-05-17 15:37:12 +02:00
Littleboy 361c52ef01 ASYLUM: Add data written checks when saving games 2021-05-17 15:37:12 +02:00
Julien Templier 1db67c5c88 ASYLUM: Remove SVN keywords 2021-05-17 15:36:57 +02:00
Julien Templier ec55db7494 ASYLUM: Fix some invalid array accesses, a missing array delete and a potential NULL pointer use
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@770 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:52 +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 2743c1f763 ASYLUM: Fix problem in Savegame::getMoviesViewed()
This was preventing all played movies from being displayed properly

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@692 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:41 +02:00
Julien Templier dc44ab0138 ASYLUM: Implement Menu::clickDeleteGame()
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@690 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:40 +02:00
Julien Templier 9ce5f05ba9 ASYLUM: Implement Menu::updateViewMovies()
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@685 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:39 +02:00
Julien Templier 5cf0c83dc2 ASYLUM: Implement MainMenu::keySaveGame()
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@682 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:39 +02:00
Julien Templier 46aa306513 ASYLUM: Implement loading of games
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@679 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:38 +02:00
Julien Templier af09eeccee ASYLUM: Implement saving of games
- Added stubs for saveLoadWithSerializer

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@678 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:38 +02:00
Julien Templier 54381ad846 ASYLUM: Implement most savegame handling (except actual write & read)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@677 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:38 +02:00
Julien Templier 9d4fd0da2a ASYLUM: Implement Savegame::getMoviesViewed() and Savegame::setMovieViewed()
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@637 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:32 +02:00
Julien Templier 9b4c9572ea ASYLUM: Implement Scene::key() and Scene::speak()
- Add savegame stubs for quickLoad and quickSave

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@634 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:32 +02:00
Julien Templier 2172d82d2e ASYLUM: Implement rest of game startup
- Add stubs for game loading & setup
- Add stub for sin/cos table initialization

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@609 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:28 +02:00
Julien Templier 912e3131a3 ASYLUM: Implement MainMenu::click()
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@602 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:27 +02:00
Julien Templier 8a6d76b65e ASYLUM: Overhaul event handling
- Cleanup game initialization
- Update event loop to use the defined handler
- Menu is now the default event handler
- Implement eye direction update using existing Actor helper method
- Add stubs for all menu update & click event handlers

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@600 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:27 +02:00
Julien Templier 0047d10a67 ASYLUM: Add Savegame class
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@599 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:27 +02:00