77 Commits

Author SHA1 Message Date
9fef977a3a Add in consumable crafting. Allow specifying a quantity for item crafts. Add Flower Petals to Flower Turret drop table. 2023-12-29 02:43:59 -06:00
c876f8a6ea Fixed detection of craftable items that aren't enhanceable (failed out of bounds checks). Hide information about craftable items that have yet to be unlocked. 2023-12-29 01:00:42 -06:00
4e3c9877e7 Implemented split between consumable crafting initialization and equipment enhancement initialization. 2023-12-28 21:48:12 -06:00
64694e1b63 Implemented Crafting enhancement window, item enhancement checks, and enhancement implementation done. 2023-12-28 06:10:46 -06:00
bd066ee787 Refactored dynamic cast to do internal error checking. Refactored all inventory and button slot update functions in menu components so they no longer require virtual dispatch when all we require is some passing of lamba functions to update inventories. 2023-12-27 20:40:01 -06:00
20f30b0f30 Add and setup Blacksmith Crafting Window 2023-12-27 17:00:52 -06:00
6412f34dce Implemented Merchant Selling Screen 2023-12-26 01:54:14 -06:00
25dd39b60a Setup Sell Layout for merchant screen. 2023-12-25 21:25:22 -06:00
5d1e0b5a7a Completed image caching technique for rendering text using the normal engine draw functions. 2023-12-21 14:09:19 -06:00
eae8239501 Traveling Merchant Purchase Window and systems implemented. 2023-12-19 18:46:59 -06:00
71fe49162d Added Merchant/Buy/Sell Menu windows. Added sorted item callbacks for traveling merchant inventory modifications. 2023-12-19 17:10:04 -06:00
e656dc95b2 Add an update icon call to SetItem for MenuItemItemComponent 2023-12-16 23:07:54 -06:00
ac0f5c42aa Hover functionality moved out to MenuComponent so any component can utilize them. 2023-12-16 21:28:41 -06:00
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
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
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
e744112206 GUI template/macro usage refactor. 2023-12-10 19:14:37 -06:00
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