Commit Graph

32 Commits

Author SHA1 Message Date
Torbjörn Andersson
65585f6433 Silenced some harmless cppcheck warnings about unreachable code after a return.
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.

svn-id: r48218
2010-03-10 06:39:23 +00:00
Paul Gilbert
8694b48ae3 Set up a basic tracing system for all memory allocations to help track down memory leaks
svn-id: r44808
2009-10-09 08:15:30 +00:00
Paul Gilbert
de2e283492 Added code to launch the GMM save/load dialogues from the in-game Player menu, replacing the older code that just saved/loaded the game in a single slot without prompting
svn-id: r43685
2009-08-24 09:07:21 +00:00
Paul Gilbert
f15eb91d77 Added a delay to the in-game menu loop to prevent 100% CPU usage
svn-id: r42795
2009-07-26 09:09:07 +00:00
Paul Gilbert
db81b0a185 Added an explicit break out of the event processing loop for mouse buttons and/or key-presses - this should allow stylus-based systems to properly process 'mouse down' events before the 'mouse up' is processed
svn-id: r42558
2009-07-17 05:10:24 +00:00
Paul Gilbert
61f20f4d88 Bugfix to fade out any currently playing music when the game is restarted
svn-id: r41701
2009-06-20 07:36:12 +00:00
Paul Gilbert
2f3e5f11cb Beginnings of music support for Cruise, based on the cine engine sound code (note that the music played isn't yet correct, though)
svn-id: r41506
2009-06-14 03:39:30 +00:00
Paul Gilbert
3739d82f62 Bugfix to show the title screen at the correct speed when restarting the game
svn-id: r41208
2009-06-06 01:00:44 +00:00
Paul Gilbert
3c45ee20eb Properly named the dialog menu item 'selected' field
svn-id: r40632
2009-05-17 05:12:10 +00:00
Paul Gilbert
f53b4d3de4 Implemented the 'Start Again' menu option to properly restart the game
svn-id: r39981
2009-04-18 12:03:21 +00:00
Paul Gilbert
9efb96ce69 Changed the 'Exit' game menu option to exit gracefully, rather than using exit()
svn-id: r39980
2009-04-18 11:20:05 +00:00
Paul Gilbert
15252ad83c Added support for the global menu save/loading, and changed the savegame format to store the savegame name and thumbnail
svn-id: r39979
2009-04-18 10:16:08 +00:00
Paul Gilbert
d42d6122d9 Laid the basics for music handling
svn-id: r39786
2009-04-01 10:43:24 +00:00
Paul Gilbert
236b42bcff Formatting fixes
svn-id: r39086
2009-03-03 09:00:49 +00:00
Paul Gilbert
935e748e62 In progress work on cleaning up the font system - giving proper variable names, types, and converted memory accesses to endian safe structures
svn-id: r38540
2009-02-19 09:57:39 +00:00
Paul Gilbert
aa82c6fa7b Changed the list of language dependant strings from being hard-coded to dynamically being loaded from the 'delphine.lng' file
svn-id: r36317
2009-02-14 00:10:51 +00:00
Paul Gilbert
d3319ad6a8 Introduced a static string list for language dependant strings, and changed the options and inventory menus to use it
svn-id: r36051
2009-01-25 05:49:18 +00:00
Max Horn
4c5efaecf4 Code formatting fixes, automatically performed by astyle
svn-id: r35870
2009-01-16 02:43:41 +00:00
Vincent Hamm
564fc06cf7 Multiple fix/cleanup
One bug remains before the game is completable without hack

svn-id: r29920
2007-12-20 14:30:51 +00:00
Vincent Hamm
aa62d6355a Fix loading savegame from original interpreter
svn-id: r29901
2007-12-18 20:12:42 +00:00
Vincent Hamm
43437e6d74 Menu display fix
Linked objects implementation (barman)
The gameplay is now kind of working and it is possible to play at least the first part of the game

svn-id: r29478
2007-11-11 19:33:25 +00:00
Vincent Hamm
234024f19e Add more object menu controls
svn-id: r29312
2007-10-29 20:56:19 +00:00
Vincent Hamm
cc9b0844b9 Hooked inputs
Cleanup & fix in input management code

svn-id: r29267
2007-10-27 18:15:38 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
4a302b25ad Lots of source code formatting corrections
svn-id: r28887
2007-09-10 13:17:20 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
5aeb9d8b3e Several const correctness fixes
svn-id: r27011
2007-05-30 14:38:17 +00:00
Eugene Sandulenko
ffce26ebfe Fix code formatting (partially) and guard defines in includes.
svn-id: r26631
2007-04-27 22:33:45 +00:00
Max Horn
bead956c8d Fixing more warnings
svn-id: r26618
2007-04-27 19:59:40 +00:00
Max Horn
b4e196e4fd Fixing lots of warnings
svn-id: r26617
2007-04-27 19:54:14 +00:00
Filippos Karapetis
bfe346afd2 Fixed loads of warnings with MSVC and gcc
svn-id: r26615
2007-04-27 18:54:33 +00:00
Vincent Hamm
c01aa37caa Add cruise source code for scummvm
svn-id: r26605
2007-04-27 12:58:35 +00:00