forked from Ports/perfect_dark
Don't draw LODs for port
This commit is contained in:
1 parent
7e26e6eac0
commit
97258542be
2 files changed
+4
No files matched your search
@@ -59,6 +59,7 @@
|
||||
#include "lib/snd.h"
|
||||
#include "lib/memp.h"
|
||||
#include "lib/mema.h"
|
||||
#include "lib/model.h"
|
||||
#include "lib/profile.h"
|
||||
#include "lib/videbug.h"
|
||||
#include "lib/debughud.h"
|
||||
@@ -264,6 +265,8 @@ void mainInit(void)
|
||||
bodiesInit();
|
||||
titleInit();
|
||||
|
||||
modelSetDistanceChecksDisabled(true); // don't use LODs
|
||||
|
||||
g_MainIsBooting = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ extern Vtx *(*g_ModelVtxAllocatorFunc)(s32 numvertices);
|
||||
extern void (*g_ModelJointPositionedFunc)(s32 mtxindex, Mtxf *mtx);
|
||||
|
||||
bool modelasm00018680(struct modelrenderdata *renderdata, struct model *model);
|
||||
void modelSetDistanceChecksDisabled(bool disabled);
|
||||
void modelSetDistanceScale(f32 value);
|
||||
void modelSetVtxAllocatorFunc(Vtx *(*fn)(s32 numvertices));
|
||||
s32 modelFindNodeMtxIndex(struct modelnode *node, s32 arg1);
|
||||
|
||||
Reference in new issue
Block a user