3cb8ed77a3
classic F-1 Spirit game in that you first have to clear tracks in a top-down view with stock cars, rally cars and so on by accumulating points given for finishing in the first places until you actually get to play the Formula 1 tracks. Otherwise there are quite some enhancements, namely improved graphics, improved music, more realistic physics, real shape shown in the maps, camera rotation and zoom, split screen for up to four players, (online) highscore tables and replay saving. WWW: http://www.braingames.getput.com/f1spirit/default.asp PR: ports/123686 Submitted by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
12 lines
403 B
C++
12 lines
403 B
C++
--- sources/F1SpiritGame.cpp.orig 2006-02-18 13:33:34.000000000 +0300
|
|
+++ sources/F1SpiritGame.cpp 2008-05-17 04:03:21.000000000 +0400
|
|
@@ -1615,7 +1615,8 @@
|
|
struct tm *today;
|
|
|
|
gettimeofday(&ttime, NULL);
|
|
- today=localtime(&(ttime.tv_sec));
|
|
+ time_t tmp = ttime.tv_sec;
|
|
+ today=localtime(&tmp);
|
|
|
|
fputc(today->tm_year,replay_fp);
|
|
fputc(today->tm_mon,replay_fp);
|