Commit Graph
49 Commits
Author SHA1 Message Date
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 5652741ec0 Added level complete window upon completing a stage. 2023-11-19 15:57:18 -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 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 75159a21be On game state changes, the camera target should be reset to the player's location. 2023-11-09 01:41:05 -06:00
AMay c82a3c5980 Refactor menucomponent internal draw function a little bit for code organizing. 2023-11-06 00:05:09 -06: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 598ce523e9 Confirm and Back Buttons added. 2023-10-24 03:22:25 -05:00
AMay 02c7165b37 Add in class display labels, animated sprite icons, and title of the window. 2023-10-24 03:03:34 -05:00
AMay debced946e Menu component leak debugging detection added. 2023-10-23 00:05:30 -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 5d939e866f Class Info Screen completed. 2023-10-22 21:56:09 -05:00
AMay e189d4b516 Class ability descriptions added. Full render image paths now defined. Moved some class information around. 2023-10-22 02:07:03 -05:00
AMay e779725106 Define health and growth rates of each class. 2023-10-21 00:33:46 -05: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 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 6656e3d036 Keyboard/Controller input left direction bugfix. Using setter/getter for mouse navigation to handl storing of position whenever mouse navigation is called. 2023-10-17 01:21:00 -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 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
AMay e3d0283fcb Prepare framework with Draw and DrawDecal split. 2023-10-11 19:50:12 -05:00
AMay dd2ff24d85 Converted menu storage to pointers. 2023-10-11 16:20:07 -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
AMay 877c44c372 Setup Items, item categories, and item scripts, and all associated configuration files for them. 2023-10-06 17:19:02 -05:00
AMay c1d64e7bd1 Window centering and positioning added. 2023-10-06 15:00:27 -05:00
AMay d3f26d4bb0 Render all background windows, foreground window is the only one with direct focus. Background windows are darkened. 2023-10-05 00:42:28 -05:00
AMay 10cfb009f7 Added scaling/tiling capabilities for themes. Safe maps have unordered version. 2023-10-03 04:09:42 -05:00
AMay 999855c6e8 Proper theming controls added, attributes are now an inheritable interface for anything. 2023-10-03 02:34:26 -05:00
AMay bff7eabef5 Debug map toggle configuration paramater added. Added in tiled and scaled versions of interface 9-patch patterning.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-10-02 19:54:21 +00:00
AMay 17838ffb8b 9-patch interface code added
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-10-02 16:50:53 +00:00
AMay 3723835cc7 Switched menu button system to component inheritance system. 2023-10-01 01:48:27 -05:00
AMay 2914aa1972 When a column matches up in a previous row, we should jump up to that menu item instead. 2023-10-01 01:18:27 -05:00
AMay 60e46a83f2 Improve keyboard/controller-based menu navigation by separating each row into its own structure. 2023-10-01 01:11:53 -05:00
AMay 03f2738ead Windowing System button controls, stack system, and custom functions implemented. 2023-09-29 00:03:20 -05:00