60 Commits

Author SHA1 Message Date
4ac42fbd7e Implemented menucomponent depth property. Fixed equipment menu labels interacting with hover events. 2023-12-09 01:58:46 -06:00
13104bae66 Back button in character stats window, moved elements slightly upwards for better positioning. 2023-12-08 17:06:34 -06:00
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
88a239cd91 Equip Window is now functional. 2023-12-06 22:47:09 -06:00
e615831ded Equipment window shows equip stat changes on mouseover. 2023-12-05 23:07:49 -06:00
30287c91d2 Use structured bindings for map k,v pairs. Place counters for for range iterator loops locally inside their scopes. 2023-12-05 22:12:43 -06:00
4463fbbae5 Update Stage Plates to include the level type. Created Overworld Menu, and Initialized Character Menu. Story and shops no longer have the change loadout buttons. 2023-11-29 23:52:43 -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
a7f13e0077 Implemented unlocking of areas via clearing stages. Game fade in/out for state transitions. Asset loading for visual novel assets. Visual Novel command execution code implemented. Visual Novel basic rendering and input handling enabled. 2023-11-28 18:29:06 -06:00
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
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
7cd54e5f80 Inventory refactor completed. Individual monster loot and stage loot inventories now compatible. 2023-11-21 06:05:52 -06:00
1745911eb5 Add Inventory Clear functions. Prep Monster Loot and Stage Loot inventory types. 2023-11-20 22:56:35 -06:00
5652741ec0 Added level complete window upon completing a stage. 2023-11-19 15:57:18 -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
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
380582dfeb Implemented automatic memory leak detection and reporting for CRT. 2023-11-11 04:03:48 -06:00
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
75159a21be On game state changes, the camera target should be reset to the player's location. 2023-11-09 01:41:05 -06:00
c82a3c5980 Refactor menucomponent internal draw function a little bit for code organizing. 2023-11-06 00:05:09 -06:00
cedb465c79 Toggle Interface implementation. Class toggling connections created and class switching via class selection menu completed. 2023-10-24 04:52:24 -05:00
598ce523e9 Confirm and Back Buttons added. 2023-10-24 03:22:25 -05:00
02c7165b37 Add in class display labels, animated sprite icons, and title of the window. 2023-10-24 03:03:34 -05:00
debced946e Menu component leak debugging detection added. 2023-10-23 00:05:30 -05:00
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
5d939e866f Class Info Screen completed. 2023-10-22 21:56:09 -05:00
e189d4b516 Class ability descriptions added. Full render image paths now defined. Moved some class information around. 2023-10-22 02:07:03 -05:00
e779725106 Define health and growth rates of each class. 2023-10-21 00:33:46 -05:00
b702fa2fe5 Add main menu window interface outlines. Fixed menu labels not being centered properly. 2023-10-20 22:49:12 -05:00
1f40e846ac Typo on Accessories. Initialize listener categories
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-10-18 17:51:08 +00:00
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
04d6f42526 Handled dynamic adding and removing of inventory items and syncing with menu systems. 2023-10-17 05:35:19 -05:00
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
340690a26b Added keyboard/controller controls for scrollable menu components beyond bounds for disabled controls. 2023-10-17 00:50:58 -05:00
958a1866c7 Keyboard menu button storage can now be differentiated from internal button storage. 2023-10-17 00:31:56 -05:00
daf94db505 Added functional scrollbar. 2023-10-15 14:59:35 -05:00
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
be0225aa97 Change scrollable window component's offset to be an attribute instead. 2023-10-12 21:12:10 -05:00
18db45e6c3 Implement parent component hover state handling. 2023-10-12 19:35:16 -05:00
1c4ec84d75 Implement dummy items and scrollablewindowcomponent setup 2023-10-12 18:35:45 -05:00
e3d0283fcb Prepare framework with Draw and DrawDecal split. 2023-10-11 19:50:12 -05:00
dd2ff24d85 Converted menu storage to pointers. 2023-10-11 16:20:07 -05:00
461265a8a4 Added label, text, and quantity descriptions for all items on the inventory menu. 2023-10-07 19:06:56 -05: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
fe6737117d Inventory Add,Remove,Use Management functions implemented. 2023-10-07 13:33:27 -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