mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r2118) - Fix: Fix compilation with network disabled, and comment out some of the warnings (unused function)
This commit is contained in:
parent
043ac73b19
commit
35ff9d850c
|
@ -65,6 +65,7 @@ static uint16 FindNearestHangar(const Vehicle *v)
|
||||||
return index;
|
return index;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
// returns true if vehicle v have an airport in the schedule, that has a hangar
|
// returns true if vehicle v have an airport in the schedule, that has a hangar
|
||||||
static bool HaveHangarInOrderList(Vehicle *v)
|
static bool HaveHangarInOrderList(Vehicle *v)
|
||||||
{
|
{
|
||||||
|
@ -82,6 +83,7 @@ static bool HaveHangarInOrderList(Vehicle *v)
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int GetAircraftImage(Vehicle *v, byte direction)
|
int GetAircraftImage(Vehicle *v, byte direction)
|
||||||
{
|
{
|
||||||
|
|
|
@ -327,9 +327,9 @@ const HalVideoDriver _dedicated_video_driver = {
|
||||||
|
|
||||||
static void *_dedicated_video_mem;
|
static void *_dedicated_video_mem;
|
||||||
|
|
||||||
static const char *DedicatedVideoStart(const char **parm)
|
static const char *DedicatedVideoStart(const char * const *parm)
|
||||||
{
|
{
|
||||||
DEBUG(misc,0)("OpenTTD compiled without network-support, quiting...");
|
DEBUG(misc, 0) ("OpenTTD compiled without network-support, exiting...");
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -241,6 +241,7 @@ static void SlCopyBytes(void *ptr, size_t length)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
static void SlSkipBytes(size_t length)
|
static void SlSkipBytes(size_t length)
|
||||||
{
|
{
|
||||||
while (length) {
|
while (length) {
|
||||||
|
@ -248,6 +249,7 @@ static void SlSkipBytes(size_t length)
|
||||||
length--;
|
length--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
uint SlGetFieldLength(void)
|
uint SlGetFieldLength(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue