Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
// FSMState.h: interface for the CFSMState class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_FSMSTATE_H__4D5ECC39_C7A5_47E7_A774_9E79707B18D8__INCLUDED_)
|
||||
#define AFX_FSMSTATE_H__4D5ECC39_C7A5_47E7_A774_9E79707B18D8__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
|
||||
class CFSMState
|
||||
{
|
||||
private:
|
||||
|
||||
int m_dwNumberOfTransistions; // maximum number of states supported by this state
|
||||
int *m_pdwInputs; // input array for tranistions
|
||||
int *m_pdwOutputState; // output state array
|
||||
int m_dwStateID; // the unique ID of this state
|
||||
|
||||
int FindTransitionIndex(int nID);
|
||||
|
||||
public:
|
||||
|
||||
explicit CFSMState(int StateID, int Transitions);
|
||||
~CFSMState(void);
|
||||
|
||||
void AddTransition(int Input, int OutputID);
|
||||
void DeleteTransition(int OutputID);
|
||||
|
||||
int GetOutput(int Input);
|
||||
|
||||
inline int GetID(void) { return m_dwStateID; }
|
||||
};
|
||||
|
||||
|
||||
#endif // !defined(AFX_FSMSTATE_H__4D5ECC39_C7A5_47E7_A774_9E79707B18D8__INCLUDED_)
|
||||
Reference in New Issue
Block a user