mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r2681) - Fix OS/2 port, please do not modify openttd.wpj/tgt by hand unless you know what you're doing!
This commit is contained in:
parent
1b6ff121f4
commit
c50223526c
@ -90,10 +90,9 @@ static void LandInfoWndProc(Window *w, WindowEvent *e)
|
||||
|
||||
// If the accepted value is less than 8, show it in 1/8:ths
|
||||
if (lid->ac[i] < 8) {
|
||||
int32 argv[2] = {
|
||||
lid->ac[i],
|
||||
_cargoc.names_s[i]
|
||||
};
|
||||
int32 argv[2];
|
||||
argv[0] = lid->ac[i];
|
||||
argv[1] = _cargoc.names_s[i];
|
||||
p = GetStringWithArgs(p, STR_01D1_8, argv);
|
||||
} else {
|
||||
p = GetString(p, _cargoc.names_s[i]);
|
||||
|
10
openttd.tgt
10
openttd.tgt
@ -411,8 +411,8 @@ WVList
|
||||
0
|
||||
105
|
||||
MItem
|
||||
4
|
||||
ai_old.c
|
||||
10
|
||||
ai_build.c
|
||||
106
|
||||
WString
|
||||
4
|
||||
@ -429,8 +429,8 @@ WVList
|
||||
0
|
||||
109
|
||||
MItem
|
||||
10
|
||||
ai_build.c
|
||||
8
|
||||
ai_new.c
|
||||
110
|
||||
WString
|
||||
4
|
||||
@ -448,7 +448,7 @@ WVList
|
||||
113
|
||||
MItem
|
||||
8
|
||||
ai_new.c
|
||||
ai_old.c
|
||||
114
|
||||
WString
|
||||
4
|
||||
|
@ -43,8 +43,8 @@ WRect
|
||||
WFileName
|
||||
17
|
||||
..\..\openttd.tgt
|
||||
42
|
||||
66
|
||||
0
|
||||
18
|
||||
11
|
||||
VComponent
|
||||
12
|
||||
|
12
os2.c
12
os2.c
@ -1,11 +1,15 @@
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "variables.h"
|
||||
#include "window.h"
|
||||
#include "string.h"
|
||||
#include "table/strings.h"
|
||||
#include "hal.h"
|
||||
#include "gfx.h"
|
||||
#include "gui.h"
|
||||
#include "saveload.h"
|
||||
#include "functions.h"
|
||||
#include "macros.h"
|
||||
|
||||
#include <direct.h>
|
||||
#include <unistd.h>
|
||||
@ -25,6 +29,8 @@
|
||||
#include <os2.h>
|
||||
#include <os2me.h>
|
||||
|
||||
#include <i86.h>
|
||||
|
||||
#if defined(WITH_SDL)
|
||||
#include <SDL.h>
|
||||
#endif
|
||||
@ -772,3 +778,9 @@ void JoinOTTDThread(void)
|
||||
|
||||
DosWaitThread(&thread1, DCWW_WAIT);
|
||||
}
|
||||
|
||||
void CSleep(int milliseconds)
|
||||
{
|
||||
delay(milliseconds);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user