Commit Graph

2243 Commits (aea75678ebdc51424f7cc29737f83169389e53c6)

Author SHA1 Message Date
Zerocker 8c802f03c4 Added rumble strength option 2020-05-30 20:50:12 +09:00
Zerocker a664cf7b53 Added haptic implementation 2020-05-30 20:37:37 +09:00
Zerocker 594e524fdd Merge remote-tracking branch 'upstream/nightly' into rumble_back 2020-05-30 17:34:56 +09:00
fgsfds 4727164d5c read in all config line tokens (fixes the binds not saving) 2020-05-29 20:10:38 +03:00
fgsfds d7260b5a6a don't die after encountering a NULL texture 2020-05-29 19:35:35 +03:00
fgsfds f07fe288c7 fix build 2020-05-29 18:08:00 +03:00
Zerocker 2a9fa45393 Returned back OS functions in the commented state 2020-05-29 23:23:45 +09:00
Zerocker 66e69a219f Merge remote-tracking branch 'upstream/nightly' into rumble_back 2020-05-29 23:19:09 +09:00
fgsfds e0ef4d65bf Merge pull request #278 from GateGuy/DeadzoneOption
Added joystick deadzone setting to Controls
2020-05-29 08:22:00 +03:00
GateGuy 517e151c56 Fixed typo in comment 2020-05-28 18:42:45 -04:00
GateGuy 7cc1539df3 Added deadzone option 2020-05-28 18:40:36 -04:00
fgsfds f95e010e04 texrename: handle multiple files with the same CRC too 2020-05-28 23:08:47 +03:00
fgsfds 1e8d33f453 Merge pull request #269 from coltongit/patch-31
Fix a minor error with bettercamera
2020-05-27 03:18:02 +03:00
fgsfds d198ab7be9 add scripts to rename CRC-named HD textures
as used by @originalgrego's fork
2020-05-27 02:56:12 +03:00
fgsfds fa05fe5acc fix crashes with EXTERNAL_TEXTURES on JP/EU and Bowser
related to two huge textures and fonts
2020-05-27 02:51:21 +03:00
Colton G. Rushton 57fbcc8b83 Fix a minor error with bettercamera
The bettercamera code set when the player goes to THI is actually supposed to be set when the player goes to TTM. This small PR fixes this minor bug.
2020-05-26 15:28:36 -03:00
fgsfds 255174fc4d use a script to output zero-terminated strings instead of bash printf 2020-05-26 02:59:38 +03:00
fgsfds 9e3f6e33e9 build the res target by default when EXTERNAL_TEXTURES is enabled 2020-05-26 02:18:09 +03:00
fgsfds 8e0e7730d3 add texture preloading
when EXTERNAL_TEXTURES is defined, the texture hashmap in gfx_pc.c uses texture names as keys

all textures are precached on startup if EXTERNAL_TEXTURES is defined and 'precache' is true in the config
2020-05-26 00:54:51 +03:00
fgsfds 6f840b392c fix tools Makefile 2020-05-26 00:47:08 +03:00
Zerocker 3b12400c57 Removed ifndefs from main 2020-05-25 17:06:50 +09:00
fgsfds 5524af2855 game now uses non-working directory paths by default
saves by default go into XDG_DATA_HOME/sm64pc

external data is read from the executable directory, if it's not found there on Unix systems the game will attempt to read it from some paths like /usr/local/share/sm64pc

both save data and readonly data fall back to other options in case of a problem

behavior can be overridden by specifying --datapath and --savepath on the CLI

both of those will expand the exclamation point ('!') to the executable path, e. g. --savepath '!/save'
2020-05-25 07:19:35 +03:00
fgsfds f4252e311e add option to load textures from external files
this stores the null terminated texture name instead of the texture data

activated with EXTERNAL_TEXTURES=1
2020-05-25 04:22:03 +03:00
fgsfds 8337a8b049 fix skyconv --write-tiles --type sky 2020-05-25 02:25:13 +03:00
fgsfds fdd0057ffc remove debug print in Makefile 2020-05-25 00:58:43 +03:00
Zerocker 17de13cc33 Enabled rumble for all versions. 2020-05-24 23:52:03 +09:00
Zerocker 4d7bbe7f42 Secret Cheat was added 2020-05-24 23:50:55 +09:00
Zerocker c0c1942138 Added blank SDL functions for rumble support. 2020-05-24 23:49:49 +09:00
fgsfds 314cb348c4 this ain't const anymore 2020-05-22 01:42:07 +03:00
fgsfds d7331f176b separate options menu strings and add JP strings 2020-05-22 01:36:49 +03:00
fgsfds ad47b7e7f1 unfuck BSWAP16 macro, replace it with BE_TO_HOST16() in audio 2020-05-22 01:36:49 +03:00
fgsfds 3d86e957a5 fix text rendering on JP and (maybe) EU
also cache converted IA1 characters so it wouldn't reconvert them every goddamn time they're rendered
2020-05-22 01:36:49 +03:00
IvanDSM 82500919c7 Add commit hash to window title for nightly builds.
This also adds a flag for detecting nightly builds in the code.
2020-05-21 14:19:20 -03:00
fgsfds 38c21cfeb4 Merge pull request #245 from coltongit/patch-30
Hotfix to bettercamera
2020-05-21 19:51:20 +03:00
Colton G. Rushton cbb99b573d Unrevert the bettercamera update but this time actually fix it 2020-05-21 13:40:02 -03:00
Colton G. Rushton 8720a1fa8a Undo the bettercamera update
This screwed up the bettercamera for whatever reason. Urgent hotfix. Please test
2020-05-21 12:52:40 -03:00
Zerocker 88cb9ddcf2 Merge remote-tracking branch 'upstream/nightly' into textsaves_fix 2020-05-21 16:54:06 +09:00
V. R. Miguel 7ecb888ac7 Merge pull request #226 from coltongit/puppycam-fixes
Updating Bettercamera (also fixes cannons)
Thanks for the contribution, @coltongit, @porcino  :)
2020-05-20 23:18:43 -03:00
IvanDSM 1962dcf35d Merge branch 'nightly' of github.com:sm64pc/sm64pc into nightly 2020-05-20 22:39:27 -03:00
IvanDSM f6b9db43cb Quick fix for NODRAWINGDISTANCE=1 hanging fix 2020-05-20 22:39:07 -03:00
IvanDSM a67f640c29 Merge pull request #236 from coltongit/sparkle-texture-fix
Add minor sparkle texture fixes
2020-05-20 21:34:06 -03:00
fgsfds a144f89472 add fog to GL1.3 renderer
uses two different methods, with the first one taking priority if it's available:

a) use the fog factor supplied in the fog colors as a GL_FOG_COORD; GL_FOG_COORD is only available in GL1.4+ or when GL_EXT_fog_coord is present

just blend the same triangles a second time, but replace the color with fog color and multiply the alpha by fog alpha
2020-05-21 03:12:51 +03:00
Colton Rushton 3547c25df2 Minor fix to updated bettercamera 2020-05-20 21:10:00 -03:00
Colton G. Rushton 2eaa7edb80 Added info that sparkle texture 5 was fixed 2020-05-20 20:59:16 -03:00
Colton G. Rushton 577d81e4a1 Add minor sparkle texture fixes
Controlled by TEXTURE_FIX as mandated by the Koopa shorts issues/PRs
2020-05-20 20:54:25 -03:00
Colton Rushton 2105a36be4 Resolve a few errors with the new additions. 2020-05-20 16:52:52 -03:00
fgsfds 602409bc60 avoid redefining CLOCK_MONOTONIC and shit 2020-05-20 17:56:35 +03:00
fgsfds bc8cc8f888 Merge pull request #232 from Tarnadas/nightly
fix non mingw builds
2020-05-20 17:53:21 +03:00
Mario Reder 2ba8891448 fix non mingw builds
resolves #230
2020-05-20 16:50:05 +02:00
Zerocker 1f250255d3 Added appropriate flags for sound mode and cap level. Documentation has been updated. 2020-05-20 23:28:04 +09:00