46 Commits

Author SHA1 Message Date
38bedb653d Added item enhancement check functions, added priming requirements, and updated item enhancement function. 2023-12-27 02:30:15 -06:00
318719d46f Implement crafting requirement structures and dummy data for equipment. 2023-12-27 01:12:48 -06:00
c7e3115b89 Implemented Mana and Atk Spd stats 2023-12-27 00:24:39 -06:00
668a5ca1b1 Item Attribute systems reworked from being an enum class to being a class. Added support for the Buff Item Script to modify items. Implemented Damage Reduction proposal. 2023-12-23 21:15:08 -06:00
852bbbc5a0 Added the ability for items to be activated upon cast instead of on completion of cast. These item effects also get interrupted by any movement. 2023-12-22 07:39:56 -06:00
fd96b23110 Added duration-based restoration buffs for the Restore Item Script. 2023-12-22 07:08:53 -06:00
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
455dd3a818 Converted all Monster Strategy IDs to using strings instead of magic numbers, removed magic numbering system from configs. 2023-12-18 15:40:36 -06:00
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
f1aa872717 Add player money functions. Implement Merchant transaction functions. Add Function Priming classes. 2023-12-17 23:37:37 -06:00
2b3c1ea1b4 Added Merchant config files and parsing of config files to merchant structure. 2023-12-17 20:49:22 -06:00
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
cd1f272a07 Fix up build to be compliant with GCC compiler. Fixed lowercase character filenames to match actual character names in-game.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-12-10 16:18:38 -06:00
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
5a6080b98f Implement equip generated item descriptions. 2023-12-09 04:36:00 -06:00
4ac42fbd7e Implemented menucomponent depth property. Fixed equipment menu labels interacting with hover events. 2023-12-09 01:58:46 -06:00
dc6ecf40c2 Set bonuses implemented in equip stats. 2023-12-08 17:48:40 -06:00
88a239cd91 Equip Window is now functional. 2023-12-06 22:47:09 -06:00
54677e9263 Incorporated stat differences to equip menu display. 2023-12-06 20:52:48 -06:00
e615831ded Equipment window shows equip stat changes on mouseover. 2023-12-05 23:07:49 -06:00
6d4f024d3c Parse Item sets from config. Fix constness of item set getter, and change AddSetBonus function to be statically used instead, makes more sense. 2023-12-04 19:24:49 -06:00
2cf48c53f9 Parse enhancement stats of equipment items. 2023-12-04 17:51:18 -06:00
b51d6f571a Refactored window removing components for scrollable components. 2023-12-02 00:40:07 -06:00
298b0c4ca7 Implemented equipping of items, reading of slot types from item database, and prepared set items and stats structures. 2023-11-30 23:33:40 -06:00
b97c63f7b0 Implement basic structures for Items, Item Sets, and Equipment. 2023-11-30 22:01:04 -06:00
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
3605aa818d Display item loadout HUD information while playing. Fix item drops bugging out at lower frame rates. 2023-11-26 15:51:13 -06:00
45c6d22ee0 Corrected amount values drawn from inventory amt function and GetItemCount() functions. Added ability for Loadout items to be used on the field. Treated as abilities, and setup keybinds. 2023-11-26 14:46:24 -06:00
933fc16cce Add in item drop overlays to HUD. 2023-11-26 12:17:35 -06:00
22d1a6d834 Corrected RemoveItem function to handle monster loot and stage loot tracking. 2023-11-21 19:53:14 -06:00
7cd54e5f80 Inventory refactor completed. Individual monster loot and stage loot inventories now compatible. 2023-11-21 06:05:52 -06:00
3ff558d44e Added pragma regions to all license comment fields in files and collapsed them. 2023-11-20 23:25:36 -06:00
1745911eb5 Add Inventory Clear functions. Prep Monster Loot and Stage Loot inventory types. 2023-11-20 22:56:35 -06:00
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
2bf45dacef It's 2023 btw 2023-11-14 18:12:54 -06:00
dd531d1fd7 Apply OLC-3 License to all source files. 2023-11-14 18:11:32 -06:00
1bf30f4392 Added ability to select a loadout item from the inventory menu screen. 2023-11-13 21:26:34 -06:00
7e371f6779 Add in loadout system to Player class. 2023-11-13 19:48:39 -06:00
30a5cdc488 Correct memory leak in consuming items from inventory. Added overworld menu layout. Warrior Up walk animation has head bobbing like all the others now. Fixed alignment of items for ScrollableWindowComponents, fix scrollbar resizing when parent component has offsets. 2023-11-11 17:31:53 -06:00
803a0189d8 Inventory Drag and Drop Management implemented. 2023-10-07 18:28:19 -05:00
5903692dbb Fix null checks. Inventory display window setup. Ready for draggable interface. 2023-10-07 16:26:03 -05:00
99c24b9c37 Setup internal menu components so they know what button was clicked on a menu function. Compacted the on click menu function for menu buttons.
Refactored some item convenience functions.
2023-10-07 15:47:26 -05:00
819f5845b1 Swap item slot function implemented. 2023-10-07 13:49:32 -05:00
fe6737117d Inventory Add,Remove,Use Management functions implemented. 2023-10-07 13:33:27 -05:00
ba6505b266 Item category, script, and all other information relating to items now load properly with error-handling and proper property overriding. 2023-10-06 18:46:13 -05:00
877c44c372 Setup Items, item categories, and item scripts, and all associated configuration files for them. 2023-10-06 17:19:02 -05:00