mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-18 16:10:58 +00:00
3a0426cd7f
MODELDEFs and models can now be loaded from PK3 resources (does anybody know if models or MODELDEFs can be stored in WADs?). Negative scale and zOffset are now correctly parsed from MODELDEFs (model surfaces may be inverted though). Fixed a crash while reading MODELDEFs when Operation System's decimal separator was set to comma. Fixed a crash when user changed Thing type in Visual mode to a new one with model override, which wasn't previously used in a map. Fixed a bug introduced in 1.06 when models weren't rendered in Visual mode when Fullbright mode was on. Non-breaking space is now correctly handled by all Doom Builder's data parsers. ColorPicker plugin: Fixed a crash when user attempted to open ColorPicker window to edit sector properties in Visual mode, using hilighted surface as selection source, without selecting anything before doing so.
26 lines
No EOL
782 B
C#
26 lines
No EOL
782 B
C#
using System.Collections.Generic;
|
|
using SlimDX;
|
|
using SlimDX.Direct3D9;
|
|
using CodeImp.DoomBuilder.Geometry;
|
|
|
|
|
|
namespace CodeImp.DoomBuilder.GZBuilder.MD3
|
|
{
|
|
public class GZModel {
|
|
public List<Mesh> Meshes;
|
|
public List<Texture> Textures;
|
|
public byte NUM_MESHES = 0; //can't be greater than 255, can it?
|
|
public Vector3[] BoundingBox;
|
|
public List<IndexBuffer> Indeces2D;
|
|
public List<short> NumIndeces2D;
|
|
public float Angle = 0; //crappy way to set rotation to md2 models...
|
|
|
|
public GZModel() {
|
|
Meshes = new List<Mesh>();
|
|
Textures = new List<Texture>();
|
|
Indeces2D = new List<IndexBuffer>();
|
|
NumIndeces2D = new List<short>();
|
|
}
|
|
}
|
|
|
|
} |