38 Commits

Author SHA1 Message Date
Joost Peters
7927802873 cleanup
svn-id: r17539
2005-04-11 11:25:45 +00:00
Joost Peters
b4f0716912 more struct conversion
svn-id: r17538
2005-04-11 11:20:45 +00:00
Joost Peters
f9f8bf3070 convert some struct members - unfortunately we can't currently allocate memory and read the struct in "the proper way", as the engine still addresses data beyond it
svn-id: r17537
2005-04-11 10:55:22 +00:00
Nicolas Bacca
ee6deedb03 Add autodetection for WinCE (to be modified)
svn-id: r17527
2005-04-10 21:10:01 +00:00
Nicolas Bacca
e7dc5a24fd Get rid of posixism
svn-id: r17526
2005-04-10 21:09:27 +00:00
Joost Peters
f35ac50111 Some inter_variables cleanup.
Now it should store all variables in the native endianness, instead of storing half in LE and the other half in the native endianness.
Addresses and assignments can be tracked by modifying the macros if necessary.
Also, meaningful constants can now be assigned to script variable numbers (if one were so inclined)

svn-id: r17523
2005-04-10 17:13:17 +00:00
Joost Peters
53a64266c8 Apply "correct handling of transp in drawSprite()" patch by wjp.
(Colour 0 should only be skipped when transp is set)
Fixes wrong colour in intro and clearing of buffer after fades.

svn-id: r17511
2005-04-10 14:30:24 +00:00
Joost Peters
232860bc44 fix jumping goblin bug
svn-id: r17509
2005-04-10 13:07:02 +00:00
Joost Peters
e3fbf09035 fix another "x = y" type copy/paste bug, unfortunately this still doesn't fix the jumping goblin in the first scene
svn-id: r17507
2005-04-10 12:32:56 +00:00
Eugene Sandulenko
1ec5111b98 Fix jumping actor glitch. Thanks to joostp.
svn-id: r17492
2005-04-09 23:13:46 +00:00
Eugene Sandulenko
e7786320a6 Fix for put apple bug from wjp
svn-id: r17491
2005-04-09 21:16:34 +00:00
Max Horn
2efa0d17f2 Get rid of debug.cpp/.h -- it wasn't used anyway, and contained bad code (open/write/close to access a log file? yuck)
svn-id: r17486
2005-04-09 19:32:29 +00:00
Max Horn
9aaff636aa Fix legal header. Be careful when doing global search and replace! Better use full-word regex, to avoid problems like this
svn-id: r17485
2005-04-09 19:19:54 +00:00
Joost Peters
6553ed4d9b read index as LE value
svn-id: r17484
2005-04-09 18:14:01 +00:00
Joost Peters
4d626f867a Fix crash after dropping item on screen change - thanks wjp!
svn-id: r17483
2005-04-09 17:58:07 +00:00
Jonathan Gray
24c92d0091 Remove usage of vsprintf in favour of vsnprintf and make
more use of STRINGBUFLEN.  Some ports may need a new stub for
this, discussed with Chrilith.

svn-id: r17463
2005-04-09 01:52:44 +00:00
Eugene Sandulenko
aff66038f3 o Put numerous debug messages to deeper level and removed others
o Occasional indentation fixes
o Fixed bug with cursor. Thanks wjp. Now even gob1demo works but final screen which is not playable in original hangs here.

svn-id: r17462
2005-04-09 01:28:16 +00:00
Paweł Kołodziejski
5826b4eb91 fixed compilation and warnings
svn-id: r17457
2005-04-08 22:27:12 +00:00
Joost Peters
60a64494d1 use upper bits instead of lower bits when upscaling palette
svn-id: r17423
2005-04-06 19:18:08 +00:00
Eugene Sandulenko
e5b37bd2a2 Restore accidentally remove line
svn-id: r17415
2005-04-06 14:34:42 +00:00
Eugene Sandulenko
a1769f0eae o Implemented pDrawLetter
o F5 now can be used to open menu
o Minor cleanup

svn-id: r17414
2005-04-06 14:33:31 +00:00
Joost Peters
abe278b1ed more accurate palette
svn-id: r17412
2005-04-06 11:59:28 +00:00
Joost Peters
5d3dbc0d45 some endian fixes
svn-id: r17411
2005-04-06 11:39:22 +00:00
Travis Howell
94e1db9ea8 Excess ;
svn-id: r17404
2005-04-05 23:31:40 +00:00
Eugene Sandulenko
97a84cb18c Separate game initialization and game running little more. Though probably it needs more work.
svn-id: r17402
2005-04-05 18:49:58 +00:00
Max Horn
0ddbcc7845 Changed remaining file headers
svn-id: r17401
2005-04-05 18:08:02 +00:00
Max Horn
ebdb705ffd Remove useless casts
svn-id: r17400
2005-04-05 17:50:33 +00:00
Max Horn
1d14278fde Fixing lots of warnings
svn-id: r17399
2005-04-05 17:41:37 +00:00
Joost Peters
72f3868c1f fix warnings
svn-id: r17398
2005-04-05 17:05:12 +00:00
Torbjörn Andersson
da2dea39f5 Removed unused variable.
svn-id: r17397
2005-04-05 16:38:58 +00:00
Torbjörn Andersson
6ff4dff306 Fixed some of the warnings.
svn-id: r17396
2005-04-05 16:37:35 +00:00
Torbjörn Andersson
ed131fdad1 This change does not make sense to me, but GCC was screaming bloody murder
about not being able to find a matching call for `MAX(int16&, int)'.

svn-id: r17395
2005-04-05 16:33:38 +00:00
Torbjörn Andersson
3eddcd5da5 Added .cvsignore
svn-id: r17394
2005-04-05 16:30:44 +00:00
Torbjörn Andersson
91e889dc94 Fixed one warning. (Several to go.)
svn-id: r17393
2005-04-05 16:29:59 +00:00
Torbjörn Andersson
39ff74b40d Removed unused variables.
svn-id: r17392
2005-04-05 16:28:18 +00:00
Torbjörn Andersson
f8c0d3ebf4 This looks like a mistake to me...
svn-id: r17391
2005-04-05 16:25:51 +00:00
Eugene Sandulenko
862e03da66 Updated part of headers.
svn-id: r17390
2005-04-05 15:53:16 +00:00
Eugene Sandulenko
1758c5b211 Initial checking of Gob engine
svn-id: r17388
2005-04-05 15:07:40 +00:00