mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Add character screen model preview, item icons, stats panel, and fix targeting bugs
Enhanced the C-key character screen with a 3-column layout featuring a 3D character model preview (with drag-to-rotate), item icons loaded from BLP textures via ItemDisplayInfo.dbc, and a stats panel showing base + equipment bonuses. Fixed selection circle clipping under terrain by adding a Z offset, and corrected faction hostility logic that was wrongly marking hostile mobs as friendly.
This commit is contained in:
parent
7128ea1417
commit
394e91cd9e
12 changed files with 738 additions and 53 deletions
|
|
@ -33,6 +33,11 @@ public:
|
|||
int getWidth() const { return fboWidth_; }
|
||||
int getHeight() const { return fboHeight_; }
|
||||
|
||||
CharacterRenderer* getCharacterRenderer() { return charRenderer_.get(); }
|
||||
uint32_t getInstanceId() const { return instanceId_; }
|
||||
uint32_t getModelId() const { return PREVIEW_MODEL_ID; }
|
||||
bool isModelLoaded() const { return modelLoaded_; }
|
||||
|
||||
private:
|
||||
void createFBO();
|
||||
void destroyFBO();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue