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
fgsfds
bcfc1160db
add GL1.3 (or 1.2 with some extensions) rendering backend
...
there are still some graphical glitches and no fog
2020-05-20 07:00:04 +03:00
Colton Rushton
f1403ac2c2
Formatting fixes.
2020-05-19 22:10:47 -03:00
Colton Rushton
5026b8da7a
Another minor fix
2020-05-19 22:08:45 -03:00
Colton Rushton
4d5a7468c9
Minor fix
2020-05-19 22:05:35 -03:00
Colton Rushton
43a3d74a08
Updating Bettercamera
2020-05-19 21:58:15 -03:00
IvanDSM
8b1e8f8a68
CLI improvements
2020-05-19 21:22:05 -03:00
fgsfds
4fdaa3475f
clean up some toolchain compatibility fixes
...
also rename the abs() macro to not cause any fucking conflicts ever again
2020-05-19 22:22:52 +03:00
fgsfds
946ac7ccde
separate text saves; fix build without TEXTSAVE
2020-05-19 21:56:23 +03:00
fgsfds
249b87b06c
Merge pull request #216 from Leon422/patch-1
...
Cheats can be enabled by pressing "L" 3 times while in the options menu.
2020-05-19 21:26:09 +03:00
Leon422
1cab9faa12
Fixed spacing, added brackets. Ready to merge
2020-05-19 19:15:20 +01:00
Leon422
3f5176ac6a
Cheats can be enabled by pressing the L trigger 3 times while in the options menu.
...
Also plays a sound to confirm the user that it worked.
2020-05-19 18:31:01 +01:00
zerocloude
a0cff889cc
Merge pull request #213 from coltongit/patch-27
...
Update the README
2020-05-20 00:28:38 +09:00
Colton G. Rushton
dafc2a595d
Update to add text-save support mention
2020-05-19 12:27:15 -03:00
zerocloude
98fba90772
Merge pull request #178 from zerocloude/nightly
...
Added support text-based savefile support. Added new parsing library for toml-life files.
2020-05-20 00:14:39 +09:00
Zerocker
219ca905f9
Merge remote-tracking branch 'upstream/nightly' into nightly
2020-05-20 00:02:29 +09:00
Colton G. Rushton
f474ed53e1
Update the README
2020-05-19 12:00:33 -03:00