mirror of https://github.com/OpenTTD/OpenTTD
(svn r1045) -Fix: OpenTTD compiles again under VC6 (sign_de)
parent
c0603e4768
commit
f80094deb7
|
@ -134,7 +134,7 @@ void DrawTextEffects(DrawPixelInfo *dpi);
|
||||||
|
|
||||||
void InitTextMessage();
|
void InitTextMessage();
|
||||||
void DrawTextMessage();
|
void DrawTextMessage();
|
||||||
void AddTextMessage(uint16 color, uint8 duration, const char *message, ...);
|
void CDECL AddTextMessage(uint16 color, uint8 duration, const char *message, ...);
|
||||||
void UndrawTextMessage();
|
void UndrawTextMessage();
|
||||||
void TextMessageDailyLoop();
|
void TextMessageDailyLoop();
|
||||||
|
|
||||||
|
|
2
gfx.c
2
gfx.c
|
@ -1510,7 +1510,7 @@ void DoPaletteAnimations()
|
||||||
int j;
|
int j;
|
||||||
int i;
|
int i;
|
||||||
const ExtraPaletteValues *ev = &_extra_palette_values;
|
const ExtraPaletteValues *ev = &_extra_palette_values;
|
||||||
byte old_val[c*3];
|
byte old_val[114]; // max(c*(38:28)) = 114
|
||||||
|
|
||||||
d = _cur_palette + 217*3;
|
d = _cur_palette + 217*3;
|
||||||
memcpy(old_val, d, c*3);
|
memcpy(old_val, d, c*3);
|
||||||
|
|
1
md5.c
1
md5.c
|
@ -53,6 +53,7 @@
|
||||||
|
|
||||||
#include "md5.h"
|
#include "md5.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include "stdafx.h"
|
||||||
|
|
||||||
#undef BYTE_ORDER /* 1 = big-endian, -1 = little-endian, 0 = unknown */
|
#undef BYTE_ORDER /* 1 = big-endian, -1 = little-endian, 0 = unknown */
|
||||||
#ifdef ARCH_IS_BIG_ENDIAN
|
#ifdef ARCH_IS_BIG_ENDIAN
|
||||||
|
|
|
@ -61,7 +61,7 @@ void NetworkGetClientName(char *client_name, size_t size, ClientState *cs)
|
||||||
|
|
||||||
// This puts a text-message to the console, or in the future, the chat-box,
|
// This puts a text-message to the console, or in the future, the chat-box,
|
||||||
// (to keep it all a bit more general)
|
// (to keep it all a bit more general)
|
||||||
void NetworkTextMessage(NetworkAction action, uint16 color, const char *name, const char *str, ...)
|
void CDECL NetworkTextMessage(NetworkAction action, uint16 color, const char *name, const char *str, ...)
|
||||||
{
|
{
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
va_list va;
|
va_list va;
|
||||||
|
|
|
@ -210,7 +210,7 @@ void NetworkAddCommandQueue(ClientState *cs, CommandPacket *cp);
|
||||||
|
|
||||||
// from network.c
|
// from network.c
|
||||||
void CloseClient(ClientState *cs);
|
void CloseClient(ClientState *cs);
|
||||||
void NetworkTextMessage(NetworkAction action, uint16 color, const char *name, const char *str, ...);
|
void CDECL NetworkTextMessage(NetworkAction action, uint16 color, const char *name, const char *str, ...);
|
||||||
void NetworkGetClientName(char *clientname, size_t size, ClientState *cs);
|
void NetworkGetClientName(char *clientname, size_t size, ClientState *cs);
|
||||||
uint NetworkCalculateLag(const ClientState *cs);
|
uint NetworkCalculateLag(const ClientState *cs);
|
||||||
byte NetworkGetCurrentLanguageIndex();
|
byte NetworkGetCurrentLanguageIndex();
|
||||||
|
|
Loading…
Reference in New Issue