mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo
This commit is contained in:
parent
85ca163be2
commit
1f25d9126f
@ -2243,6 +2243,10 @@
|
|||||||
RelativePath=".\..\src\table\station_land.h"
|
RelativePath=".\..\src\table\station_land.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\table\strgen_tables.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\..\objs\langs\table\strings.h"
|
RelativePath=".\..\src\..\objs\langs\table\strings.h"
|
||||||
>
|
>
|
||||||
|
@ -2240,6 +2240,10 @@
|
|||||||
RelativePath=".\..\src\table\station_land.h"
|
RelativePath=".\..\src\table\station_land.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\..\src\table\strgen_tables.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\..\src\..\objs\langs\table\strings.h"
|
RelativePath=".\..\src\..\objs\langs\table\strings.h"
|
||||||
>
|
>
|
||||||
|
@ -511,6 +511,7 @@ table/roadveh_movement.h
|
|||||||
table/settings.h
|
table/settings.h
|
||||||
table/sprites.h
|
table/sprites.h
|
||||||
table/station_land.h
|
table/station_land.h
|
||||||
|
table/strgen_tables.h
|
||||||
../objs/langs/table/strings.h
|
../objs/langs/table/strings.h
|
||||||
table/town_land.h
|
table/town_land.h
|
||||||
table/track_land.h
|
table/track_land.h
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#define stderr stdout
|
#define stderr stdout
|
||||||
#endif /* __MORPHOS__ */
|
#endif /* __MORPHOS__ */
|
||||||
|
|
||||||
#include "../table/strgen.h"
|
#include "../table/strgen_tables.h"
|
||||||
|
|
||||||
/* Compiles a list of strings into a compiled string list */
|
/* Compiles a list of strings into a compiled string list */
|
||||||
|
|
||||||
@ -1217,9 +1217,9 @@ int CDECL main(int argc, char *argv[])
|
|||||||
} else if (cs->proc == EmitSetXY) {
|
} else if (cs->proc == EmitSetXY) {
|
||||||
flags = '2'; // Command needs two parameters
|
flags = '2'; // Command needs two parameters
|
||||||
} else if (cs->proc == EmitGender) {
|
} else if (cs->proc == EmitGender) {
|
||||||
flags = 'g'; // Command needs number of parameters defined by plural value
|
flags = 'g'; // Command needs number of parameters defined by number of genders
|
||||||
} else if (cs->proc == EmitPlural) {
|
} else if (cs->proc == EmitPlural) {
|
||||||
flags = 'p'; // Command needs number of parameters defined by number of cases
|
flags = 'p'; // Command needs number of parameters defined by plural value
|
||||||
} else {
|
} else {
|
||||||
flags = '0'; // Command needs no parameters
|
flags = '0'; // Command needs no parameters
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
/** @file table/strgen.h Tables of commands for strgen */
|
/** @file table/strgen_tables.h Tables of commands for strgen */
|
||||||
|
|
||||||
#include "../core/enum_type.hpp"
|
#include "../core/enum_type.hpp"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user