Commit graph

274 commits

Author SHA1 Message Date
MysterD
8367e7d6ee Make DirectX call discord_update() 2023-06-05 15:36:22 -07:00
MysterD
87f076cd26 Fix sync of models on late join 2023-05-17 23:32:39 -07:00
MysterD
4c0a226536 Fix improper culling of mirrored player models 2023-05-17 12:00:22 -07:00
MysterD
2083242b66 Fixed several crashes and errors found in static analysis 2023-05-15 01:15:20 -07:00
MysterD
8f938e25ca Fixed crash in import_texture_*() 2023-05-07 16:00:52 -07:00
MysterD
f06a422ff9 Add hack to disable 2cycle if using a texture that doesn't exist 2023-05-05 01:47:42 -07:00
MysterD
352f72a1ac Remove tile checks from gfx_pc 2023-05-04 14:55:18 -07:00
Agent X
febba0e109
Remove printf from gfx_pc.c (#383)
I don't think this is needed anymore
2023-05-04 14:53:05 -07:00
MysterD
94b979a98f Cleanup 2cycle stuff 2023-05-04 12:08:53 -07:00
MysterD
7623753e68 Handle shader overflow cases 2023-05-04 11:59:36 -07:00
MysterD
8a7778bbff Increase default resolution by a little bit 2023-05-03 21:42:17 -07:00
MysterD
607590fcaf Add 2cycle/lightmap support to dx12 2023-05-03 21:41:39 -07:00
MysterD
a191884c28 Port 2cycle/lightmap code to dx11 2023-05-03 21:07:22 -07:00
MysterD
ab2cbb2dbc Get GL_LEGACY working again (poorly) 2023-05-03 13:21:34 -07:00
MysterD
e9ecf7a8f4 Made light maps a little less hacky 2023-04-28 00:22:30 -07:00
MysterD
ba4ed58cfa Hacked lightmaps in 2023-04-27 20:46:22 -07:00
MysterD
d84be97157 Fixed do_multiply optimization 2023-04-27 12:28:39 -07:00
MysterD
e945eb9572 Added an optimization back in 2023-04-27 00:54:02 -07:00
MysterD
36a7e674e2 Added three more combiners 2023-04-27 00:17:04 -07:00
MysterD
08df8a3c17 Support more color combiners 2023-04-26 23:12:22 -07:00
MysterD
9f269ba7dd Detect 2-cycle and when to apply optimizations 2023-04-26 21:05:32 -07:00
MysterD
8840649887 Started adding support for advanced materials (2cycle) 2023-04-26 20:37:25 -07:00
MysterD
d541d626c4 Make sure gfx_update_loaded_texture() stays in bounds 2023-04-26 16:19:53 -07:00
MysterD
c8669e7dd3 Add incomplete support for multi-textures 2023-04-26 14:55:26 -07:00
MysterD
dd197f2c5e Added MSAA to OpenGL (SDL2)
Fixed text rendering bug where UVs were rounded incorrectly
2023-04-25 20:27:05 -07:00
Isaac0-dev
1e8dfa66fd
stop trapping cursor in window leaving fullscreen (#353) 2023-04-23 12:10:43 -04:00
MysterD
afe7e28fb3 Fix djui interactable crash when they get destroyed 2023-04-22 02:12:03 -07:00
MysterD
c6f33966b4 Fix DirectX memory leak (thanks integerbang) 2023-04-21 22:53:32 -07:00
MysterD
9a49ff95c7 Fixed graphical corruption when text renders offscreen 2023-04-10 19:03:34 -07:00
MysterD
52eba1990b Revert some small text rendering optimizations so that mods still render correctly 2023-04-09 17:40:41 -07:00
MysterD
c437b386f6 Add drag & drop to DirectX versions 2023-04-03 20:36:29 -07:00
MysterD
9c6fef9ecd Allowed Drag & Drop importing of mods and DynOS packs 2023-04-03 19:22:22 -07:00
MysterD
68346eecf1 Text rendering optimizations + resolution increase on normal font
Increased resolution of normal font 2x
Combined all normal font characters into a sprite sheet
Adjusted kerning on normal font
Removed 'rotatedUV' setting for DJUI fonts
2023-04-02 13:18:10 -07:00
MysterD
e578943700 Started optimizing text rendering 2023-04-01 23:44:10 -07:00
MysterD
be67a063e6 Added most of the spanish characters 2023-03-28 00:34:52 -07:00
Agent X
751dfe61c7
Move everything over (#280) 2023-03-20 22:36:25 -04:00
PeachyPeach
6449b7d578
Complete color palettes; gfx macros (#191) 2022-09-18 17:30:13 -07:00
Agent X
7e1110cde9
Remove TARGET_WEB (#159)
Just a simple code cleanup opportunity I saw
"I won't be porting this to the web" - djoslin

Compiled and tested everything to see if it works, feel free to check yourself or look over the code

Also, I noticed TARGET_N64 was there too, might do a clean up on that since we all know this isn't getting ported to the N64 anytime soon.
2022-08-25 17:32:20 -07:00
MysterD
15de1d5609 Prevent assert in load_tlut 2022-05-28 00:16:16 -07:00
MysterD
1fec13a0cb Alter fog depth to deal with new near plane value 2022-05-27 19:56:38 -07:00
MysterD
de2300f837 Fix clang/mac compile 2022-05-19 19:42:07 -07:00
MysterD
8eb0a7d838 Fix custom textures with EXTERNAL_DATA 2022-05-07 21:15:38 -07:00
MysterD
7576dfbc7c Possible fix for crash in gfx_texture_cache_lookup() 2022-05-03 22:11:44 -07:00
MysterD
582cae97ed WIP: uncapped framerate 9 2022-04-29 21:28:14 -07:00
MysterD
da0d4b3733 WIP: uncapped framerate 2022-04-26 20:00:18 -07:00
MysterD
ba544d6e35 More performance improvements 2022-04-22 20:57:18 -07:00
MysterD
78bda75e45 Massive DynOS refactor for performance/organization 2022-04-19 21:06:18 -07:00
MysterD
8f773ea887 Make DynOS texture lookup use a set for performance 2022-04-19 18:24:26 -07:00
MysterD
757cad4fbc Fix warnings with EXTERNAL_DATA 2022-04-13 19:50:19 -07:00
Prince Frizzy
b230d63b25
Add Preload Option to the Settings. (#59)
* Add preloading texture option to the Display GUI.
2022-04-09 02:02:42 -07:00