mirror of https://github.com/OpenTTD/OpenTTD
(svn r3231) Fix: update the GPMI implementation to the latest GPMI-API version
parent
08b990886d
commit
b8f8f3869d
2
Makefile
2
Makefile
|
@ -358,7 +358,7 @@ CFLAGS += $(BASECFLAGS)
|
||||||
|
|
||||||
# See if we want to enable GPMI
|
# See if we want to enable GPMI
|
||||||
ifdef GPMI
|
ifdef GPMI
|
||||||
CFLAGS += -DGPMI
|
CFLAGS += -DGPMI `gpmi-config --include`
|
||||||
GPMI_STATIC_PATH = `gpmi-config --static`
|
GPMI_STATIC_PATH = `gpmi-config --static`
|
||||||
LDFLAGS += -rdynamic `gpmi-config --libs`
|
LDFLAGS += -rdynamic `gpmi-config --libs`
|
||||||
# Static link paths into the game
|
# Static link paths into the game
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
#ifdef GPMI
|
#ifdef GPMI
|
||||||
#include <gpmi.h>
|
#include <gpmi.h>
|
||||||
#include <gpmi/packages/paths.h>
|
#include <gpmi_pkg/paths.h>
|
||||||
#endif /* GPMI */
|
#endif /* GPMI */
|
||||||
|
|
||||||
void GenerateWorld(int mode, uint size_x, uint size_y);
|
void GenerateWorld(int mode, uint size_x, uint size_y);
|
||||||
|
|
Loading…
Reference in New Issue