30 Commits

Author SHA1 Message Date
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
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel
d221176c47 CRUISE: Replace some strncpy with strlcpy.
svn-id: r53495
2010-10-15 14:14:33 +00:00
Nicola Mettifogo
0e6893d066 Added comment to explain pointer comparison. See r48092 and r48904.
svn-id: r48096
2010-02-20 12:29:34 +00:00
Paul Gilbert
734c922f16 Reverted commit 48092 - The comparison is explicitly intended to detect if the background table field was passed to the method, so it won't try to do a redundant copy to itself
svn-id: r48094
2010-02-20 10:32:25 +00:00
Johannes Schickel
41314a3561 strncpy does not always add a terminating zero, thus we need to do that on our own.
svn-id: r48093
2010-02-20 01:58:46 +00:00
Johannes Schickel
9b467ee4ff "const char *" strings should be compared via strcmp and not via !=/==.
svn-id: r48092
2010-02-20 01:57:34 +00:00
Paul Gilbert
b51568ddaf Increased the amount of space for storing background filenames to fix memory overflow
svn-id: r48091
2010-02-19 22:26:30 +00:00
Paul Gilbert
857a35f748 Fixed all memory leaks as far as the initial title screen
svn-id: r44814
2009-10-09 10:32:33 +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
49a4df3c8c Added Dirty Rect handling functionality
svn-id: r43406
2009-08-15 11:50:59 +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
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
Paul Gilbert
34d3d7c74d Code formatting, added further constant references, and corrected method signatures
svn-id: r39445
2009-03-16 09:45:37 +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
b2ab69f455 Fix palette issues
svn-id: r29989
2007-12-25 20:16:59 +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
2d9d0f1b1f -Fade in/fade out
-Implement background mode 5

svn-id: r29968
2007-12-24 01:05:36 +00:00
Vincent Hamm
aa62d6355a Fix loading savegame from original interpreter
svn-id: r29901
2007-12-18 20:12:42 +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
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
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
Eugene Sandulenko
ffce26ebfe Fix code formatting (partially) and guard defines in includes.
svn-id: r26631
2007-04-27 22:33:45 +00:00
Vincent Hamm
c01aa37caa Add cruise source code for scummvm
svn-id: r26605
2007-04-27 12:58:35 +00:00