Commit Graph
39 Commits
Author SHA1 Message Date
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 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 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 e4fae723c9 Fix up warnings (mostly loss of data cast warnings). When an ability gets interrupted, the key is required to be depressed before another cast attempt can be made. Added collision layer tiles to a few tiles in 1-1 due to ability to walk out-of-bounds. 2023-11-27 02:38:12 -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 3ff558d44e Added pragma regions to all license comment fields in files and collapsed them. 2023-11-20 23:25:36 -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 88e01b8503 Render the spawn list and stage name/chapter name in level select. 2023-11-12 22:23:54 -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 380582dfeb Implemented automatic memory leak detection and reporting for CRT. 2023-11-11 04:03:48 -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 2e248e30b4 Converted boolean flags for component creation in windows to using enum bitwise attributes. 2023-11-06 01:00:17 -06:00
AMay fe8cbb022a Fixed inventory window display bugs using old parent position code for rendering. 2023-11-04 23:02:00 -05:00
AMay cedb465c79 Toggle Interface implementation. Class toggling connections created and class switching via class selection menu completed. 2023-10-24 04:52:24 -05:00
AMay 800a5767f2 Add destructors for all menu components and sub components. Finish menu navigation for class selection window and class info window. 2023-10-22 23:19:47 -05:00
AMay 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.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-10-18 18:07:10 +00:00
AMay 1f40e846ac Typo on Accessories. Initialize listener categories
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-10-18 17:51:08 +00:00
AMay 46462a24e7 Refactor inventory window so the scrollable consumable window now subscribes to a listener.
Listener list system removes the arbitrary requirement of components needing to be called "inventory" (very error-prone)
2023-10-18 16:06:08 +00: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 340690a26b Added keyboard/controller controls for scrollable menu components beyond bounds for disabled controls. 2023-10-17 00:50:58 -05:00
AMay 958a1866c7 Keyboard menu button storage can now be differentiated from internal button storage. 2023-10-17 00:31:56 -05:00
AMay daf94db505 Added functional scrollbar. 2023-10-15 14:59:35 -05:00
AMay 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. 2023-10-15 12:58:39 -05:00
AMay be0225aa97 Change scrollable window component's offset to be an attribute instead. 2023-10-12 21:12:10 -05:00
AMay 472e8eceda Rendering of decal portions now controllable via point check overrides. 2023-10-12 20:16:22 -05:00
AMay 18db45e6c3 Implement parent component hover state handling. 2023-10-12 19:35:16 -05:00
AMay 1c4ec84d75 Implement dummy items and scrollablewindowcomponent setup 2023-10-12 18:35:45 -05:00