Commit Graph
33 Commits
Author SHA1 Message Date
AMay c876f8a6ea Fixed detection of craftable items that aren't enhanceable (failed out of bounds checks). Hide information about craftable items that have yet to be unlocked. 2023-12-29 01:00:42 -06:00
AMay 8f41870b46 Implement Crafting requirements display on equipment crafting window. Add in crafting requirement sample data for non-equipment items. 2023-12-28 02:55:59 -06:00
AMay 3e3e96110c Added Equipment/Equipment Icons. Remove unused Graphics2D PGEX from project. Crit Dmg now displays as the extra amount added (50%) rather than the final multiplier (150%) 2023-12-26 23:59:21 -06:00
AMay 6412f34dce Implemented Merchant Selling Screen 2023-12-26 01:54:14 -06:00
AMay 70423be9d4 Item reference system deprecated in favor of smart pointer system. Converted all items to use pointers instead, removed all reference wrappers for item system. Fixed buggy last item sorting when removing items from InventoryScrollableWindowComponents. Implemented proper inventory removal checks when items are completely removed from an inventory. Sorted inventories now copy the pointer as a shared pointer from the main inventory code instead of needlessly creating extra copies of the same item. 2023-12-22 06:14:37 -06:00
AMay a26d86d0b0 Separate GetTextSize and GetWrappedTextSize functions for clarity. Fix sizing comparisons for wrapping text. Fixed issue with menu destinations not properly being assigned on certain buttons. 2023-12-21 10:26:18 -06:00
AMay eae8239501 Traveling Merchant Purchase Window and systems implemented. 2023-12-19 18:46:59 -06:00
AMay cb09825455 Added money display to inventory GUI. Corrected inventory amounts displaying incorrectly in inventory menus (references to other items fixed). Added MenuIconButton appearance flags to disable outlines/backgrounds 2023-12-18 00:34:10 -06:00
AMay f1aa872717 Add player money functions. Implement Merchant transaction functions. Add Function Priming classes. 2023-12-17 23:37:37 -06:00
AMay 57377823c5 Fixed menu label updates for row item displays. Added a row scrollable inventory window component. Made InventoryScrollableWindowComponent more modular with a couple overrideable functions. 2023-12-17 00:44:22 -06:00
AMay e656dc95b2 Add an update icon call to SetItem for MenuItemItemComponent 2023-12-16 23:07:54 -06:00
AMay 3251053364 Added row item display button components. 2023-12-16 22:17:49 -06:00
AMay ac0f5c42aa Hover functionality moved out to MenuComponent so any component can utilize them. 2023-12-16 21:28:41 -06:00
AMay 025a89788e Fix border display drawing for menus. Fix scrollable window components that went outside to use proper scrolling offsets. Fix issue with same-frame clicking and releasing causing a different button to be selected. 2023-12-15 23:57:09 -06:00
AMay 38729877b8 Fix up all menu components to integrate with new view port system. 2023-12-14 05:53:46 -06:00
AMay 7a46f79f2b Fix Perspective correction on ViewPort PGEX. Implement windowing system and remove sprite reliance from all menu components. 2023-12-14 04:18:05 -06:00
AMay 4bab1397dc Fix ViewPort PGEX. Added Draw String functions from PGE to ViewPort. 2023-12-14 01:43:42 -06:00
AMay c11417d8a0 Add transparent overlay feedback when an ability/item ability key is held down. Item icon scale/quantity text scale now scales with the item icon box size. 2023-12-13 04:03:17 -06:00
AMay e4c777f60a Fixed item quantities being gone from decal versions of MenuItemItemButton components. 2023-12-12 05:41:44 -06:00
AMay 5abc789bcd Added hover button functionality to MenuItemButton component and to InventorySrollableWindowComponent item buttons created via that component. Implemented inventory screen. 2023-12-12 05:20:51 -06:00
AMay e4f63a3550 Change implementation of scrollable inventory component displays, make tabs on inventory window functional. 2023-12-10 23:02:16 -06:00
AMay e744112206 GUI template/macro usage refactor. 2023-12-10 19:14:37 -06:00
AMay a1caeff702 Compact / non compact versions of item description display strings. Move menu labels around and added equip-specific and item display-specific menu labels. Fix bug with DrawShadowString/DrawShadowStringProp rendering HTML codes. 2023-12-09 06:08:13 -06:00
AMay 4ac42fbd7e Implemented menucomponent depth property. Fixed equipment menu labels interacting with hover events. 2023-12-09 01:58:46 -06:00
AMay ae2d1719c8 Add a BeforeUpdate event for components to handle mouse out events (specifically for equip item slots showing stat differences.) Corrects a bug with stat differences not refreshing on mouse out. 2023-12-08 16:36:51 -06:00
AMay 88a239cd91 Equip Window is now functional. 2023-12-06 22:47:09 -06:00
AMay e615831ded Equipment window shows equip stat changes on mouseover. 2023-12-05 23:07:49 -06:00
AMay b51d6f571a Refactored window removing components for scrollable components. 2023-12-02 00:40:07 -06:00
AMay a659bf7924 Character Info Window layouts setup 2023-12-01 22:55:33 -06:00
AMay 2af830d400 FreeType license (required for PGEX_TTF) included in all license notices. Setup project with freetype libraries and includes. Added gamepad PGEX for future gamepad support. 2023-11-29 00:50:00 -06:00
AMay 3ff558d44e Added pragma regions to all license comment fields in files and collapsed them. 2023-11-20 23:25:36 -06:00
AMay bf84196cb0 Remove manually maintained switch statement in favor of defining what labels get modified on mouse-over for item buttons 2023-11-16 17:36:36 -06:00
AMay f427928ca6 Implemented Loadout selection item buttons, corrected inventory window missing category variables, corrected loadout item selection logic, updated inventory window layout. 2023-11-14 23:20:13 -06:00