Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
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
236b42bcff Formatting fixes
svn-id: r39086
2009-03-03 09:00:49 +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
59db1e85f3 Merged the contents of fontCharacterTable into staticres
svn-id: r38542
2009-02-19 11:08:11 +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
Max Horn
4c5efaecf4 Code formatting fixes, automatically performed by astyle
svn-id: r35870
2009-01-16 02:43:41 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Vincent Hamm
f953ed4dde Early pathfinding
svn-id: r30012
2007-12-27 12:05:43 +00:00
Vincent Hamm
be737e074d Fix background save/restore
svn-id: r29979
2007-12-24 16:57:14 +00:00
Vincent Hamm
aa62d6355a Fix loading savegame from original interpreter
svn-id: r29901
2007-12-18 20:12:42 +00:00
Filippos Karapetis
f5a537d6f8 Changed some swaps to use the template SWAP
svn-id: r29829
2007-12-11 23:06:12 +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
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
Vincent Hamm
b563363911 Fix extended characters in font
Implement palette manipulation

svn-id: r26637
2007-04-28 00:26:57 +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
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
Sven Hesse
1ef6a1a7a1 Fixing compilation for me
svn-id: r26610
2007-04-27 15:35:28 +00:00
Vincent Hamm
c01aa37caa Add cruise source code for scummvm
svn-id: r26605
2007-04-27 12:58:35 +00:00