Commit Graph
327 Commits
Author SHA1 Message Date
AMay 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. 2023-12-22 06:14:37 -06:00
AMay d801a41900 Implement hover out actions for item loadout window (the tech now exists!!) 2023-12-21 19:11:25 -06:00
AMay 4c290e81aa Fixed clashing key names for text with the same information but differing widths. Corrected all GUI mispositioned text or incorrect wrapping on equip screens. 2023-12-21 19:06:47 -06:00
AMay c795e7f891 Text rendering properly deals with newline characters. Updated components that were not properly rendering. 2023-12-21 18:06:17 -06:00
AMay 5d1e0b5a7a Completed image caching technique for rendering text using the normal engine draw functions. 2023-12-21 14:09:19 -06:00
AMay 8581633cab Added sprite versions of updated wrap text functions. 2023-12-21 12:21:37 -06:00
AMay a26d86d0b0 Separate GetTextSize and GetWrappedTextSize functions for clarity. Fix sizing comparisons for wrapping text. Fixed issue with menu destinations not properly being assigned on certain buttons. 2023-12-21 10:26:18 -06:00
AMay d29f7d47bd Implemented string view changes for internal drawing functions and added wrapping support and parameters for draw functions. 2023-12-20 19:45:49 -06:00
AMay 08e60f2351 Fixed Issue #24 2023-12-20 00:32:37 -06:00
AMay 56e1343c8c Fix Issue #23. Now shows the price in red if the total cost is too high. 2023-12-20 00:26:05 -06:00
AMay 49951c1502 Corrected Issue #22. Connection points that were already defined as existing were being reiterated through numerous times again. 2023-12-19 23:34:07 -06:00
AMay 9756cc4a78 Add map types to every stage plate and to new stages. Correctly handle Discord SDK disconnects when the app is closed or not started initially. 2023-12-19 22:40:53 -06:00
AMay eae8239501 Traveling Merchant Purchase Window and systems implemented. 2023-12-19 18:46:59 -06:00
AMay 71fe49162d Added Merchant/Buy/Sell Menu windows. Added sorted item callbacks for traveling merchant inventory modifications. 2023-12-19 17:10:04 -06:00
AMay d9e1a1ebaf Added Discord Rich Presence integration. Added discord exclusion preprocessor checks in emscripten build. Changed emscripten callbacks to use the browser window instead of the internal body. 2023-12-19 14:06:29 -06:00
AMay fcb3ee87fd Remove magic number IDs from Monsters and use display names as the key names. Fixed all references to numerical IDs in code. Refreshed all game maps so the monster name enums export as name strings instead of numbers. 2023-12-19 00:15:47 -06:00
AMay 455dd3a818 Converted all Monster Strategy IDs to using strings instead of magic numbers, removed magic numbering system from configs. 2023-12-18 15:40:36 -06:00
AMay cb09825455 Added money display to inventory GUI. Corrected inventory amounts displaying incorrectly in inventory menus (references to other items fixed). Added MenuIconButton appearance flags to disable outlines/backgrounds 2023-12-18 00:34:10 -06:00
AMay f1aa872717 Add player money functions. Implement Merchant transaction functions. Add Function Priming classes. 2023-12-17 23:37:37 -06:00
AMay 2b3c1ea1b4 Added Merchant config files and parsing of config files to merchant structure. 2023-12-17 20:49:22 -06:00
AMay f3bfa81198 Created additional item icons for Item Database. Added Traveling Merchant config lists 2023-12-17 17:46:49 -06:00
AMay 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. 2023-12-17 00:44:22 -06:00
AMay e656dc95b2 Add an update icon call to SetItem for MenuItemItemComponent 2023-12-16 23:07:54 -06:00
AMay 46926be340 Fix scrollbar boundary not updating upon switching to new menus. Fix bug with positions from keyboard/button maps not using original positions in scrollable components. 2023-12-16 22:49:46 -06:00
AMay 3251053364 Added row item display button components. 2023-12-16 22:17:49 -06:00
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 e6808dfef2 Generate mock-up map textures when commerical assets are not found. 2023-12-15 21:53:13 -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 44fcbc80cd Fixed up menu components to not rely on old parent positions. 2023-12-14 05:19:49 -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 c11417d8a0 Add transparent overlay feedback when an ability/item ability key is held down. Item icon scale/quantity text scale now scales with the item icon box size. 2023-12-13 04:03:17 -06:00
AMay e4c777f60a Fixed item quantities being gone from decal versions of MenuItemItemButton components. 2023-12-12 05:41:44 -06:00
AMay 5abc789bcd Added hover button functionality to MenuItemButton component and to InventorySrollableWindowComponent item buttons created via that component. Implemented inventory screen. 2023-12-12 05:20:51 -06:00
AMay e4f63a3550 Change implementation of scrollable inventory component displays, make tabs on inventory window functional. 2023-12-10 23:02:16 -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 a1caeff702 Compact / non compact versions of item description display strings. Move menu labels around and added equip-specific and item display-specific menu labels. Fix bug with DrawShadowString/DrawShadowStringProp rendering HTML codes. 2023-12-09 06:08:13 -06:00
AMay 5a6080b98f Implement equip generated item descriptions. 2023-12-09 04:36:00 -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 dc6ecf40c2 Set bonuses implemented in equip stats. 2023-12-08 17:48:40 -06:00
AMay 13104bae66 Back button in character stats window, moved elements slightly upwards for better positioning. 2023-12-08 17:06:34 -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 4ab88b3014 Implement reset code (#FFFFFF) 2023-12-08 16:01:14 -06:00
AMay df1d9771aa Implemented hex color font coloring. 2023-12-08 15:50:40 -06:00
AMay 88a239cd91 Equip Window is now functional. 2023-12-06 22:47:09 -06:00
AMay 54677e9263 Incorporated stat differences to equip menu display. 2023-12-06 20:52:48 -06:00
AMay 5eec1a21c5 Refactored stat system such that equip stats can be obtained easily, while base stats are hidden away to prevent accidental usage. 2023-12-06 19:51:38 -06:00
AMay 808cc32418 Implemented color code text in PGE. 2023-12-06 18:55:18 -06:00