soon
This commit is contained in:
parent
1864346fe1
commit
3af095361d
10 changed files with 63 additions and 51 deletions
|
|
@ -44,6 +44,7 @@ typedef GSU8 GSBool;
|
|||
typedef struct _GSVersion GSVersion;
|
||||
typedef struct _GSEngineParam GSEngineParam;
|
||||
typedef struct _GSResourceKV GSResourceKV;
|
||||
typedef struct _GSBox GSBox;
|
||||
#ifdef _GEARSRC
|
||||
typedef struct _GSClient* GSClient;
|
||||
typedef struct _GSServer* GSServer;
|
||||
|
|
@ -81,6 +82,11 @@ typedef void (*GSSleepCallback)(int ms);
|
|||
typedef void (*GSRenderCallback)(GSEngine engine);
|
||||
typedef void (*GSAfterRenderCallback)(GSEngine engine);
|
||||
|
||||
struct _GSBox {
|
||||
GSVector3 a;
|
||||
GSVector3 b;
|
||||
};
|
||||
|
||||
struct _GSResourceKV {
|
||||
char* key;
|
||||
GSResource value;
|
||||
|
|
|
|||
|
|
@ -84,7 +84,6 @@ void GSClientStep(GSClient client) {
|
|||
scene(client);
|
||||
GSGLShadowEnd(client->gl);
|
||||
|
||||
|
||||
GSVersionGet(&ver);
|
||||
|
||||
sprintf(buf, "GearSrc Engine %s", ver.string);
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ void GSEngineLoop(GSEngine engine) {
|
|||
|
||||
if(engine->param->tick != NULL) engine->param->tick();
|
||||
|
||||
if(wait_actually) {
|
||||
if(wait_actually && !engine->param->client) {
|
||||
int diff = (engine->param->get_tick() - t);
|
||||
|
||||
if(wait > diff)
|
||||
|
|
|
|||
7
engine/src/gl_cull.c
Normal file
7
engine/src/gl_cull.c
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#include <GearSrc/GL.h>
|
||||
|
||||
void GSGLCullCalculate(GSGL gl) {
|
||||
}
|
||||
|
||||
GSBool GSGLCullTest(GSGL gl, GSBox* box) {
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit b458613f87b1cfcf05e0cf102688814861010d9f
|
||||
Subproject commit 5413332506b2929c30c169a3f68934252d39cfff
|
||||
Loading…
Add table
Add a link
Reference in a new issue