Added Metrowerks SIOUX setup code.
This commit is contained in:
parent
a366cfe1a2
commit
d317ba274f
|
@ -11,6 +11,10 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#if (defined __MWERKS__)
|
||||||
|
#include <SIOUX.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ((!defined WIN32) && (!defined __MACOS__))
|
#if ((!defined WIN32) && (!defined __MACOS__))
|
||||||
#define HAVE_READLINE
|
#define HAVE_READLINE
|
||||||
#endif
|
#endif
|
||||||
|
@ -587,6 +591,14 @@ int main(int argc, char **argv)
|
||||||
char *buf = NULL;
|
char *buf = NULL;
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
|
|
||||||
|
#if (defined __MWERKS__)
|
||||||
|
extern tSIOUXSettings SIOUXSettings;
|
||||||
|
SIOUXSettings.asktosaveonclose = 0;
|
||||||
|
SIOUXSettings.autocloseonquit = 1;
|
||||||
|
SIOUXSettings.rows = 40;
|
||||||
|
SIOUXSettings.columns = 120;
|
||||||
|
#endif
|
||||||
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
if (!PHYSFS_init(argv[0]))
|
if (!PHYSFS_init(argv[0]))
|
||||||
|
|
Loading…
Reference in New Issue