Move levelmeshhelper completely out of the Common folder
Connect the level updates to the level mesh
This commit is contained in:
parent
e80615e167
commit
e0cba77646
7 changed files with 78 additions and 23 deletions
|
|
@ -1,29 +1,8 @@
|
|||
|
||||
#include "levelmeshhelper.h"
|
||||
#include "hw_meshbuilder.h"
|
||||
#include "hw_mesh.h"
|
||||
#include "v_video.h"
|
||||
|
||||
|
||||
struct NullLevelMeshUpdater : UpdateLevelMesh
|
||||
{
|
||||
virtual void FloorHeightChanged(struct sector_t *sector) {};
|
||||
virtual void CeilingHeightChanged(struct sector_t *sector) {};
|
||||
virtual void MidTex3DHeightChanged(struct sector_t *sector) {};
|
||||
|
||||
virtual void FloorTextureChanged(struct sector_t *sector) {};
|
||||
virtual void CeilingTextureChanged(struct sector_t *sector) {};
|
||||
|
||||
virtual void SectorChangedOther(struct sector_t *sector) {};
|
||||
|
||||
virtual void SideTextureChanged(struct side_t *side, int section) {};
|
||||
};
|
||||
|
||||
static NullLevelMeshUpdater nullUpdater;
|
||||
|
||||
UpdateLevelMesh* LevelMeshUpdater = &nullUpdater;
|
||||
|
||||
|
||||
MeshBuilder::MeshBuilder()
|
||||
{
|
||||
Reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue