(svn r1343) -Fix: [Graphic] Autorail icon is now correct (Darkvater)
authortruelight
Mon, 03 Jan 2005 18:49:45 +0000
changeset 862 d7e52ef99f42
parent 861 474d15904d40
child 863 8d09f9331a80
(svn r1343) -Fix: [Graphic] Autorail icon is now correct (Darkvater)
-Fix: [Graphic] Added resize icon (tnx tokai)
data/openttd.grf
spritecache.c
table/sprites.h
Binary file data/openttd.grf has changed
--- a/spritecache.c	Mon Jan 03 18:40:41 2005 +0000
+++ b/spritecache.c	Mon Jan 03 18:49:45 2005 +0000
@@ -215,7 +215,7 @@
 
 		_replace_sprites_offset[0]++;
 		_replace_sprites_count[0]--;
-		
+
 		if ((offset + count) <= NUM_SPRITES) {
 			load_index = offset;
 		} else {
@@ -743,7 +743,7 @@
 	"cached_sprites.xx3",
 };
 
-#define OPENTTD_SPRITES_COUNT 93
+#define OPENTTD_SPRITES_COUNT 94
 static const uint16 _openttd_grf_indexes[] = {
 	SPR_OPENTTD_BASE+0,	SPR_OPENTTD_BASE+7, // icons etc
 	134, 134,  // euro symbol medium size
@@ -777,7 +777,7 @@
 
 	s = str_fmt("%s%s", _path.data_dir, files_dos.basic[0]);
 	f = fopen(s, "r");
-	if (f != NULL) { 
+	if (f != NULL) {
 		_use_dos_palette = true;
 		return;
 	}
--- a/table/sprites.h	Mon Jan 03 18:40:41 2005 +0000
+++ b/table/sprites.h	Mon Jan 03 18:49:45 2005 +0000
@@ -48,10 +48,11 @@
 
 	SPR_BLOT = SPR_OPENTTD_BASE + 32, // colored circle (mainly used as vehicle profit marker and for sever compatibility)
 
-	SPR_PIN_UP        = SPR_OPENTTD_BASE + 62,   // pin icon 
+	SPR_PIN_UP        = SPR_OPENTTD_BASE + 62,   // pin icon
 	SPR_PIN_DOWN      = SPR_OPENTTD_BASE + 63,
-	
-	
+	SPR_WINDOW_RESIZE = SPR_OPENTTD_BASE + 94,   // resize icon
+
+
 	/* Network GUI sprites */
 	SPR_SQUARE = SPR_OPENTTD_BASE + 23,     // colored square (used for newgrf compatibility)
 	SPR_LOCK = SPR_OPENTTD_BASE + 22,       // lock icon (for password protected servers)
@@ -62,7 +63,7 @@
 
 	/* Shadow cell */
 	SPR_SHADOW_CELL = 1004,
-	
+
 	/* Sliced view shadow cells */
 	/* Maybe we have differen ones in the future */
 	SPR_MAX_SLICE = SPR_OPENTTD_BASE + 71,