Peter Kohaut
25fa525969
TINSEL: Added base of Noir movers
...
Renamed rince.* files to movers to be more game independent.
Added elementary support for Noir movers which can use different logic.
Allows game to boot to the first interactive scene, but there is no 3D model rendered (that is WIP).
2021-08-08 20:15:18 +02:00
Orgad Shaneh
a05e54f00c
JANITORIAL: Remove trailing whitespaces
2021-05-04 11:46:30 +03:00
sluicebox
93eeffc84d
JANITORIAL: Update old bug tracker numbers
2021-03-03 02:15:05 +02:00
Filippos Karapetis
94fae0c94d
TINSEL: Move all dialog-related functions into a new Dialogs class
2020-10-04 01:15:23 +03:00
Filippos Karapetis
9c9fc0cf2b
TINSEL: Reset more global vars upon engine destruction
2020-10-04 01:15:22 +03:00
Filippos Karapetis
bb54f3cd4f
TINSEL: Move all actor-related functions into a new Actor class
...
Also, merge the two different SetMoverZ() functions
2020-10-04 01:15:18 +03:00
Filippos Karapetis
63ae50e790
TINSEL: Replace usage of NULL with nullptr
2020-02-29 02:21:41 +02:00
David Fioramonti
f06cf65479
TINSEL: Add playTime to saved game and display it
...
Also bumps the saved game format version to 3.
I changed the order of how the data is saved so that the playtime could
be read in without skipping as much data.
This is because querySaveMetaInfos only needs the metafields where as
saveload::DoRestore() needs more of the header.
A crash was happening when trying to delete a saved game from the launcher.
It is because the engine is not initalized. I assign a dummy value to
resolve the issue.
Loading saved games from previous versions works.
When an old version saved game is loaded it will start with zero playtime.
Old saved games are shown as not having playtime data.
2018-08-03 14:52:47 +02:00
Bastien Bouclet
eae6930ae0
TINSEL: Remove now duplicate VER macro
2018-02-01 14:42:33 +01:00
Ben Castricum
6f38c1e55d
ALL: game state => saved game
2016-11-29 20:15:20 +01:00
Eugene Sandulenko
f225442ad0
TINSEL: Fix illegal memory reads.
...
In case of "unnamed" case (see line 582) we were memcpy'ing 31 byte from
the heap.
2016-05-31 17:12:18 +02:00
Eugene Sandulenko
a57aa55999
TINSEL: Safer string manipulation
2016-05-11 12:32:18 +02:00
Johannes Schickel
9b138f4eb4
TINSEL: Make GPL headers consistent in themselves.
2014-02-18 02:39:39 +01:00
Torbjörn Andersson
304ac2a7c4
TINSEL: Fix another Clang analyzer warning
...
Whether or not SaveFailure() can delete the save file, we want to
invalidate the save name because it probably only lives on the
stack so the pointer will become invalid once DoSave() has ended.
2013-01-02 21:25:51 +01:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Paul Gilbert
2dee92a908
TINSEL: Fixed portability issue with earlier savegames
2012-08-06 20:03:56 +10:00
Alyssa Milburn
be35baddc7
TINSEL: Rename globals to add g_ prefix.
2012-02-22 23:14:29 +01:00
Paul Gilbert
5ce622c1b6
TINSEL: Added extra fields to the savegame header for SCN/GRA usage and language
...
New savegames that are created will no longer appear in the savegame list for different data versions or languages.
2012-02-11 21:45:16 +11:00
D G Turner
111f580676
TINSEL: Replace usage of 'goto'.
2011-12-08 14:27:28 +00:00
Paul Gilbert
ca7bc71846
TINSEL: Bugfix for restoring DW1 savegames with a saved scene
...
This happens, for example, when restoring a savegame of the dragon summoning book close-up. After restoring, you couldn't leave the close up.
2011-10-18 19:47:45 +11:00
Filippos Karapetis
5974fcd0c1
TINSEL: Use SAVEGAME_ID when getting savegame info, if a VM is instantiated
2011-08-07 15:10:17 +03:00
Filippos Karapetis
2c9fdf0df7
TINSEL: Fixed deleting saved games from the launcher (bug #3387551 )
2011-08-07 14:21:28 +03:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Thierry Crozat
06bbb57ad7
I18N: Make many more GUI MessageDialog strings translatable
2011-06-13 22:19:18 +01:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
b8d858a00b
TINSEL: Cleanup reel saving code
2011-05-10 14:43:54 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
84184aabc0
ALL: colour -> color
2011-04-14 14:12:35 +02:00
md5
c89f2276d1
TINSEL: Merged NewName() inside DoSave() in order to remove a static var
2011-04-10 14:27:50 +03:00
Max Horn
1dbf8d73d5
TINSEL: Mark all (?) global vars with a FIXME comment
...
Use of global vars is what prevents RTL from working in Tinsel (and
probably in other engines). More specifically, the fact that many
global vars are not explicitly inited when the engine is (re)launched.
svn-id: r54262
2010-11-16 09:53:55 +00:00
Max Horn
5c49ae8a9c
TINSEL: cleanup
...
svn-id: r53991
2010-10-31 21:50:48 +00:00
Paul Gilbert
c253a57e47
Bugfix for #2974817 - Mad Drongo Animation Malfunction
...
svn-id: r49447
2010-06-06 01:12:41 +00:00
Johannes Schickel
62717eafc4
Replace some strncpy usages with Common::strlcpy.
...
svn-id: r49086
2010-05-18 18:16:47 +00:00
Max Horn
cac0ac66e2
COMMON: Get rid of Common::StringList
...
svn-id: r48287
2010-03-18 15:54:40 +00:00
Max Horn
75de0ebccb
TINSEL: Change SaveSceneSsData from char* to SAVED_DATA*
...
svn-id: r48285
2010-03-18 15:39:56 +00:00
Max Horn
f692015301
Got rid of ReadStream::ioFailed()
...
svn-id: r46379
2009-12-15 08:18:57 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
42120ed626
Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
...
svn-id: r44793
2009-10-08 19:41:38 +00:00
Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +00:00
Torbjörn Andersson
836c9a37f3
Show a message if saving or loading a game fails.
...
svn-id: r42999
2009-08-02 12:49:57 +00:00
Paul Gilbert
b40dc424b3
Bugfix for hangs on scene changes in Discworld 1 after having loaded a savegame from the GMM when the title screens are displayed
...
svn-id: r42626
2009-07-20 09:19:27 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Max Horn
65b5d31814
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
...
svn-id: r40725
2009-05-19 11:42:14 +00:00
Max Horn
9cbed926cd
Moved Tinsel::Serializer to Common::Serializer, so that I can use it in the SCI engine
...
svn-id: r39428
2009-03-15 20:30:57 +00:00
Max Horn
25b39e217a
TINSEL: Added Serializer::skip() convenience method
...
svn-id: r39350
2009-03-12 03:26:03 +00:00
Torbjörn Andersson
b866cf5d22
Silence GCC warning.
...
svn-id: r36122
2009-01-28 21:11:18 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
34368e5650
Fixed loading Discworld 2 savegames from GMM.
...
svn-id: r35453
2008-12-20 23:08:37 +00:00
Filippos Karapetis
cbdb105d8e
- Save games are now listed from oldest to newest in the GMM load dialog for tinsel games, like in other engines
...
- Added some disabled code for saving through the GMM (still incomplete)
svn-id: r35316
2008-12-12 15:48:38 +00:00
Filippos Karapetis
5bfb248301
- Set the maximum number of save games in DW1 and DW2 to 100, up from 30
...
- It's now possible to load and delete save games using the GMM (although not through the launcher screen yet)
svn-id: r35207
2008-12-02 18:34:32 +00:00