Changeset - r8:6fceb4849dac
[Not reviewed]
master
0 5 0
dominik - 20 years ago 2004-08-10 16:34:01
dominik@openttd.org
(svn r9) Fixed a couple of warnings and minor coding issues
5 files changed with 5 insertions and 6 deletions:
0 comments (0 inline, 0 general)
namegen.c
Show inline comments
 
@@ -1977,7 +1977,6 @@ TownNameGenerator * const _town_name_gen
 

	
 
uint32 GetOldTownName(uint32 townnameparts, byte old_town_name_type)
 
{
 
	uint32 a = 0;
 
	switch (old_town_name_type) {
 
		case 0: case 3: /* English, American */
 
			/*	Already OK */
network.c
Show inline comments
 
@@ -1173,7 +1173,7 @@ bool NetworkUDPSearchServer() {
 
}
 

	
 

	
 
#else // ENABLE_NETWORK
 
#else // not ENABLE_NETWORK
 

	
 
// stubs
 
void NetworkInitialize(const char *hostname) {}
 
@@ -1187,5 +1187,5 @@ void NetworkProcessCommands() {}
 
void NetworkStartSync() {}
 
void NetworkUDPListen(int port) {}
 
void NetworkUDPReceive() {}
 
bool NetworkUDPSearchServer() {}
 
bool NetworkUDPSearchServer() { return false; }
 
#endif // ENABLE_NETWORK
ttd.c
Show inline comments
 
@@ -491,7 +491,7 @@ int ttd_main(int argc, char* argv[])
 
		case 'v': ttd_strlcpy(videodriver, mgo.opt, sizeof(videodriver)); break;
 
		case 'n': {
 
				network = 1; 
 
				if ((bool)mgo.opt) {
 
				if (mgo.opt) {
 
					network_conn = mgo.opt; 
 
					network++;
 
				}
w32dm.c
Show inline comments
 
@@ -111,4 +111,4 @@ static void DMusicMidiSetVolume(byte vol
 
	SetVolume(vol);
 
}
 

	
 
#endif
 
\ No newline at end of file
 
#endif
win32.c
Show inline comments
 
@@ -562,7 +562,7 @@ static void FindResolutions()
 
}
 

	
 

	
 
static char *Win32GdiStart(char **parm)
 
static const char *Win32GdiStart(char **parm)
 
{
 
	memset(&_wnd, 0, sizeof(_wnd));
 
	_wnd.cursor_visible = true;
0 comments (0 inline, 0 general)