mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-18 11:44:51 +02:00
entity_t and brush_t now converted to idEditorEntity and idEditorBrush
This commit is contained in:
@@ -209,7 +209,8 @@ void EmitBrushPrimitTextureCoordinates(face_t *f, idWinding *w, patchMesh_t *pat
|
||||
// parse a brush in brush primitive format
|
||||
// =======================================================================================================================
|
||||
//
|
||||
void BrushPrimit_Parse(brush_t *b, bool newFormat, const idVec3 origin) {
|
||||
void idEditorBrush::BrushPrimit_Parse(bool newFormat, const idVec3 origin) {
|
||||
idEditorBrush *b = this;
|
||||
face_t *f;
|
||||
int i, j;
|
||||
GetToken(true);
|
||||
@@ -256,7 +257,7 @@ void BrushPrimit_Parse(brush_t *b, bool newFormat, const idVec3 origin) {
|
||||
f->originalPlane = plane;
|
||||
f->dirty = false;
|
||||
|
||||
//idWinding *w = Brush_MakeFaceWinding(b, f, true);
|
||||
//idWinding *w = b->Brush_MakeFaceWinding(f, true);
|
||||
idWinding w;
|
||||
w.BaseForPlane( plane );
|
||||
|
||||
@@ -1135,7 +1136,8 @@ void Face_FlipTexture_BrushPrimit(face_t *f, bool y) {
|
||||
#endif
|
||||
}
|
||||
|
||||
void Brush_FlipTexture_BrushPrimit(brush_t *b, bool y) {
|
||||
void idEditorBrush::Brush_FlipTexture_BrushPrimit(bool y) {
|
||||
idEditorBrush *b = this;
|
||||
for (face_t *f = b->brush_faces; f; f = f->next) {
|
||||
Face_FlipTexture_BrushPrimit(f, y);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user