Commit graph

274 commits

Author SHA1 Message Date
Khangaroo
1babad1640
Don't use default VAO (#487)
* Don't use default VAO

* Don't use a VAO on OpenGL 2.1
2024-11-12 11:08:21 +10:00
Radek Krzyśków
b4b66c369a
Fixed clipboard (text copy & paste) implementation (#380)
- fixed "SDL_GetClipboardText" memory leak
- forcing unicode clipboard data format on Windows (UTF-16LE system, UTF-8 in-game)
- all "get_clipboard_text" functions return a zero-width string in case of failure, instead of NULL
2024-10-22 22:24:13 +10:00
Agent X
c0c2352617 Hopefully fix issues with EMBLEM lights 2024-07-09 15:39:26 -04:00
Agent X
fe114133ff Fix headless compilation and do some formatting 2024-06-30 20:55:47 -04:00
Radek Krzyśków
4713219388
Moved mouse-state code to a separate file, enabled mouse-look camera-mode for DXGI (#86) 2024-06-30 15:44:40 -04:00
Agent X
099b97b934 Add mute window when unfocused option
Co-Authored-By: Tulpen <63363329+tulpenkiste@users.noreply.github.com>
2024-06-30 11:42:37 -04:00
Radek Krzyśków
e2c15afc68
Windows platform enhancements (#84)
* Enabling portable paths for Windows (custom user preferences dir, drag'n'drop paths)

* Updated the windows messages loop for DXGI window API

* Fixed international keyboard layouts text input in DXGI
2024-06-30 00:46:14 -04:00
Agent X
3359ebba0b Add AWESOME new lighting color functions 2024-06-27 16:54:13 -04:00
Agent X
f2a6891a08 Rework new user folder system, make it just read sm64ex-coop if sm64coopdx isn't present, no more copying 2024-05-16 17:15:25 -04:00
Agent X
12aff40090 Make user folder sm64coopdx instead of sm64ex-coop, add auto folder copy 2024-05-15 18:00:16 -04:00
Isaac0-dev
bab8be49af
fixed a crash & memory leak from smlua_text_utils (#40)
* fixed a crash & memory leak from smlua_text_utils

* prevent autogen from exposing smlua_text_utils_shutdown

* forgot to push this
2024-05-13 19:38:53 -04:00
Isaac0-dev
45d42dbf73
fix crash when importing textures that exceed expected size (#42) 2024-05-14 09:38:21 +10:00
Isaac0-dev
c512d403a1
allow right alt in fullscreen combo (#29) 2024-05-08 09:52:33 +10:00
Agent X
1d72087479 Readd fixed MSAA 2024-04-19 12:28:45 -04:00
Agent X
a6b938df75 Shorten include paths by removing unnecessary "src/" 2024-04-17 17:28:38 -04:00
Agent X
136edd1097 Fix incorrect SDL window pos on high DPI 2024-04-03 21:33:46 -04:00
Agent X
2f69079e8e Make linear/tripoint filters switchable without restart 2024-04-03 20:25:51 -04:00
Agent X
95d0977df5 Windows: Make SDL APIs DPI aware 2024-04-03 20:11:09 -04:00
Agent X
817c8a1aff Make OpenGL renderer able to vertex color lightmaps 2024-04-03 20:10:10 -04:00
Agent X
ddc46affca Remove MSAA 2024-04-03 19:30:57 -04:00
Agent X
fd96946962 Remove DirectX 12 2024-03-30 23:57:18 -04:00
Isaac0-dev
1a3dd25c10
fix compilation with the HEADLESS compile flag (#9) 2024-03-28 18:49:47 -04:00
Isaac0-dev
7868cc26df remove external data (#551)
* remove external data

* fix tabs
2024-03-25 18:44:02 -04:00
Agent X
3819bbe0a3 Fix DirectX disconnect crash 2024-03-25 18:25:20 -04:00
Isaac0-dev
663e4549d8
extract assets from rom at runtime (#4)
* Proof of concept for loading rom assets at runtime

* Added skybox textures

* Adjusted format

* Load all texture assets from rom

* Adjusted rom asset loading

* Load all Vtx lists from rom

* clean up toad, wario and his cap conflicts

* Load sound samples from rom

* fix toad sounds

* Loaded sequences from rom

* Load collisions from rom

* Object animations are now loaded from the rom

* Load player animations from rom

* Load goddard anims from rom

* whoops

* fix some compile errors

* drag and drop rom checker, everything works now.

* fix errors due to merge conflicts

* fix compile errors on windows, switch to md5

* fix vertex colors during load

Co-Authored-By: Agent X <44549182+agent-11@users.noreply.github.com>

* Load dialogs from rom

* Loaded course/act names from rom

* Loaded ingame text from rom

* rerun autogen & blacklist smlua_text_utils_init

* fix ttc_seg7_vertex_0700B238 colors

---------

Co-authored-by: MysterD <myster@d>
Co-authored-by: Agent X <44549182+agent-11@users.noreply.github.com>
2024-03-23 16:11:30 -04:00
Agent X
edd29c0719 Remove set gfx adjust for aspect ratio function
Too much power.
2024-03-08 19:47:46 -05:00
Agent X
e1db5d5e04
Merge pull request #77 from Dominicentek/linuxcomp-fix
fix linux compositor
2024-02-25 09:45:14 -05:00
Dominicentek
efdc44607f whoops 2024-02-25 15:35:10 +01:00
Dominicentek
2546f45955 fix linux compositor 2024-02-25 15:34:02 +01:00
Agent X
5c3ebadb8e Add ability to change window title 2024-02-22 13:36:22 -05:00
Agent X
18a3b333e8 Add ability to disable aspect ratio adjustment 2024-02-21 19:26:30 -05:00
MysterD
406959e568 Make all player models reset texture2 2023-11-26 21:42:09 -05:00
MysterD
0a31253e27 Fix directx compile, disable loading screen for directx 2023-11-26 21:32:05 -05:00
MysterD
7df7bfcaa6 Reduce stderr spam 2023-11-26 09:51:26 -05:00
David Joslin
522d7c0373 Fixed crash in import_texture_*() 2023-11-08 19:55:31 -05:00
Isaac0-dev
b12b479d70 loading screen (#495)
* loading screen

* fix compile error

* Fix animation comparisons after character anim commit

* Cleaned up character sound/anim lookup code

* hopefully fix problems with queued mods

* use dj's changes

* fix compile errors due to upstream merge
2023-11-06 14:59:17 -05:00
Agent X
395ac50532 Add ability to set fog intensity multiplier (ramps up quickly) 2023-11-01 21:21:46 -04:00
Agent X
a4cb43bbb9 Tear out External Data and make Free Cam always compile 2023-11-01 20:17:55 -04:00
Agent X
49bca1cc01 sm64coopdx
Co-Authored-By: Yuyake <140215214+AngelicMiracles@users.noreply.github.com>
Co-Authored-By: FluffaMario <50761036+FluffaMario@users.noreply.github.com>
Co-Authored-By: Gregory Heskett <gheskett@gmail.com>
Co-Authored-By: iZePlayzYT <69536095+iZePlayzYT@users.noreply.github.com>
Co-Authored-By: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
Co-Authored-By: eros71 <16540103+eros71-dev@users.noreply.github.com>
2023-10-30 01:03:36 -04:00
PeachyPeach
610bdfcf04
fix C string typing (#459) 2023-08-18 18:31:59 +02:00
MysterD
70d551ab82 Clear texture 1 on level init (fixes corrupt level textures) 2023-06-27 15:38:08 -07:00
Agent X
3f60869fcb
Add the ability to change lighting color (#420)
* Add the ability to change lighting color

Well it's actually multiplying the lighting color and not changing it completely but I think it's better that way.

* Consistency
2023-06-22 11:28:17 -07:00
MysterD
69f16bebb5 Separate fog from vertex alpha so lightmaps can render it 2023-06-15 01:01:39 -07:00
MysterD
ab10fad09f Fix noise rendering for dx' 2023-06-14 23:04:28 -07:00
MysterD
529058ad77 Add support for noise in color combiners 2023-06-14 22:04:55 -07:00
MysterD
f35a6621dc Update win64 coopnet 2023-06-14 01:38:19 -07:00
MysterD
880ba52e05 Disabled printing of gfx_cc_print() 2023-06-11 14:33:18 -07:00
MysterD
91b6514d8a Make OpenGL lightmap overexposure simpler 2023-06-10 15:33:59 -07:00
MysterD
6207f3ea01 Fixed directx compiles 2023-06-10 04:34:42 -07:00
MysterD
c2a40b1564 Adjust light map rendering to allow for over-exposure 2023-06-09 21:18:49 -07:00