20 #ifndef PAWS_SKILL_WINDOW_HEADER 21 #define PAWS_SKILL_WINDOW_HEADER 53 void Update(
int cat,
const char *str)
66 return (
const char *)description;
87 virtual void HandleMessage(
MsgEntry *msg);
88 bool OnButtonPressed(
int mouseButton,
int keyModifier,
pawsWidget* widget );
89 void OnListAction(
pawsListBox* listbox,
int status );
96 virtual void OnNumberEntered(
const char *name,
int param,
int number);
101 bool LoadUserSharedPrefs();
103 void SetHPWarnLevel(
float val );
104 float GetHPWarnLevel();
106 void SetHPDangerLevel(
float val );
107 float GetHPDangerLevel();
109 void SetHPFlashLevel(
float val );
110 float GetHPFlashLevel();
112 void SetManaWarnLevel(
float val );
113 float GetManaWarnLevel();
115 void SetManaDangerLevel(
float val );
116 float GetManaDangerLevel();
118 void SetManaFlashLevel(
float val );
119 float GetManaFlashLevel();
121 void SetHPOn(
bool val );
122 void SetManaOn(
bool val );
147 void HandleSkillList(
int selectedNameId,
bool flush);
148 void HandleSkillDescription( csString& description );
156 void FlashTabButton(
const char* buttonName,
bool flash);
159 void HandleSkillCategory(
psSkillCacheItem* skillInfo,
unsigned &idx,
bool flush);
177 csRef<iDocumentSystem>
xml;
182 void HandleFactionMsg(
MsgEntry* me);
212 void Set(
unsigned int x,
int rank,
int y,
int yCost,
int z,
int zCost);
215 unsigned int GetRelCoord(
unsigned int pt);
217 void DrawSkillProgressBar(
int x,
int y,
int width,
int height,
218 int start_r,
int start_g,
int start_b);
This is a window that is controlled by a button on the control bar.
psSkillCacheItem item is one stat or skill in the skill cache.
Window displaying the player's stats, vitals and skills.
This widget is used to view a mesh in it's own seperate world.
psSkillDescription(int cat, const char *str)
bool factRequest
Flag if we have sent our initial request for faction information. Only sent once and everything else ...
The structure of 1 queue entry (pointer to a message)
Describes a skill description inside the GUI system.
const char * GetDescription() const
unsigned int x
Stores topnode "X" information (progression points)
csRef< iDocumentSystem > xml
A manager class that handles all the details of a characters appearance.
The psSkillCache class implements the skill cache both on the server and on the client.
psSkillCache skillCache
Local copy of skills and stats.
csArray< pawsListBoxRow * > unsortedSkills
csHash< psSkillDescription * > skillDescriptions
Local copy of skill and stat descriptions.
A simple list box widget.
int previousTab
Used for storing which is the current tab and the previous one.
pawsProgressBar * pysStaminaBar
pawsSkillIndicator is a widget that graphically displays skill status
pawsTextBox * pysStaminaFrac
CREATE_PAWS_FACTORY(pawsSkillWindow)
psCharAppearance * charApp
pawsMultiLineTextBox * description
void Update(int cat, const char *str)
csPDelArray< FactionRating > factions
The factions by name.
unsigned int x
progression points
pawsListBox * factionList
pawsMultiLineTextBox * factionsDescription