[Fix] Fixed the wheels.
This commit is contained in:
		
							parent
							
								
									55254b20db
								
							
						
					
					
						commit
						8d3939beea
					
				@ -98,7 +98,10 @@ static PlainVertex nwunitvtx1[] = {
 | 
			
		||||
static CompoundVertex nwunitvtx2[] = {
 | 
			
		||||
  { VTYPE_ANIMHERM, { 8, 10, 12, 13, AFUNC_GFLAP } },  /* 20, flap paths. */
 | 
			
		||||
  { VTYPE_ANIMHERM, { 9, 11, 12, 13, AFUNC_GFLAP } },    
 | 
			
		||||
  { VTYPE_ANIMLIN, { 2, 1, static_cast<uint16>(-1), static_cast<uint16>(-1), AFUNC_GEAR } },  /* Gear y axis. */
 | 
			
		||||
  /* Gear y axis. */
 | 
			
		||||
  { VTYPE_ANIMLIN, { 2, 1, static_cast<uint16>(-1), static_cast<uint16>(-1), AFUNC_GEAR } },
 | 
			
		||||
  /* Gear z axis. */
 | 
			
		||||
  { VTYPE_CROSS, { 0, 22, static_cast<uint16>(-1),static_cast<uint16>(-1),static_cast<uint16>(-1) } },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static uint16 nwunitdata[] = {
 | 
			
		||||
@ -111,12 +114,12 @@ static uint16 nwunitdata[] = {
 | 
			
		||||
 | 
			
		||||
  //  PTYPE_CYLINDER, 3, 8, 6, 7, 0, 1000,
 | 
			
		||||
 | 
			
		||||
  PTYPE_SUBOBJECT, 0x8000, SUB_NOSEWHEEL, 14, 22, 2, 100,
 | 
			
		||||
  PTYPE_SUBOBJECT, 0x8000, SUB_NOSEWHEEL, 14, 22, 23, 100,
 | 
			
		||||
 | 
			
		||||
  PTYPE_END,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static Model nwunitmodel = { 1.0f, 15, nwunitvtx1, 20, 3, nwunitvtx2,
 | 
			
		||||
static Model nwunitmodel = { 1.0f, 15, nwunitvtx1, 20, 4, nwunitvtx2,
 | 
			
		||||
                             0, 0, 0, 0, nwunitdata, 0 };
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -162,7 +165,10 @@ static PlainVertex mwunitvtx1[] = {
 | 
			
		||||
static CompoundVertex mwunitvtx2[] = {
 | 
			
		||||
  { VTYPE_ANIMHERM, { 8, 10, 12, 13, AFUNC_GFLAP } },     /* 20, flap paths. */
 | 
			
		||||
  { VTYPE_ANIMHERM, { 9, 11, 12, 13, AFUNC_GFLAP } },
 | 
			
		||||
  { VTYPE_ANIMLIN, { 2, 1, static_cast<uint16>(-1), static_cast<uint16>(-1), AFUNC_GEAR } },        /* Gear y axis. */
 | 
			
		||||
  /* Gear y axis. */
 | 
			
		||||
  { VTYPE_ANIMLIN, { 2, 1, static_cast<uint16>(-1), static_cast<uint16>(-1), AFUNC_GEAR } },
 | 
			
		||||
  /* Gear z axis. */
 | 
			
		||||
  { VTYPE_CROSS, { 0, 22, static_cast<uint16>(-1),static_cast<uint16>(-1),static_cast<uint16>(-1) } },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static uint16 mwunitdata[] = {
 | 
			
		||||
@ -175,12 +181,12 @@ static uint16 mwunitdata[] = {
 | 
			
		||||
 | 
			
		||||
  //  PTYPE_CYLINDER, 3, 8, 6, 7, 0, 1000,
 | 
			
		||||
 | 
			
		||||
  PTYPE_SUBOBJECT, 0x8000, SUB_MAINWHEEL, 14, 22, 2, 100,
 | 
			
		||||
  PTYPE_SUBOBJECT, 0x8000, SUB_MAINWHEEL, 14, 22, 23, 100,
 | 
			
		||||
 | 
			
		||||
  PTYPE_END,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static Model mwunitmodel = { 1.0f, 15, mwunitvtx1, 20, 3, mwunitvtx2,
 | 
			
		||||
static Model mwunitmodel = { 1.0f, 15, mwunitvtx1, 20, 4, mwunitvtx2,
 | 
			
		||||
                             0, 0, 0, 0, mwunitdata, 0 };
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user