mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-22 23:12:59 +08:00
63 lines
1.4 KiB
C#
63 lines
1.4 KiB
C#
using SharpDX;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CodeWalker.GameFiles
|
|
{
|
|
|
|
|
|
public enum VertexType : uint
|
|
{
|
|
Default = 89, //PNCT
|
|
DefaultEx = 16473, //PNCTX
|
|
PNCCT = 121,
|
|
PNCCTTTT = 1017,
|
|
PCCNCCTTX = 16639,
|
|
PCCNCCT = 127,
|
|
PNCTTTX = 16857,
|
|
PNCTTX = 16601,
|
|
PNCTTTX_2 = 19545,
|
|
PNCTTTX_3 = 17113,
|
|
PNCCTTX = 16633,
|
|
PNCCTTX_2 = 17017,
|
|
PNCCTTTX = 17145,
|
|
PCCNCCTX = 16511,
|
|
PCCNCTX = 16479,
|
|
PCCNCT = 95,
|
|
PNCCTT = 249,
|
|
PNCCTX = 16505,
|
|
PCT = 81,
|
|
PT = 65,
|
|
PTT = 193,
|
|
PNC = 25,
|
|
PC = 17,
|
|
PCC = 7,
|
|
PCCH2H4 = 2147500121, //0x80004059 (16473 + 0x80000000) DefaultEx Cloth?
|
|
PNCH2 = 2147483737, //0x80000059 (89 + 0x80000000) Default Cloth?
|
|
PNCTTTTX = 19673, //normal_spec_detail_dpm_vertdecal_tnt
|
|
PNCTTTT = 985,
|
|
PCCNCCTT = 255,
|
|
PCTT = 209,
|
|
PCCCCT = 119,
|
|
PCCNC = 31,
|
|
PCCNCTT = 223,
|
|
PCCNCTTX = 16607,
|
|
PCCNCTTT = 479,
|
|
PNCTT = 217,
|
|
PNCTTT = 473,
|
|
}
|
|
|
|
|
|
//vertex data to be used by the editor. TODO: maybe move somewhere else.
|
|
public struct EditorVertex
|
|
{
|
|
public Vector3 Position;
|
|
public uint Colour;
|
|
}
|
|
|
|
|
|
}
|