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
Paul Gilbert
57b0038e5e
Converted the Cruise engine to use the new Common::Serializer class
...
svn-id: r39443
2009-03-16 09:17:49 +00:00
Paul Gilbert
979c1e0f6a
Fixed some method parameters, changed the main loop to a method of the engine class, and moved the frame delay code to the main loop to make the game more responsive to events
...
svn-id: r39180
2009-03-07 07:12:10 +00:00
Jordi Vilalta Prat
047f116515
Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
...
svn-id: r39132
2009-03-05 12:04:58 +00:00
Torbjörn Andersson
ea4f25fd30
Renamed parameter to silence warning.
...
svn-id: r39094
2009-03-03 19:49:50 +00:00
Paul Gilbert
eb610d66bd
Corrected click handling when a text message is displaying to properly dismiss the text, rather than trying to immediately perform another action
...
svn-id: r39088
2009-03-03 11:08:03 +00:00
Paul Gilbert
f3a9274a45
Changed the int16[5] array used in pathfinding to a structure with explicitly named fields
...
svn-id: r39087
2009-03-03 10:10:35 +00:00
Paul Gilbert
236b42bcff
Formatting fixes
...
svn-id: r39086
2009-03-03 09:00:49 +00:00
Paul Gilbert
2d9705311e
Bugfix for frequent freezes when doing actions - the main movement state switch statement was actually relying on falling through case statements to work properly
...
svn-id: r39066
2009-03-02 09:14:36 +00:00
Paul Gilbert
da6315bb4c
Formatting fixes, and added extra constants and function name corrections
...
svn-id: r39063
2009-03-02 08:32:38 +00:00
Paul Gilbert
ecb6b7bf54
Added an explicit clearing of all animation fields for new animations - this fixes a problem where the player could disappear if he had to rotate to face a selected object
...
svn-id: r39019
2009-03-01 08:28:10 +00:00
Max Horn
dd98126423
Engines: Fused several init&go methods into a single run method
...
svn-id: r39003
2009-03-01 04:42:46 +00:00
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Paul Gilbert
3fb5e15072
Formatting fixes
...
svn-id: r38996
2009-03-01 02:25:46 +00:00
Paul Gilbert
57c7593325
Implemented proper support for the Pause 'p' key
...
svn-id: r38995
2009-03-01 02:20:22 +00:00
Paul Gilbert
aa34628713
Cleaned up parts of the font display system. Note: Cruise used two almost identical routines for text display - one which creates a draw structure, and the other draws directly to the screen. Since there don't seem to be any other differences, the immediate draw version has been changed to use the rendering version and then draw the results
...
svn-id: r38994
2009-03-01 02:19:06 +00:00
Paul Gilbert
c51d5835a0
Moved mouse cursor definition data into staticres.cpp
...
svn-id: r38993
2009-03-01 02:16:44 +00:00
Paul Gilbert
59db1e85f3
Merged the contents of fontCharacterTable into staticres
...
svn-id: r38542
2009-02-19 11:08:11 +00:00
Paul Gilbert
b2c0f61817
Initial work on correct engine pausing
...
svn-id: r38541
2009-02-19 09:58:33 +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
fc6221e781
Moved a set of static arrays into the staticres.cpp file
...
svn-id: r38539
2009-02-19 09:55:40 +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
c2afb25ec5
Added debugger console
...
svn-id: r36259
2009-02-11 10:03:01 +00:00
Paul Gilbert
41eaf2c575
Removed deprecated method
...
svn-id: r36258
2009-02-11 09:02:30 +00:00
Paul Gilbert
0ff8d32675
Cleaned up the input loop, using ScummVM keycode constants and some newly defined constants
...
svn-id: r36255
2009-02-10 10:16:49 +00:00
Paul Gilbert
7238358e6e
Changed the save/load process to use a common serialiser
...
svn-id: r36253
2009-02-09 11:30:18 +00:00
Max Horn
7cb437b56f
Renamed SpecialDebugLevel to DebugChannel
...
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
28cf213605
Moved AdvancedDetector from common/ to engines/
...
svn-id: r36132
2009-01-29 22:13:01 +00:00
Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +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
Paul Gilbert
a27f4203e0
Minor cleanup and changed g_cruise to _vm for consistency
...
svn-id: r36050
2009-01-25 05:44:18 +00:00
Max Horn
e9f0fc21e8
Fixed class indention
...
svn-id: r35871
2009-01-16 05:04:49 +00:00
Max Horn
4c5efaecf4
Code formatting fixes, automatically performed by astyle
...
svn-id: r35870
2009-01-16 02:43:41 +00:00
Max Horn
42c46aa5a1
Mark cruise save/load code as not endian safe
...
svn-id: r35869
2009-01-16 01:48:55 +00:00
Travis Howell
b8fe877fa8
Add German, Italian and Spanish VGA versions of Cruise for a Corpse.
...
svn-id: r35669
2009-01-02 09:53:11 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
df20d264fd
Pushing down some header deps (on common/system.h, mostly)
...
svn-id: r35542
2008-12-25 20:40:00 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Eugene Sandulenko
297d4228d3
Patch #2054467 : CRUISE: 64bits fixes
...
svn-id: r34622
2008-09-21 10:23:22 +00:00
Filippos Karapetis
655bb0b165
Don't use fileName both as a structure and as a function parameter
...
svn-id: r34449
2008-09-08 14:00:26 +00:00
Filippos Karapetis
4019bb3e37
Silence MSVC warning about uninitialized variables
...
svn-id: r34298
2008-09-03 10:00:43 +00:00
Max Horn
0be985ce83
Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
...
svn-id: r33412
2008-07-29 16:09:10 +00:00
Kostas Nakos
f0df79bb88
adding a fixme
...
svn-id: r32844
2008-06-29 16:58:27 +00:00
Filippos Karapetis
2d9a194a55
Removed the now empty files stringSupport.cpp/.h
...
svn-id: r32510
2008-06-03 07:34:47 +00:00
Jordi Vilalta Prat
38a8aa516e
Allow static and dynamic plugins to be used at the same time
...
svn-id: r31888
2008-05-06 03:00:26 +00:00
Max Horn
29f1e6de38
Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
...
svn-id: r31413
2008-04-05 22:29:08 +00:00
Max Horn
6547ef6e12
Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
...
svn-id: r31121
2008-03-14 17:31:04 +00:00
Max Horn
8a9a14002e
Advanced Detector: Changed fallback detector from a callback function pointer to an overrideable method of AdvancedMetaEngine
...
svn-id: r31119
2008-03-14 13:59:31 +00:00
Max Horn
88bb567e18
Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
...
svn-id: r30871
2008-02-15 17:01:35 +00:00
Jordi Vilalta Prat
c103290e2b
Initial support for plugin types
...
svn-id: r30825
2008-02-08 00:02:23 +00:00
Max Horn
8a73356a2d
Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
...
svn-id: r30780
2008-02-03 18:56:47 +00:00
Torbjörn Andersson
e51bf80218
Changed "COMPATIBLITY" to "COMPATIBILITY".
...
svn-id: r30754
2008-02-03 10:15:36 +00:00
Max Horn
34b35348be
Moved AdvancedMetaEngine to namespace Common
...
svn-id: r30736
2008-02-02 11:52:04 +00:00
Jordi Vilalta Prat
5165ff448d
Converted the remaining engines to use MetaEngine
...
svn-id: r30728
2008-02-02 02:35:13 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Sven Hesse
884e1e9ae9
Muting the compiler (Sorry again, yaz0r :P)
...
svn-id: r30016
2007-12-27 17:47:31 +00:00
Vincent Hamm
c87ad51470
Nearly working pathfinder
...
svn-id: r30015
2007-12-27 17:37:38 +00:00
Vincent Hamm
f953ed4dde
Early pathfinding
...
svn-id: r30012
2007-12-27 12:05:43 +00:00
Max Horn
27bd7ef2f4
Added FIXME regarding fopen usage
...
svn-id: r29993
2007-12-25 23:20:46 +00:00
Sven Hesse
1796c147fc
Muting the compiler :P
...
svn-id: r29991
2007-12-25 21:17:35 +00:00
Vincent Hamm
1b62e2758c
Fix input
...
Fix timming
svn-id: r29990
2007-12-25 21:03:20 +00:00
Vincent Hamm
b2ab69f455
Fix palette issues
...
svn-id: r29989
2007-12-25 20:16:59 +00:00
Vincent Hamm
a3f1767009
Fix title screen regression
...
svn-id: r29988
2007-12-25 19:32:51 +00:00
Vincent Hamm
7159cc26df
Fix blinking character
...
svn-id: r29987
2007-12-25 18:36:08 +00:00
Vincent Hamm
a2d2f01835
Bunch of gfx fix
...
svn-id: r29986
2007-12-25 18:11:35 +00:00
Vincent Hamm
37d8bed89b
Fix cell sorting
...
Fix palette loading
svn-id: r29985
2007-12-25 16:37:12 +00:00
Vincent Hamm
be737e074d
Fix background save/restore
...
svn-id: r29979
2007-12-24 16:57:14 +00:00
Vincent Hamm
b6ec364eae
Fix save/loading
...
svn-id: r29977
2007-12-24 15:47:52 +00:00
Vincent Hamm
35b1521e68
Fix sprite mode 5
...
Fix backgroundIncrust system
svn-id: r29970
2007-12-24 02:59:23 +00:00
Vincent Hamm
2d9d0f1b1f
-Fade in/fade out
...
-Implement background mode 5
svn-id: r29968
2007-12-24 01:05:36 +00:00
Vincent Hamm
b9aaa43bfb
Fix palette manipulation code
...
Add one missing opcode
svn-id: r29928
2007-12-20 19:02:16 +00:00
Torbjörn Andersson
0e744e491b
Fixed compiler warning, and a potential (but very unlikely) out-of-bounds read.
...
svn-id: r29926
2007-12-20 18:52:05 +00:00
Vincent Hamm
094f174887
Fix title screen line drawing code
...
svn-id: r29925
2007-12-20 18:21:27 +00:00
Max Horn
1b285398b3
Fix compiler warnings
...
svn-id: r29922
2007-12-20 15:00:09 +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
5cc1313ffe
Fix dangling pointer
...
Fix low color background
Fix input
svn-id: r29897
2007-12-17 22:40:58 +00:00
Vincent Hamm
bfbf992907
Fix glitchy cell sorting
...
svn-id: r29895
2007-12-17 19:21:59 +00:00
Gregory Montoir
6d157c24b7
simplify gfxModuleData_field_60, sync with cine code
...
svn-id: r29837
2007-12-12 20:55:32 +00:00
Filippos Karapetis
f5a537d6f8
Changed some swaps to use the template SWAP
...
svn-id: r29829
2007-12-11 23:06:12 +00:00
Max Horn
d2ee52abba
Silencing some warnings
...
svn-id: r29479
2007-11-11 20:17:13 +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
1bae92f2e1
Implement dialogues
...
Detect french 256 colors version
svn-id: r29473
2007-11-11 01:04:40 +00:00
Vincent Hamm
31d04d98dc
Fix relocation of objects relations
...
svn-id: r29472
2007-11-10 23:20:47 +00:00
Sven Hesse
5908728d4c
Muting the compiler :P
...
svn-id: r29470
2007-11-10 19:51:06 +00:00
Vincent Hamm
34a696662a
Fix boggus object state
...
svn-id: r29469
2007-11-10 19:47:07 +00:00
Sven Hesse
d624add742
Muting the compiler :P
...
svn-id: r29468
2007-11-10 18:24:23 +00:00
Vincent Hamm
faf78d582a
-Cleanup strings
...
-Fix load saves from original interpreter
-Add all background merge functions
svn-id: r29467
2007-11-10 17:15:48 +00:00
Vincent Hamm
783a0bf67d
Cleanup load savegame from original interpreter
...
svn-id: r29453
2007-11-08 22:59:29 +00:00
Sven Hesse
780cb2f274
Muting the compiler :P
...
svn-id: r29425
2007-11-05 21:06:10 +00:00
Vincent Hamm
773d0dc3c6
Fix some 256color version issues
...
svn-id: r29423
2007-11-05 20:51:23 +00:00
Vincent Hamm
e2260d8afd
Implement polygon and sprite masking
...
svn-id: r29422
2007-11-05 20:24:20 +00:00
Sven Hesse
64f88225e1
Muting the compiler
...
svn-id: r29410
2007-11-04 13:03:40 +00:00
Sven Hesse
906a423fa7
Some code formating fixes
...
svn-id: r29409
2007-11-04 13:01:41 +00:00
Vincent Hamm
fa15952f09
Some more script functions
...
svn-id: r29408
2007-11-04 12:57:57 +00:00
Vincent Hamm
6e4037165d
Fix a few script issues
...
svn-id: r29397
2007-11-04 01:11:39 +00:00
Vincent Hamm
dcc71a36eb
Click on polygon detection
...
Object menu fix for doors
svn-id: r29395
2007-11-04 00:31:52 +00:00
Vincent Hamm
3fa3afb1fb
More polygon fix (nearly pixel perfect...)
...
svn-id: r29393
2007-11-03 23:59:54 +00:00
Vincent Hamm
3620b19b21
Fix build
...
svn-id: r29391
2007-11-03 22:47:19 +00:00
Vincent Hamm
121fc7d569
More polygon fix
...
svn-id: r29390
2007-11-03 22:44:27 +00:00
Eugene Sandulenko
c640d1c604
Patch #1825276 : "DETECTION: advanced detector engine simplification"
...
svn-id: r29386
2007-11-03 21:06:58 +00:00
Sven Hesse
c069051492
Unleashing the polygon virus! (I.e. fixing a compiler warning and a, what I think is a, logical error. Also changing swaps to use the template SWAP.)
...
svn-id: r29385
2007-11-03 13:46:45 +00:00
Vincent Hamm
3e3cfca83e
Early polygon rewrite
...
svn-id: r29383
2007-11-03 12:30:02 +00:00
Vincent Hamm
4521634286
Small cleanups
...
svn-id: r29352
2007-11-01 11:22:11 +00:00
Vincent Hamm
caa451f5d2
Implement more object input
...
svn-id: r29317
2007-10-29 22:03:55 +00:00
Sven Hesse
6e4cf615a3
Commenting out the unused variables x and y to mute GCC :P
...
svn-id: r29314
2007-10-29 21:06:58 +00:00
Vincent Hamm
2e1ffb91f5
Add missing vars
...
svn-id: r29313
2007-10-29 21:04:41 +00:00
Vincent Hamm
234024f19e
Add more object menu controls
...
svn-id: r29312
2007-10-29 20:56:19 +00:00
Vincent Hamm
0d2d2339fb
Early implementation of object menu
...
svn-id: r29296
2007-10-28 17:40:04 +00:00
Vincent Hamm
fc961908c5
Find object fix
...
Walk fix
svn-id: r29291
2007-10-28 14:41:37 +00:00
Max Horn
30b11df046
Fix warning & code formatting
...
svn-id: r29290
2007-10-28 13:57:43 +00:00
Vincent Hamm
4556690cc0
Implement cursor by object
...
Fix walk cursor
svn-id: r29288
2007-10-28 13:37:06 +00:00
Vincent Hamm
7860b90051
Implement cursors
...
svn-id: r29286
2007-10-28 13:21:01 +00:00
Sven Hesse
e76bf9c293
Muting GCC warnings
...
svn-id: r29268
2007-10-27 18:23:13 +00:00
Vincent Hamm
cc9b0844b9
Hooked inputs
...
Cleanup & fix in input management code
svn-id: r29267
2007-10-27 18:15:38 +00:00
Vincent Hamm
102764da6e
Add fast forward mode
...
svn-id: r29265
2007-10-27 16:10:50 +00:00
Eugene Sandulenko
77eea722af
Modified patch #1738058 : "Action recorder".
...
svn-id: r28968
2007-09-19 13:55:05 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
3abc11611e
Code formatting fixes
...
svn-id: r28945
2007-09-18 20:16:33 +00:00