Commit Graph
40 Commits
Author SHA1 Message Date
AMay fa7dfb601f Add game title images, replace all 2023 copyright notices with 2024 copyright notices. 2024-01-02 00:43:42 -06:00
AMay c528d89b85 Make gear appear unstackable in inventories while other items remain stackable. Each individual piece of gear can now have its own stats. 2023-12-29 06:25:54 -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 20f30b0f30 Add and setup Blacksmith Crafting Window 2023-12-27 17:00:52 -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 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 f1aa872717 Add player money functions. Implement Merchant transaction functions. Add Function Priming classes. 2023-12-17 23:37:37 -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 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 469bea4c5e Inventory display window tabs are implemented, inventory component is displayed. Ranger Backstep cancels casts. Casts are forced to be channeled for 0.2 seconds before walking can cancel them, 2023-12-10 20:14:32 -06:00
AMay e744112206 GUI template/macro usage refactor. 2023-12-10 19:14:37 -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 195cc31a7b Corrected bug for removing sub-component items that were not selectable (and thus, were never added to button navigation lists) 2023-11-21 21:23:48 -06:00
AMay 7cd54e5f80 Inventory refactor completed. Individual monster loot and stage loot inventories now compatible. 2023-11-21 06:05:52 -06:00
AMay 1745911eb5 Add Inventory Clear functions. Prep Monster Loot and Stage Loot inventory types. 2023-11-20 22:56:35 -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 c29f50da0d Replace sealed keyword with final (C++11 standard)
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-11-15 07:53:55 -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
AMay 2bf45dacef It's 2023 btw 2023-11-14 18:12:54 -06:00
AMay dd531d1fd7 Apply OLC-3 License to all source files. 2023-11-14 18:11:32 -06:00
AMay 1bf30f4392 Added ability to select a loadout item from the inventory menu screen. 2023-11-13 21:26:34 -06:00
AMay 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
AMay 67a5288984 Implement error-handling (file names and locations) via std::source_location and added CRT debugging memory leak detection. 2023-11-11 00:54:50 -06:00
AMay b702fa2fe5 Add main menu window interface outlines. Fixed menu labels not being centered properly. 2023-10-20 22:49:12 -05:00
AMay 04d6f42526 Handled dynamic adding and removing of inventory items and syncing with menu systems. 2023-10-17 05:35:19 -05:00
AMay 472e8eceda Rendering of decal portions now controllable via point check overrides. 2023-10-12 20:16:22 -05:00
AMay 1c4ec84d75 Implement dummy items and scrollablewindowcomponent setup 2023-10-12 18:35:45 -05:00
AMay e3d0283fcb Prepare framework with Draw and DrawDecal split. 2023-10-11 19:50:12 -05:00
AMay 461265a8a4 Added label, text, and quantity descriptions for all items on the inventory menu. 2023-10-07 19:06:56 -05:00
AMay 803a0189d8 Inventory Drag and Drop Management implemented. 2023-10-07 18:28:19 -05:00
AMay 5903692dbb Fix null checks. Inventory display window setup. Ready for draggable interface. 2023-10-07 16:26:03 -05:00
AMay 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
AMay fe6737117d Inventory Add,Remove,Use Management functions implemented. 2023-10-07 13:33:27 -05:00