Paul Gilbert
6bbe30f44b
Game now completely starts up without memory leaks
...
svn-id: r44862
2009-10-10 04:47:18 +00:00
Paul Gilbert
df3fbd432d
Further memory leak fixes
...
svn-id: r44861
2009-10-10 04:15:38 +00:00
Max Horn
23ded6d955
Fix warning
...
svn-id: r44819
2009-10-09 12:01:22 +00:00
Paul Gilbert
857a35f748
Fixed all memory leaks as far as the initial title screen
...
svn-id: r44814
2009-10-09 10:32:33 +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
5d7caf3ca9
Added a +1 for dirty rectangle calculation so final column of changed area is included
...
svn-id: r44551
2009-10-03 08:59:11 +00:00
Paul Gilbert
78578a042f
Bugfix for dirty rects getting lost during room fade-ins
...
svn-id: r44536
2009-10-02 13:13:47 +00:00
Paul Gilbert
a5df07f56a
Bugfix for the dirty rects for drawn sprites when the sprite is partially off-screen
...
svn-id: r44372
2009-09-26 04:37:19 +00:00
Paul Gilbert
7f1b50f300
Dirty rects fix for pixels remaining on screen changes
...
svn-id: r44371
2009-09-26 04:13:44 +00:00
Filippos Karapetis
b4f1960318
Reverted parts of revisions #44298 , #44299 and #44300 , to prevent warnings and issues in compilers which don't support NORETURN
...
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
a983c88e37
Reverted parts of revisions #44292 , #44293 , #44295 and #44296 , to prevent warnings and issues in compilers which don't support NORETURN
...
svn-id: r44312
2009-09-24 17:24:42 +00:00
Filippos Karapetis
f2c4bd514f
Changed createResFileEntry() to error out again
...
svn-id: r44301
2009-09-24 10:24:12 +00:00
Filippos Karapetis
16d7d9ba23
Fixed some more warnings about unreachable code
...
svn-id: r44299
2009-09-24 10:02:13 +00:00
Filippos Karapetis
db63b401a6
CRUISE: Fixed some warnings about unreachable code
...
svn-id: r44293
2009-09-24 09:40:12 +00:00
Paul Gilbert
92e75a768a
Removed redundant offset from dirty rect calculation logic
...
svn-id: r44270
2009-09-23 10:58:17 +00:00
Johannes Schickel
346ce3f3da
Add preliminary support for German Amiga version.
...
svn-id: r44077
2009-09-14 12:24:23 +00:00
Paul Gilbert
4fc8fe8023
Added an experimental screen transition dirty rect calculation code which should make background changes faster on slower devices or when scalers are active
...
svn-id: r44032
2009-09-11 11:36:16 +00:00
Paul Gilbert
bb94053960
Bugfix for the boundaries of changing objects used for dirty rect calculations
...
svn-id: r44031
2009-09-11 11:02:15 +00:00
Paul Gilbert
1f39c1b569
Bugfix for freeze when the in-game Pause 'P' key is used
...
svn-id: r43690
2009-08-24 10:23:22 +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
58ec3e67ef
Switched event loop while/do to do/while, to ensure event handling occurs even when the game is under heavy load
...
svn-id: r43471
2009-08-17 11:51:42 +00:00
Paul Gilbert
86fdd698ad
Added detection entry for the UK 16 colour version
...
svn-id: r43434
2009-08-16 12:03:48 +00:00
Johannes Schickel
02e3f31bf5
Added const qualifiers to static data.
...
svn-id: r43411
2009-08-15 14:59:11 +00:00
Paul Gilbert
49a4df3c8c
Added Dirty Rect handling functionality
...
svn-id: r43406
2009-08-15 11:50:59 +00:00
Paul Gilbert
a9e55b2f91
Removed redundant code related to Midi handling
...
svn-id: r43171
2009-08-09 12:23:01 +00:00
Paul Gilbert
6046b8f134
Slight adjustment to Spanish font lookup table, based on mac_es's description of character lookup problems
...
svn-id: r43155
2009-08-09 01:45:39 +00:00
Paul Gilbert
1cf0eb1727
Bugfix to correctly reset the music tempo when loading a savegame
...
svn-id: r43023
2009-08-03 09:28:06 +00:00
Paul Gilbert
ef8597d806
Fix bug with the event loop that was discarding pending events rather than leaving them to be processed in the following frame
...
svn-id: r42965
2009-07-31 23:27:19 +00:00
Max Horn
3f673b899d
Patch #2828669 : CRUISE: Fix cruise compilation with mingw32ce toolchain
...
svn-id: r42950
2009-07-30 21:45:09 +00:00
Paul Gilbert
1fea43ab19
Added the character lookup table for the Spanish font
...
svn-id: r42920
2009-07-30 11:03:16 +00:00
Joost Peters
6d18ada7ef
fix/workaround for cruise crash on OSX
...
svn-id: r42826
2009-07-26 21:06:53 +00:00
Paul Gilbert
ad7762ad16
Added a debug line to allow tracking of script execution
...
svn-id: r42799
2009-07-26 09:48:52 +00:00
Paul Gilbert
da4367096e
Bugfix for mouse button clicks getting counted multiple times
...
svn-id: r42798
2009-07-26 09:40:35 +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
Joost Peters
81b508e98a
use READ_UINT16 macro
...
svn-id: r42780
2009-07-25 18:35:27 +00:00
Joost Peters
ddd2b29bee
fix another aligned write
...
svn-id: r42753
2009-07-25 13:07:17 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Joost Peters
24ca40eea5
fix unaligned writes
...
svn-id: r42747
2009-07-25 12:28:45 +00:00
Paul Gilbert
6235f9e176
Minor tweak to prevent mouse clicks that close a user wait message also being further interpreted as a user walk destination
...
svn-id: r42578
2009-07-18 01:22:43 +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
324ba3703b
Bugfix to cursor updates - it previously required that both X and Y positions had changed before a cursor change could occur
...
svn-id: r42472
2009-07-14 10:55:51 +00:00
Paul Gilbert
fb631a7f38
Bugfix for player being able to walk through some objects against room walls
...
svn-id: r42471
2009-07-14 10:26:56 +00:00
Paul Gilbert
f278432144
Added support for sub-relation message types - this fixes trying to attach the chain to the hook on the deck
...
svn-id: r42405
2009-07-12 07:23:50 +00:00
Paul Gilbert
2c96ca84f3
Added initialisation of paging screens when the game starts
...
svn-id: r42370
2009-07-11 05:14:42 +00:00
Paul Gilbert
99d81ac2ed
Active background screens are now properly freed when the game exits
...
svn-id: r42369
2009-07-11 05:12:17 +00:00
Paul Gilbert
dd9b6fffff
Bugfix to show the mouse cursor when restarting the game after returning to launcher
...
svn-id: r42368
2009-07-11 05:10:13 +00:00
Paul Gilbert
b50b5ae5a4
Removed the shooting workaround delay - the overlay number can vary, so it isn't a reliable way of identifying the specific message
...
svn-id: r42205
2009-07-07 07:41:02 +00:00
Paul Gilbert
3dd21aa218
Fix to the return values of the Op_GetMouseButton library function now allows the game's "Fisticuffs path" to work properly
...
svn-id: r42199
2009-07-07 06:23:09 +00:00
Paul Gilbert
7cc82cfea1
Added workaround to briefly pause when displaying the first message of the shooting cut-scene, so it can be read properly
...
svn-id: r42198
2009-07-07 02:51:42 +00:00
Paul Gilbert
5270c82523
Bugfix so that user delays work correctly
...
svn-id: r42197
2009-07-07 02:49:33 +00:00
Paul Gilbert
7f7edabbdd
Bugfix so the game speed will correctly change after showing the credits when the game is restarted
...
svn-id: r42196
2009-07-07 01:14:55 +00:00
Paul Gilbert
3abc1e8375
Removed all the current special cases coding for user (mouse press) waiting, and reimplemented it exactly the way the original did
...
svn-id: r42173
2009-07-06 12:33:05 +00:00
Paul Gilbert
08df8dc272
Bugfix for node enabling/disabling, which was previously allowing the player to walk through closed doors and into the walls
...
svn-id: r42162
2009-07-06 02:46:59 +00:00
Paul Gilbert
48d164a498
Bugfix for word-wrapping of text, which sometimes failed for strings with special characters
...
svn-id: r42115
2009-07-05 07:21:17 +00:00
Paul Gilbert
d81bbae875
Bugfix for displaying text messages when an auto tracking (cut-scene) changes to a user wait
...
svn-id: r42048
2009-07-03 06:21:04 +00:00
Paul Gilbert
3190bf68f2
Bugfix for loading savegames where the active resource file database isn't completely filled
...
svn-id: r42047
2009-07-03 06:19:20 +00:00
Max Horn
a6b57dc3a9
- Added GCC_PRINTF attribute to several funcs where it makes sense
...
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings
svn-id: r42009
2009-07-01 20:51:04 +00:00
Paul Gilbert
f9298ff403
Made the music/sfx volume settings actually affect the in-game music/sfx volume
...
svn-id: r41975
2009-06-30 10:36:50 +00:00
Johannes Schickel
6c049f6b29
Silence unsued variables warnings.
...
svn-id: r41827
2009-06-24 17:01:01 +00:00
Paul Gilbert
510700b086
Bugfixes to keep sound effects to channel #4 like the original (it ignores the channel parameter to the given library routine)
...
svn-id: r41787
2009-06-23 01:01:16 +00:00
Paul Gilbert
4f631e9a89
Removed redundant variation of the routine to play sound effects
...
svn-id: r41763
2009-06-22 10:41:32 +00:00
Paul Gilbert
640f322194
Added the dummy volume variable to the savegame format
...
svn-id: r41749
2009-06-22 06:35:08 +00:00
Paul Gilbert
8dfbd0f845
Implemented the Op_SetVolume method like the original, which simply set a dummy variable and never actually changed the volume
...
svn-id: r41748
2009-06-22 06:17:50 +00:00
Paul Gilbert
b14fa66f9f
Minor fixes to the individual note playing code
...
svn-id: r41726
2009-06-21 11:53:11 +00:00
Paul Gilbert
31f40cd47e
Changed .SPL (sound effect) loading to load the Adlib version of sound effects - sound effects now work
...
svn-id: r41725
2009-06-21 11:42:45 +00:00
Paul Gilbert
382af0407f
Bugfixes to pre-loading and handling of resources such as sound files
...
svn-id: r41724
2009-06-21 05:13:29 +00:00
Paul Gilbert
6cc4140cf4
Changed many file reads and manual conversions from endian format to instead use file readSint16BE/readSint32BE calls
...
svn-id: r41709
2009-06-20 12:02:08 +00:00
Paul Gilbert
31ace2c66c
Implemented the library function Op_SongExist
...
svn-id: r41703
2009-06-20 08:15:39 +00:00
Paul Gilbert
4f622ab295
Added proper saving of music state to savegames so music resumes when a savegame is loaded.
...
svn-id: r41702
2009-06-20 08:15:01 +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
8cda2728eb
Finally tracked down the difference/bug in the music playing code - music playback now works
...
svn-id: r41700
2009-06-20 06:48:47 +00:00
Paul Gilbert
9651257a3e
Removed redundant code that isn't used
...
svn-id: r41630
2009-06-18 11:37:45 +00:00
Johannes Schickel
5f5faf71c5
Fix unused variable warning.
...
svn-id: r41507
2009-06-14 11:08:35 +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
e487347921
Added support for loading savegames from the launcher
...
svn-id: r41424
2009-06-10 12:16:30 +00:00
Paul Gilbert
f2c1b18242
Added variable to savegame format so that savegames can be correctly loaded from the ScummVM launcher
...
svn-id: r41423
2009-06-10 12:15:50 +00:00
Eugene Sandulenko
1bd6f6c99f
Added game GUI options to advancedDetector and updated all engines
...
svn-id: r41272
2009-06-06 17:56:41 +00:00
Paul Gilbert
93375bddf0
Disabled the execution of scripts when doing a user wait - this prevents animated backgrounds from jerking to new positions once the mouse has been pressed
...
svn-id: r41210
2009-06-06 01:39:08 +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
95a4ea15b5
Bugfix for display when multiple user waits follow each other
...
svn-id: r41207
2009-06-06 00:53:08 +00:00
Paul Gilbert
862d1cf42b
Tweaks to the code that pauses for a mouse press when displaying many text messages
...
svn-id: r41196
2009-06-05 12:20:42 +00:00
Joost Peters
5f7515162a
Capitalize the C in Corpse
...
svn-id: r41110
2009-06-01 20:55:31 +00:00
Joost Peters
ce1c5e2c0b
change pathfinding variables from char to int8 to ensure signedness
...
svn-id: r41109
2009-06-01 20:53:19 +00:00
Joost Peters
c7d181d107
don't use FROM_LE_* macros on font data, as it already is in native endianness
...
svn-id: r41108
2009-06-01 19:53:11 +00:00
Joost Peters
12837c968c
Change flip[Short|Long] functions to bigEndian[Short|Long]ToNative to clarify that flipping only occurs on LE systems + some related cleanup.
...
svn-id: r41107
2009-06-01 19:29:04 +00:00
Paul Gilbert
18f5ef8234
Disabled an old script interpreter hack
...
svn-id: r41099
2009-06-01 10:17:34 +00:00
Paul Gilbert
b81270fbc0
Removed some out of date TODO's
...
svn-id: r41098
2009-06-01 09:18:48 +00:00
Paul Gilbert
2abbcd54a4
Replaced loadShort/saveShort functions with applicable endian macros
...
svn-id: r41097
2009-06-01 09:09:44 +00:00
Paul Gilbert
5bb449b2bf
Removed the remaining two FIXME's - my analysis of the data indicates no issues with structure packing, and all multi-byte data accesses are wrapped using loadShort/saveShort, which is endian safe
...
svn-id: r41096
2009-06-01 08:46:39 +00:00
Paul Gilbert
4269c3a4ea
Converted the saving of perso structure data to proper endian-safe serialisation
...
svn-id: r41093
2009-06-01 03:27:54 +00:00
Paul Gilbert
555d4038cc
Slowed down the game to match the original, and introduced the ability to alter game speed using the keypad +/- keys
...
svn-id: r41064
2009-05-31 11:37:21 +00:00
Paul Gilbert
f94025f482
Merged the wait for mouse press event loop into the main loop, fixing animation glitch and enabling pausing, player menu, and exiting the game when waiting for a mouse press
...
svn-id: r41063
2009-05-31 10:14:41 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Paul Gilbert
a6abd5c2fc
Bugfix to keep ScummVM responsive even when the displayOn variable is set to false
...
svn-id: r41017
2009-05-30 05:16:35 +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
Paul Gilbert
b2751ff506
Reduced the word spacing width by one pixel to precisely match the original game
...
svn-id: r40987
2009-05-29 12:04:13 +00:00
Paul Gilbert
1b5a9504dc
Bugfix for rendering text that caused corruption when the width was an odd number and a line was completely filled
...
svn-id: r40985
2009-05-29 11:47:32 +00:00
Paul Gilbert
682d95ff59
Bugfix for screen redrawing when waiting for mouse click - this fixes a blank screen at 3:00pm
...
svn-id: r40981
2009-05-29 10:52:34 +00:00
Paul Gilbert
2ae183a483
Fix for pathfinding bug that could occasionally stop the player from moving
...
svn-id: r40960
2009-05-28 12:16:23 +00:00
Paul Gilbert
f0e69a7d0b
Replaced the original implementation of walk box handling with a cleaner, structure array based one
...
svn-id: r40954
2009-05-28 08:49:56 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Paul Gilbert
b993eba6a5
Removed the line feed workaround, and added explicit int16 castings to the FROM_LE_16 macros in the font system - this fixes a bug in the engine, allowing it to properly handle all non-printable characters correctly
...
svn-id: r40858
2009-05-24 11:37:24 +00:00
Paul Gilbert
57e104c625
Fixed the display glitch associated with the animated handle in the engine room
...
svn-id: r40851
2009-05-24 04:29:44 +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
42cd218400
Improved Common::Serializer in several ways:
...
* Added support versioned serialization
* Added a convenience API for handling 'magic IDs' transparently
* Exposed the err()/clearErr() methods of the underlying streams
* Added a basic unit test for versioned loading (more should be added, in particular for saving)
* Removed the syncString(char *, uint16) alias for syncBytes(byte *buf, uint32 size)
svn-id: r40723
2009-05-19 11:23:13 +00:00
Paul Gilbert
7d6287dee7
Endian fix in script data access
...
svn-id: r40641
2009-05-17 10:01:21 +00:00
Paul Gilbert
dcca3197fc
Properly named the script structure offset field, and fixed an endian bug
...
svn-id: r40634
2009-05-17 06:59:19 +00:00
Paul Gilbert
17f468bb02
Removed the obsolete game Id list - it seems redundant, and stops the warning message coming up about Target 'cruise' upgraded to 'cruise'
...
svn-id: r40633
2009-05-17 05:14:55 +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
1a427f8a98
Added the font character lookup table for the German version of the game
...
svn-id: r40621
2009-05-16 11:16:34 +00:00
Paul Gilbert
e994b94c81
Added a workaround for a discrepancy in the English version - one of the long messages had a LF in the middle of a word
...
svn-id: r40618
2009-05-16 04:50:52 +00:00
Paul Gilbert
7ca0ca1dab
Corrected mixed up parameter usage in the LoadFile method
...
svn-id: r40617
2009-05-16 04:04:35 +00:00
Paul Gilbert
358be385b5
Replaced value with proper constant, and named a previously un-named structure field
...
svn-id: r40616
2009-05-16 04:03:37 +00:00
Paul Gilbert
c3cf7420bd
Fixed incorrect pathfinding data entry being deleted when a temporary actor animation is removed
...
svn-id: r40615
2009-05-16 00:33:49 +00:00
Paul Gilbert
adaa0472c5
Bugfix to saving the width of a cached background area - the previous code was, for some reason, saving the width divided by 2.. this was causing corruptions during reload for cached areas with an odd horizontal width
...
svn-id: r40595
2009-05-15 07:03:56 +00:00
Paul Gilbert
464b8cc7f3
Corrected saving/loading of cached background areas
...
svn-id: r40594
2009-05-15 06:46:56 +00:00
Paul Gilbert
5e5098bb96
Bugfix to prevent off-screen areas from being restored by restoreBackground
...
svn-id: r40593
2009-05-15 06:36:44 +00:00
Torbjörn Andersson
24604dfa22
Yet another strcpy() where source and destination may be the same...
...
svn-id: r40591
2009-05-15 04:59:45 +00:00
Paul Gilbert
b7af9831da
Fixes for the backupBackground method when X < 0
...
svn-id: r40590
2009-05-15 04:54:45 +00:00
Paul Gilbert
bb45be960d
Converted various printf statements to use debug, warning, and error.
...
svn-id: r40588
2009-05-15 04:35:47 +00:00
Paul Gilbert
03f5ad5cbb
Bugfix for loadSetEntry to ensure graphics get allocated enough space. It's not exactly the way the original did it, but should suffice to ensure grahpics have sufficient space
...
svn-id: r40587
2009-05-15 04:07:10 +00:00
Paul Gilbert
cf62299c4a
Removed standard library includes - they were marked with a FIXME to remove, and the current compilation under both MSVC8 and MinGW doesn't seem to need them.
...
svn-id: r40586
2009-05-15 03:52:30 +00:00
Paul Gilbert
fc87b82861
Fixed a memory leak in the new unified decodeGfxUnified decoder method
...
svn-id: r40585
2009-05-15 02:18:51 +00:00
Paul Gilbert
fe795a739e
Converted some code from fopen to Common::File - it's not currently used, but just in case it's needed in the future
...
svn-id: r40584
2009-05-15 02:12:11 +00:00
Johannes Schickel
f0182121f7
Fix some variable may be used uninitialized warnings.
...
svn-id: r40528
2009-05-13 18:12:17 +00:00
Paul Gilbert
a6cf2bf2b1
Reintroduced language string lists as a fallback for DELPHINE.LNG, since not all versions have this file
...
svn-id: r40522
2009-05-13 12:31:30 +00:00
Paul Gilbert
57caa94081
Moved the construction of _sound and _music to the constructor, in case the run() method exits before initiaze is called
...
svn-id: r40520
2009-05-13 11:43:24 +00:00
Torbjörn Andersson
6372a3f527
Surely this function is supposed to return -2 when the memory allocation
...
*fails*, not when it succeeds...?
svn-id: r40510
2009-05-12 20:13:42 +00:00
Torbjörn Andersson
0cc6b88f58
When source and destination are the same, there is no need to strcpy(). In fact
...
it may even be harmful when source and destination overlap. (This happens when
loading savegames.)
svn-id: r40508
2009-05-12 20:03:10 +00:00
Torbjörn Andersson
9c18a12fa0
Fixed what looks like an obvious error in loadSong() that Valgrind caught.
...
svn-id: r40504
2009-05-12 19:24:11 +00:00
Paul Gilbert
4aedfc75f8
Changed the hardcoded 'Parler de..' string in the conversation dialog to use the correct language string
...
svn-id: r40477
2009-05-12 10:20:12 +00:00
Paul Gilbert
70472c79cd
Commit of patch submitted by Jaime Abraham Corrales Gonzalez, with minor formatting changes
...
svn-id: r40368
2009-05-07 09:49:13 +00:00
Torbjörn Andersson
e9e9725946
Added detection entry for the German 16-colour version, which was included on
...
the "Classic Collection" CD I just bought.
svn-id: r40330
2009-05-05 16:58:54 +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
Torbjörn Andersson
f5fb20680f
Apart from a "const", the volume() and getVolume() function were identical.
...
Removed the volume() function.
svn-id: r39868
2009-04-05 15:58:27 +00:00
Paul Gilbert
5f1c08505f
Implemented many of the remaining library functions
...
svn-id: r39857
2009-04-05 07:52:21 +00:00
Paul Gilbert
d90a343790
Created stub manager class for sound effects
...
svn-id: r39856
2009-04-05 07:51:31 +00:00
Paul Gilbert
07fb7735b5
Replaced all occurrences of the constant '257' with the existing constant 'NUM_FILE_ENTRIES'
...
svn-id: r39824
2009-04-04 01:21:25 +00:00
Paul Gilbert
121f174d61
Fixed incorrect palette range usage so room fade-ins happen correctly
...
svn-id: r39822
2009-04-03 23:27:38 +00:00
Johannes Schickel
44025f03d5
Fix compilation via manually implementing strToUpper, instead of relying on strupr.
...
svn-id: r39791
2009-04-01 14:02:55 +00:00
Johannes Schickel
bf94fc6e4e
Fix warnings.
...
svn-id: r39790
2009-04-01 14:00:17 +00:00
Paul Gilbert
f0456d67a8
Laid the basics for music handling
...
svn-id: r39788
2009-04-01 11:03:06 +00:00
Paul Gilbert
d42d6122d9
Laid the basics for music handling
...
svn-id: r39786
2009-04-01 10:43:24 +00:00
Paul Gilbert
d093adbb55
Replaced resource type numbers with existing constants
...
svn-id: r39785
2009-04-01 10:38:14 +00:00
Paul Gilbert
ab31f46676
Corrected the positions of two library functions in the library function list
...
svn-id: r39699
2009-03-26 11:16:34 +00:00
Max Horn
48d73ff6bf
CRUISE: Fixed bug when loading backgroundIncrustStruct::saveWidth (don't divide by 2, rather *multiply* by 2); also some cleanup
...
svn-id: r39657
2009-03-24 11:30:37 +00:00
Paul Gilbert
117d72e497
Bug fixes for handling 5-bit layered sprites correctly - this fixes the black boxes appearing in the first room during the fade-in
...
svn-id: r39604
2009-03-22 09:37:49 +00:00
Paul Gilbert
34d3d7c74d
Code formatting, added further constant references, and corrected method signatures
...
svn-id: r39445
2009-03-16 09:45:37 +00:00