Commit Graph

69 Commits

Author SHA1 Message Date
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
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
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +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
bb45be960d Converted various printf statements to use debug, warning, and error.
svn-id: r40588
2009-05-15 04:35:47 +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
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
Paul Gilbert
d42d6122d9 Laid the basics for music handling
svn-id: r39786
2009-04-01 10:43:24 +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
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
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
Paul Gilbert
57c7593325 Implemented proper support for the Pause 'p' key
svn-id: r38995
2009-03-01 02:20:22 +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
a27f4203e0 Minor cleanup and changed g_cruise to _vm for consistency
svn-id: r36050
2009-01-25 05:44:18 +00:00
Max Horn
4c5efaecf4 Code formatting fixes, automatically performed by astyle
svn-id: r35870
2009-01-16 02:43:41 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +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
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
be737e074d Fix background save/restore
svn-id: r29979
2007-12-24 16:57:14 +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
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
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
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
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
caa451f5d2 Implement more object input
svn-id: r29317
2007-10-29 22:03:55 +00:00
Vincent Hamm
234024f19e Add more object menu controls
svn-id: r29312
2007-10-29 20:56:19 +00:00
Vincent Hamm
fc961908c5 Find object fix
Walk fix

svn-id: r29291
2007-10-28 14:41:37 +00:00
Vincent Hamm
7860b90051 Implement cursors
svn-id: r29286
2007-10-28 13:21:01 +00:00
Eugene Sandulenko
77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +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