This commit is contained in:
Nishi 2026-02-01 08:09:18 +09:00
commit ae67600abf
Signed by: nishi
GPG key ID: 27EF69B208EB9343
11 changed files with 178 additions and 94 deletions

View file

@ -44,9 +44,9 @@ GSClient GSClientCreate(GSEngine engine) {
client->look_at[1] = 1;
client->look_at[2] = 0;
client->light0[0] = 2.5;
client->light0[1] = 5;
client->light0[2] = 5;
client->light0[0] = 1;
client->light0[1] = 1;
client->light0[2] = 0;
client->light0[3] = 0;
client->skybox_enabled = GSFalse;
@ -249,6 +249,7 @@ void GSClientStep(GSClient client) {
GSGLTextBold(client->gl, 1);
GSGLText(client->gl, client->engine->width - tw, 0, buf2);
GSGLTextBold(client->gl, 0);
GSGLSetColor(client->gl, white);
client->engine->param->gl_swapbuffer();
@ -263,6 +264,10 @@ GSSoundEngine GSClientGetSoundEngine(GSClient client) {
return client->sengine;
}
GSNetClient GSClientGetNetClient(GSClient client) {
return client->net;
}
void GSClientSetSkybox(GSClient client, GSBool toggle) {
client->skybox_enabled = toggle;
}