|
From: <cro...@li...> - 2005-03-26 19:19:22
|
Module Name: client
Committed By: akirschbaum
Date: Sat Mar 26 19:19:14 UTC 2005
Modified Files:
client: ChangeLog
client/gtk-v2/src: map.c
Log Message:
gtk-v2/src/map.c: Fix typo to make it compile without opengl.
Start of context diffs
Index: client/ChangeLog
diff -c client/ChangeLog:1.5 client/ChangeLog:1.6
*** client/ChangeLog:1.5 Mon Mar 21 23:22:54 2005
--- client/ChangeLog Sat Mar 26 11:19:12 2005
***************
*** 1,8 ****
! "$Id: ChangeLog,v 1.5 2005/03/22 07:22:54 mwedel Exp $"
Top of CVS tree:
------------------------------------------------------------------------------
Main change of this is addition of opengl drawing for the map in the gtk-v2
client. On my system, the opengl code is about 10 times faster than the
sdl code was, making it so I can turn on all the bells and whistles (smoothing,
--- 1,11 ----
! "$Id: ChangeLog,v 1.6 2005/03/26 19:19:12 akirschbaum Exp $"
Top of CVS tree:
------------------------------------------------------------------------------
+ gtk-v2/src/map.c: Fix typo to make it compile without opengl.
+ Andreas Kirschbaum 2005-03-26
+
Main change of this is addition of opengl drawing for the map in the gtk-v2
client. On my system, the opengl code is about 10 times faster than the
sdl code was, making it so I can turn on all the bells and whistles (smoothing,
Index: client/gtk-v2/src/map.c
diff -c client/gtk-v2/src/map.c:1.4 client/gtk-v2/src/map.c:1.5
*** client/gtk-v2/src/map.c:1.4 Wed Mar 23 14:19:01 2005
--- client/gtk-v2/src/map.c Sat Mar 26 11:19:13 2005
***************
*** 1,5 ****
char *rcsid_gtk2_map_c =
! "$Id: map.c,v 1.4 2005/03/23 22:19:01 tchize Exp $";
/*
Crossfire client, a client program for the crossfire program.
--- 1,5 ----
char *rcsid_gtk2_map_c =
! "$Id: map.c,v 1.5 2005/03/26 19:19:13 akirschbaum Exp $";
/*
Crossfire client, a client program for the crossfire program.
***************
*** 798,804 ****
if (use_config[CONFIG_DISPLAYMODE]==CFG_DM_SDL) sdl_gen_map(redraw);
else
#endif
! #ifdef HAVE_SDL
if (use_config[CONFIG_DISPLAYMODE]==CFG_DM_OPENGL) opengl_gen_map(redraw);
else
#endif
--- 798,804 ----
if (use_config[CONFIG_DISPLAYMODE]==CFG_DM_SDL) sdl_gen_map(redraw);
else
#endif
! #ifdef HAVE_OPENGL
if (use_config[CONFIG_DISPLAYMODE]==CFG_DM_OPENGL) opengl_gen_map(redraw);
else
#endif
|