Mercurial > mm7
view TurnEngine.h @ 1332:1e35cfed7928
turn engine file added
author | Gloval |
---|---|
date | Fri, 05 Jul 2013 01:46:44 +0400 |
parents | f0be1fecd642 |
children | 22cb507446a4 |
line wrap: on
line source
#pragma once enum TURN_ENGINE_FLAGS { TE_FLAG_1 =1, TE_FLAG_2 =2, TE_PLAYER_TURN =4, TE_FLAG_8 =8 }; /* 299 */ #pragma pack(push, 1) struct TurnBased_QueueElem { inline TurnBased_QueueElem() { uPackedID = 0; field_4 = 0; uActionLength = 0; field_C = 0; } int uPackedID; int field_4; int uActionLength; int field_C; }; #pragma pack(pop) /* 254 */ #pragma pack(push, 1) struct stru262_TurnBased { inline stru262_TurnBased() { field_0 = 0; field_4 = 0; field_8 = 0; uActorQueueSize = 0; field_10 = 0; uActionPointsLeft = 0; field_18 = 0; field_1C = 0; } void SortTurnQueue(); void _40471C(); void Start(); void End(bool bPlaySound); void _405E14(); __int16 StartTurn(); void NextTurn(); int _4063A1(); int _406457(int a2); void _40652A(); void _4065B0(); void _406648(unsigned int a2); __int16 _40680F(int a2); void _406A63(); void _406AFE(); int _406B9F(); bool ActorTurn(signed int a2); void _406FA8(); int field_0; int field_4; int field_8; int uActorQueueSize; //c int field_10; int uActionPointsLeft; //14 int field_18; int field_1C; TurnBased_QueueElem pQueue[504]; //20 }; #pragma pack(pop) extern struct stru262_TurnBased *pTurnEngine;