Commit Graph

18 Commits (51cbf81204b726ea44556c9d272ab004184737b5)

Author SHA1 Message Date
sigonasr2 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. 12 months ago
sigonasr2 d29f7d47bd Implemented string view changes for internal drawing functions and added wrapping support and parameters for draw functions. 12 months ago
sigonasr2 08e60f2351 Fixed Issue #24 12 months ago
sigonasr2 71fe49162d Added Merchant/Buy/Sell Menu windows. Added sorted item callbacks for traveling merchant inventory modifications. 12 months ago
sigonasr2 f1aa872717 Add player money functions. Implement Merchant transaction functions. Add Function Priming classes. 12 months ago
sigonasr2 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. 1 year ago
sigonasr2 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. 1 year ago
sigonasr2 38729877b8 Fix up all menu components to integrate with new view port system. 1 year ago
sigonasr2 7a46f79f2b Fix Perspective correction on ViewPort PGEX. Implement windowing system and remove sprite reliance from all menu components. 1 year ago
sigonasr2 e4f63a3550 Change implementation of scrollable inventory component displays, make tabs on inventory window functional. 1 year ago
sigonasr2 e744112206 GUI template/macro usage refactor. 1 year ago
sigonasr2 e615831ded Equipment window shows equip stat changes on mouseover. 1 year ago
sigonasr2 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. 1 year ago
sigonasr2 cfd5586d63 Remove stray #pragma once lines, update PGE emscripten build so it handles mouse scrolling proper. Add emscripten run script. Build 3146. 1 year ago
sigonasr2 195cc31a7b Corrected bug for removing sub-component items that were not selectable (and thus, were never added to button navigation lists) 1 year ago
sigonasr2 7cd54e5f80 Inventory refactor completed. Individual monster loot and stage loot inventories now compatible. 1 year ago
sigonasr2 3ff558d44e Added pragma regions to all license comment fields in files and collapsed them. 1 year ago
sigonasr2 f427928ca6 Implemented Loadout selection item buttons, corrected inventory window missing category variables, corrected loadout item selection logic, updated inventory window layout. 1 year ago
sigonasr2 2bf45dacef It's 2023 btw 1 year ago
sigonasr2 dd531d1fd7 Apply OLC-3 License to all source files. 1 year ago
sigonasr2 1bf30f4392 Added ability to select a loadout item from the inventory menu screen. 1 year ago
sigonasr2 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. 1 year ago
sigonasr2 67a5288984 Implement error-handling (file names and locations) via std::source_location and added CRT debugging memory leak detection. 1 year ago
sigonasr2 2e248e30b4 Converted boolean flags for component creation in windows to using enum bitwise attributes. 1 year ago
sigonasr2 fe8cbb022a Fixed inventory window display bugs using old parent position code for rendering. 1 year ago
sigonasr2 b702fa2fe5 Add main menu window interface outlines. Fixed menu labels not being centered properly. 1 year ago
sigonasr2, Sig, Sigo e9952ca1be An inventory scrollable component window should not be the same as an inventory window as they would layout things differently. Separated into proper hierarchy. 1 year ago
sigonasr2, Sig, Sigo 46462a24e7 Refactor inventory window so the scrollable consumable window now subscribes to a listener. 1 year ago
sigonasr2 04d6f42526 Handled dynamic adding and removing of inventory items and syncing with menu systems. 1 year ago
sigonasr2 ff3f4ba1c0 Setup framework for scrollbar and buttons in ScrollableWindowComponent. Fixed a bug where disabled buttons would not increment selection check loop. CreateMenu function instead of creating pointer and returning, so windows can add stuff to menus easily. 1 year ago
sigonasr2 1c4ec84d75 Implement dummy items and scrollablewindowcomponent setup 1 year ago
sigonasr2 e3d0283fcb Prepare framework with Draw and DrawDecal split. 1 year ago
sigonasr2 dd2ff24d85 Converted menu storage to pointers. 1 year ago
sigonasr2 461265a8a4 Added label, text, and quantity descriptions for all items on the inventory menu. 1 year ago
sigonasr2 5903692dbb Fix null checks. Inventory display window setup. Ready for draggable interface. 1 year ago
sigonasr2 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. 1 year ago
sigonasr2 819f5845b1 Swap item slot function implemented. 1 year ago
sigonasr2 fe6737117d Inventory Add,Remove,Use Management functions implemented. 1 year ago