46 Commits

Author SHA1 Message Date
3e3e96110c Added Equipment/Equipment Icons. Remove unused Graphics2D PGEX from project. Crit Dmg now displays as the extra amount added (50%) rather than the final multiplier (150%) 2023-12-26 23:59:21 -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
126753053f Added caching for shadow text for all PGE default drawing functions and viewport drawing functions. 2023-12-24 04:19:24 -06:00
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
c795e7f891 Text rendering properly deals with newline characters. Updated components that were not properly rendering. 2023-12-21 18:06:17 -06:00
5d1e0b5a7a Completed image caching technique for rendering text using the normal engine draw functions. 2023-12-21 14:09:19 -06:00
8581633cab Added sprite versions of updated wrap text functions. 2023-12-21 12:21:37 -06:00
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
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
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
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
4bab1397dc Fix ViewPort PGEX. Added Draw String functions from PGE to ViewPort. 2023-12-14 01:43:42 -06:00
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
4ab88b3014 Implement reset code (#FFFFFF) 2023-12-08 16:01:14 -06:00
df1d9771aa Implemented hex color font coloring. 2023-12-08 15:50:40 -06:00
54677e9263 Incorporated stat differences to equip menu display. 2023-12-06 20:52:48 -06:00
808cc32418 Implemented color code text in PGE. 2023-12-06 18:55:18 -06:00
25b6dc0299 Corrected word wrapping issues with PGEX_TTF. Added another line, fixed word wrapping width. Fixed up which fonts were used for measuring sizes. 2023-11-29 23:09:03 -06:00
d9b1908985 Garbage collection for rendered truetype fonts implemented. Added CREDITS file. Removed strange forward declare requirement on util file. 2023-11-29 16:43:41 -06:00
5331a3d443 Implement font upscaling hack for similar looking web/PC font rendering. 2023-11-29 06:16:56 -06:00
f9b00a8931 Implemented LessRoundBox custom font and FT2 extension font rendering. Enabled Emscripten compatible FT2 extension capabilities. Replaced original TTF PGEX with newline compatible version. 2023-11-29 06:05:29 -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
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
cfd5586d63 Remove stray #pragma once lines, update PGE emscripten build so it handles mouse scrolling proper. Add emscripten run script. Build 3146. 2023-11-27 00:01:19 -06:00
403690747d Setup Item Drop rendering/physics. Handle items landing on the ground. Config file options related to item drops added. Added a spawning item function. 2023-11-22 14:30:15 -06:00
7cd54e5f80 Inventory refactor completed. Individual monster loot and stage loot inventories now compatible. 2023-11-21 06:05:52 -06:00
2bf45dacef It's 2023 btw 2023-11-14 18:12:54 -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
e3d0283fcb Prepare framework with Draw and DrawDecal split. 2023-10-11 19:50:12 -05:00
b1d3b36dd5 Fix the random pixel gaps that were a bit atrocious especially for web
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2023-10-03 17:32:44 +00:00
60e46a83f2 Improve keyboard/controller-based menu navigation by separating each row into its own structure. 2023-10-01 01:11:53 -05:00
f48a6a89b2 Added DrawPie function, fix up invisible foreground tiles (was not rendering). 2023-09-24 05:23:49 -05:00
5140b92317 Water tile reflections implemented. 2023-09-15 01:02:10 -05:00
1a18463962 Windows and emscripten mouse handling outside window now works! 2023-09-04 19:11:16 -05:00
6dcc7e736d Stupid bullet. Also fixed WIZARD_IDLE animations missing. 2023-09-04 18:24:21 -05:00
9a2af45245 Add in lower bridge tile zones (horizontal blocks on lower level). Use official map instead of test map. 2023-07-07 17:44:06 -05:00
d494be6970 Added collision checks and interactions based on upper/lower level status. 2023-07-07 19:48:45 +00:00
46a16b8ae2 Changed version display string shadow to match other shadow texts.
Terrain collision map implementation complete.

Made shadow text functions modular.
2023-06-24 00:00:14 -07:00
d099bdde84 Include game icon in executable and game window (such a PITA) 2023-06-18 01:24:28 -07:00
86da919577 PGE update for emscripten comand. 2023-06-16 02:33:30 -05:00
2f95e71114 Fix bug with missing return value for effect updating. 2023-06-16 02:33:12 -05:00
c680d52431 Add Spinning attack animation 2023-06-12 18:14:22 -05:00
cbbee7aaa4 Initial setup of Monster structures 2023-06-11 20:03:30 -05:00
3dac286089 Implement TransformedView and Camera util 2023-06-11 18:26:17 -05:00