(svn r2367) Remove some unused functions, probably was some debug stuff
This commit is contained in:
		
							
								
								
									
										2
									
								
								ai.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ai.c
									
									
									
									
									
								
							@@ -3429,7 +3429,7 @@ static void AiStateBuildDefaultAirportBlocks(Player *p)
 | 
				
			|||||||
				MarkTileDirtyByTile(aib->use_tile);
 | 
									MarkTileDirtyByTile(aib->use_tile);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
//			redsq_debug(aib->use_tile);
 | 
					//			SetRedErrorSquare(aib->use_tile);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if (rule == -1) {
 | 
								if (rule == -1) {
 | 
				
			||||||
				// cannot build, terraform after a while
 | 
									// cannot build, terraform after a while
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										21
									
								
								sdl.c
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								sdl.c
									
									
									
									
									
								
							@@ -686,25 +686,4 @@ const HalSoundDriver _sdl_sound_driver = {
 | 
				
			|||||||
	SdlSoundStop,
 | 
						SdlSoundStop,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
#if 0 /* XXX what the heck is that? */
 | 
					 | 
				
			||||||
#include "viewport.h"
 | 
					 | 
				
			||||||
void redsq_debug(int tile)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
	_thd.redsq = tile;
 | 
					 | 
				
			||||||
	MarkWholeScreenDirty();
 | 
					 | 
				
			||||||
	_screen.dst_ptr = _sdl_screen->pixels;
 | 
					 | 
				
			||||||
	UpdateWindows();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	SdlVideoMakeDirty(0,0,_screen.width,_screen.height);
 | 
					 | 
				
			||||||
	DrawSurfaceToScreen();
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
static void DbgRedraw()
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
	SdlVideoMakeDirty(0,0,_screen.width,_screen.height);
 | 
					 | 
				
			||||||
	DrawSurfaceToScreen();
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#endif /* WITH_SDL */
 | 
					#endif /* WITH_SDL */
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								ttd.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								ttd.c
									
									
									
									
									
								
							@@ -52,7 +52,6 @@ extern void SetDifficultyLevel(int mode, GameOptions *gm_opt);
 | 
				
			|||||||
extern void DoStartupNewPlayer(bool is_ai);
 | 
					extern void DoStartupNewPlayer(bool is_ai);
 | 
				
			||||||
extern void ShowOSErrorBox(const char *buf);
 | 
					extern void ShowOSErrorBox(const char *buf);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void redsq_debug(int tile);
 | 
					 | 
				
			||||||
bool LoadSavegame(const char *filename);
 | 
					bool LoadSavegame(const char *filename);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern void HalGameLoop(void);
 | 
					extern void HalGameLoop(void);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user