Commit graph

86 commits

Author SHA1 Message Date
Douglas Liu
842887006a STARK: Implement NewGame and some small fixing 2018-05-21 15:30:57 +08:00
Douglas Liu
5726d0c824 STARK: Game opens with main menu look 2018-05-21 15:30:56 +08:00
Douglas Liu
9ecde240e8 STARK: First attempt on the main menu 2018-05-21 15:30:56 +08:00
Bastien Bouclet
3c0344bf7e STARK: Add a Screen abstraction to the user interface 2017-11-05 16:23:52 +01:00
Bastien Bouclet
13ff072254 STARK: Implement fullscreen toggling 2017-09-01 09:26:57 +02:00
Bastien Bouclet
86eec523ba STARK: Store ResidualVM specific metadata and a thumbnail in saves 2017-06-14 21:46:29 +02:00
Bastien Bouclet
a6fa0eebca STARK: Fix segfault if an error happens early during the initialization 2017-05-30 19:19:38 +02:00
Bastien Bouclet
8b1beea68a STARK: Add savegame version handling
The save file header has a version attrubute, as well as each serialized
resource tree. The reason for this is that serialized resource trees
are not necessarily rehydrated into objects during the gameplay.
Thus the save version is not always consistent across the serialized resource
trees in a save file.
2017-05-30 19:07:42 +02:00
Bastien Bouclet
bfcdaf970c STARK: Start keeping track of the diary state
Only diary entries and FMVs are implemented for now.
Conversations are still not recorded.
2017-05-30 14:24:22 +02:00
Bastien Bouclet
736c9331bb STARK: Use the engine_speed setting to contigure the frame limiter 2017-05-26 06:43:39 +02:00
Bastien Bouclet
6909ea7c93 STARK: Switch to framerate independant fast forward 2017-05-25 21:31:21 +02:00
Bastien Bouclet
5577b3eece STARK: Pause the currently playing videos when ResidualVM pauses the engine
This way, the videos don't play too fast because they try to make up for the
pause time when resuming.
2017-05-25 21:31:21 +02:00
Bastien Bouclet
72b5b0c105 STARK: Introduce a frame rate limiter
Does its best to keep the framerate at 60 fps or at the vsync frequency if
iwait for vsync is enabled.
2017-05-25 21:30:07 +02:00
Bastien Bouclet
c7e75552ef STARK: Implement the fast forward mode
Used to skip animations. Does not behave exactly as the original due to
frame timing being incorrect in ResidualVM.

Fixes #1324.
2017-03-25 18:31:12 +01:00
Bastien Bouclet
d7b7bad1dc ALL: Fix warnings when building with Apple's CLang 2016-06-14 08:24:02 +02:00
Bastien Bouclet
01fda9348b STARK: Move event processing to the end of the game loop
Previously, clicking before a location was loaded would crash
2016-04-16 07:39:29 +02:00
Bastien Bouclet
2da0240245 STARK: Reduce the main loop delay
Makes the game run at a higher framerate.
2016-04-10 18:15:06 +02:00
Bastien Bouclet
a34178b277 STARK: Fix loading a save when the game is not interactive 2016-01-31 09:09:19 +01:00
Bastien Bouclet
bedf5e2725 STARK: Use the target in the save file name pattern
Saves are incompatible between game versions.
Also increase the maximum save slot to 999.
2016-01-31 08:08:55 +01:00
Bastien Bouclet
c667c3a134 STARK: Saving is not allowed when the game is not interactive 2016-01-01 07:30:12 +01:00
Bastien Bouclet
363a91267b STARK: Allow returning to the launcher 2016-01-01 07:30:12 +01:00
Bastien Bouclet
0f185fff27 STARK: Move the Cursor class to the ui subfolder 2016-01-01 07:30:12 +01:00
Bastien Bouclet
9ed9efb443 STARK: Draw text at the native resolution 2016-01-01 07:30:10 +01:00
Bastien Bouclet
46bec1c0fe STARK: Fix restoring current state when loading saves 2016-01-01 07:30:09 +01:00
Bastien Bouclet
c9540977eb STARK: Implement TrueType font rendering 2016-01-01 07:30:08 +01:00
Bastien Bouclet
cb2d2d37a8 STARK: Make scrolling views follow the character 2016-01-01 07:30:04 +01:00
Bastien Bouclet
401ef7b635 STARK: Add support for loading a save from the launcher 2016-01-01 07:30:02 +01:00
Bastien Bouclet
9caa621cdc STARK: Fix loading savegames 2016-01-01 07:30:02 +01:00
Bastien Bouclet
1b95553169 STARK: Allow April to run 2016-01-01 07:29:59 +01:00
Bastien Bouclet
ba770a3c22 STARK: Push down some includes 2016-01-01 07:29:55 +01:00
Bastien Bouclet
08342a14e9 STARK: Remove some commented out code 2016-01-01 07:29:54 +01:00
Bastien Bouclet
b44354f554 STARK: Generalize upon the FMV playback and introduce the concept of Screen 2016-01-01 07:29:54 +01:00
Bastien Bouclet
c4fa477083 STARK: Various cleanups 2016-01-01 07:29:54 +01:00
Bastien Bouclet
5bbddfa171 STARK: Add the ability to override the startup location using the config file 2016-01-01 07:29:53 +01:00
Bastien Bouclet
1be1b25ddb STARK: Make some more sense out of the dialog player code 2016-01-01 07:29:53 +01:00
Bastien Bouclet
dcd5ae0710 STARK: Rename the UI class and move it to the services subfolder 2016-01-01 07:29:53 +01:00
Bastien Bouclet
19a5b6045e STARK: Rename UserInterface to GameInterface for clarity 2016-01-01 07:29:50 +01:00
Bastien Bouclet
6bbadd9346 STARK: Handle inventory right click 2016-01-01 07:29:49 +01:00
Bastien Bouclet
2a28e12e4b STARK: Refactor inventory handling to allow unification of the mouse click code 2016-01-01 07:29:49 +01:00
Bastien Bouclet
22d02ac502 STARK: Simplify game window rendering 2016-01-01 07:29:49 +01:00
Bastien Bouclet
7a83e8960d STARK: Refactor game window handling to have its own class 2016-01-01 07:29:48 +01:00
Bastien Bouclet
273a358ad3 STARK: Initiate rework of the user interface code
A base class, Window, will be used to ensure all the UI containers
work in a similar way.
2016-01-01 07:29:48 +01:00
Einar Johan Trøan Sømåen
4fd5108a24 STARK: Move speech/fmv-skipping to ESC, to avoid mouse-ups from cancelling the speech that was just triggered. 2016-01-01 07:29:47 +01:00
Einar Johan Trøan Sømåen
f72b84079a STARK: Add different starting point for demo. 2016-01-01 07:29:47 +01:00
Einar Johan Trøan Sømåen
0938ea7cb7 STARK: Allow clicking to stop FMVs for now. 2016-01-01 07:29:46 +01:00
Einar Johan Trøan Sømåen
1e5ab7c2e6 STARK: Allow FMVs to be triggered. 2016-01-01 07:29:46 +01:00
Einar Johan Trøan Sømåen
a4ad1e7ab1 STARK: Implement the quit game button. 2016-01-01 07:29:43 +01:00
Einar Johan Trøan Sømåen
5dcdbf8731 STARK: Create new classes for drawing the top-menu and dialog-portion. 2016-01-01 07:29:43 +01:00
Einar Johan Trøan Sømåen
a2435c901a STARK: Make UI responsible for calling the draws of the UI stuff, so that it can catch the render entries and potentially update (currently the updating is broken though). 2016-01-01 07:29:41 +01:00
Einar Johan Trøan Sømåen
7c77ce8949 STARK: Refactor the logic for handling mouse-overs and mouse-clicks. This also introduces support for closing the Action Menu. 2016-01-01 07:29:41 +01:00