Commit Graph

160 Commits

Author SHA1 Message Date
Guus Sliepen 0f278a2748 Enable double buffering.
This seems to improve performance (probably because this prevents the
need to lock the screen surface), and might get rid of tearing.
2011-08-24 20:01:40 +02:00
Guus Sliepen 943a4c7bf3 Simplify printing time taken for missions.
This removes a lot of lines while at the same time preventing printing a string
onto itself, which is a bug. Problem was found by cppcheck.
2011-08-24 16:01:36 +02:00
Guus Sliepen b9fded8131 Use delete[] after new array[].
Found by cppcheck.
2011-08-24 14:46:34 +02:00
Guus Sliepen f2c91cbb19 Remove unnecessary dereferencing after pointer increments. 2011-08-24 14:44:40 +02:00
Guus Sliepen 0910cd3db6 Add const to all char * function parameters. 2011-08-24 14:42:59 +02:00
Guus Sliepen 87730b0687 No need to typedef structs in C++. 2011-08-24 14:32:45 +02:00
Guus Sliepen 91bdcd8f37 SDL header files should be #included in angled brackets. 2011-08-24 14:28:39 +02:00
Guus Sliepen 5bf8d0f269 Apply patch from Debian fixing a potential SIGFPE. 2011-08-24 14:23:29 +02:00
Guus Sliepen 62d503d002 Apply patch from Debian fixing several overflows. 2011-08-24 14:23:02 +02:00
Guus Sliepen 09b007411c Import of version 1.1 minus music, sound and graphics. 2011-08-24 14:14:44 +02:00