123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- #ifndef MPADDAIPLAYER_H
- #define MPADDAIPLAYER_H
- /*************************************************************************************************\
- MPAddAIPlayer.h : Interface for the MPAddAIPlayer component.
- //---------------------------------------------------------------------------//
- // Copyright (C) Microsoft Corporation. All rights reserved. //
- //===========================================================================//
- \*************************************************************************************************/
- //*************************************************************************************************
- #ifndef LOGISTICSSCREEN_H
- #include "LogisticsScreen.h"
- #endif
- #include "aSystem.h"
- #include "aListBox.h"
- #include "AttributeMeter.h"
- #include "SimpleCamera.h"
- #include "MPParameterScreen.h"/*only for the definition of CFocusManager*/
- #ifndef AANIM_H
- #include "aAnim.h"
- #endif
- class aStyle4TextListItem : public aTextListItem
- {
- public:
- aStyle4TextListItem() { hasAnimation = false; normalColor = 0xff808080; }
- virtual long init( FitIniFile* file, const char* blockName );
- virtual void render();
- protected:
- bool hasAnimation;
- aAnimGroup animGroup;
- int normalColor;
- };
- class MPAddAIPlayer : public LogisticsScreen
- {
- public:
-
- MPAddAIPlayer();
- virtual ~MPAddAIPlayer();
-
- void init(FitIniFile* file);
- bool isDone();
- virtual void begin();
- virtual void end();
- virtual void render( int xOffset, int yOffset );
- virtual void render();
- virtual void update();
- virtual int handleMessage( unsigned long, unsigned long );
- private:
- aEdit nameEntry;
- aRect nameEntryOutline;
- aDropList experienceDropList;
- aDropList factionDropList;
- aDropList mechSelectionDropLists[4][3];
- int indexOfButtonWithID(int id);
- CFocusManager focusManager;
- };
- //*************************************************************************************************
- #endif // end of file ( MPAddAIPlayer.h )
|