Commit Graph

41 Commits

Author SHA1 Message Date
Daniel Plakhotich
fa56325aa2 CRUISE: Fix font space width 2016-12-10 13:12:41 +02:00
Daniel Plakhotich
3f71e2456c CRUISE: font: Don't overwrite transparent pixels 2016-12-09 19:59:19 +02:00
Strangerke
1dbcd74988 CRUISE: Reduce the scope of variables used in the for loops 2014-06-01 01:21:32 +02:00
Strangerke
13cc433fb6 CRUISE: error out in some cases where divide by zero is expected 2014-06-01 00:18:08 +02:00
Strangerke
6283e7f423 CRUISE: Add a couple of safeguards to avoid potential division by zero 2014-05-31 18:06:32 +02:00
Max Horn
4d02f67bd1 ALL: Resolve multiple clang warnings 2014-03-30 14:38:02 +02:00
Johannes Schickel
00b6dfe9cf CRUISE: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
84184aabc0 ALL: colour -> color 2011-04-14 14:12:35 +02:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +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
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
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