mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-07 14:27:56 +03:00
Implement text antialias
This commit is contained in:
+8
-2
@@ -1,6 +1,10 @@
|
||||
#include "common.h"
|
||||
#include "sys/nact.h"
|
||||
|
||||
extern "C" {
|
||||
void ags_setAntialiasedStringMode(int on);
|
||||
}
|
||||
|
||||
_TCHAR g_root[_MAX_PATH];
|
||||
SDL_Window* g_window;
|
||||
|
||||
@@ -20,8 +24,10 @@ int main(int argc, char *argv[])
|
||||
|
||||
g_window = SDL_CreateWindow(buf, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 400, 0);
|
||||
|
||||
// MCI 初期化
|
||||
//initialize_mci();
|
||||
for (int i = 1; i < argc; i++) {
|
||||
if (strcmp(argv[i], "-antialias") == 0)
|
||||
ags_setAntialiasedStringMode(1);
|
||||
}
|
||||
|
||||
// system3 初期化
|
||||
NACT* nact = new NACT();
|
||||
|
||||
Reference in New Issue
Block a user