cmake build system + OS X support / cleanups for Humble Release #8
|
@ -179,13 +179,15 @@ struct RGSSThreadData
|
||||||
|
|
||||||
RGSSThreadData(EventThread *ethread,
|
RGSSThreadData(EventThread *ethread,
|
||||||
const char *argv0,
|
const char *argv0,
|
||||||
SDL_Window *window)
|
SDL_Window *window,
|
||||||
|
const Config& newconf)
|
||||||
: rqTerm(false),
|
: rqTerm(false),
|
||||||
rqTermAck(false),
|
rqTermAck(false),
|
||||||
ethread(ethread),
|
ethread(ethread),
|
||||||
argv0(argv0),
|
argv0(argv0),
|
||||||
window(window),
|
window(window),
|
||||||
sizeResoRatio(1, 1),
|
sizeResoRatio(1, 1),
|
||||||
|
config(newconf),
|
||||||
rqScreenshot(false)
|
rqScreenshot(false)
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
|
@ -293,8 +293,7 @@ int main(int, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
EventThread eventThread;
|
EventThread eventThread;
|
||||||
RGSSThreadData rtData(&eventThread, argv[0], win);
|
RGSSThreadData rtData(&eventThread, argv[0], win, conf);
|
||||||
rtData.config = conf;
|
|
||||||
|
|
||||||
/* Start RGSS thread */
|
/* Start RGSS thread */
|
||||||
SDL_Thread *rgssThread =
|
SDL_Thread *rgssThread =
|
||||||
|
|
Loading…
Reference in New Issue