Commit Graph
7085 Commits
Author SHA1 Message Date
fgsfds 704015deac port: modconfig: add user defined extended weather config
includes a way to specify weatherproof rooms and other hardcoded stuff

this might break something, as it removes some hardcoded checks
2023-09-27 19:44:51 +02:00
fgsfds d98575d77b port: add basic mod directory support with config files for custom stages
select mod directory with --moddir whatever

these should contain a modconfig.txt that can specify replacements for some stage table fields, etc
2023-09-26 23:05:07 +02:00
fgsfds 9b17aaf258 port: gl: add ARB_vertex_array_object
for those #ifdef APPLE parts
2023-09-26 15:29:59 +02:00
fgsfds 4638af52e2 port: gl: don't die without fbo support 2023-09-26 15:28:43 +02:00
fgsfds 8aa1e6b9c9 port: gl: check for GL_MIRROR_CLAMP_TO_EDGE; cleanup 2023-09-26 15:01:49 +02:00
fgsfds c4e0e4f868 port: more GL error checking 2023-09-26 14:49:14 +02:00
fgsfds 85b2ba5f77 port: cap pad size
this is required for some custom levels that have pads with wrong flags
2023-09-25 01:39:01 +02:00
fgsfds ef090a2b8f port: properly get size from external files 2023-09-25 01:39:01 +02:00
fgsfds d1d11b9362 port: fix alreadySwapped
how the fuck did this work fine before?
2023-09-25 01:39:00 +02:00
fgsfds ee4434eb6c Merge pull request #181 from jonaeru/enable-combatknife-jp
Add the combat knife in jpn-final
2023-09-24 19:40:10 +02:00
Jonaeru 9d2957c419 Add the combat knife in jpn-final, fix conditions 2023-09-24 22:07:53 +09:00
Jonaeru e606a58515 Add the combat knife in jpn-final, fix #if 2023-09-24 21:58:08 +09:00
fgsfds d303971c2d Revert "port: use system trig functions"
apparently this only causes issues, though it might be possible to use SOME trig functions from libc
2023-09-24 11:47:14 +02:00
fgsfds bd113a5b44 port: nicer GL debug output
now only enabled if you pass --debug-gl
2023-09-24 00:41:57 +02:00
Jonaeru 99337e8157 Add the combat knife in jpn-final 2023-09-24 01:30:11 +09:00
fgsfds dad5b3c074 port: use system trig functions
this might cause different behavior from the N64 version or it might fix some issues, who knows
2023-09-23 13:18:51 +02:00
fgsfds 7d5f33d033 port: fix surfacetypes in g_Textures 2023-09-22 21:26:02 +02:00
fgsfds 54842f50db port: another UB fix in bg.c 2023-09-22 21:06:32 +02:00
fgsfds 5ae29afdeb port: fix some pointer ub in bg.c 2023-09-22 20:52:31 +02:00
fgsfds 8a62b884cc port: make crosshair sway resolution independent
this might suck
2023-09-22 20:37:52 +02:00
fgsfds ca8851789a port: add centered HUD mode
set Game.CenterHUD=1 in pd.ini to enable
2023-09-22 20:26:32 +02:00
fgsfds 205032c626 Merge pull request #176 from rafccq/port
bug fix: hoverbike jittering
2023-09-22 20:13:59 +02:00
Raf f0842337e1 Merge remote-tracking branch 'base/port' into port 2023-09-20 18:37:36 +08:00
fgsfds b2cb5c1737 tools: assetmgr: move --raw-out into a separate function 2023-09-20 11:19:36 +02:00
fgsfds eef42a1e3e tools: assetmgr: allow writing raw binary instead of ELF; fix zip() on windows
use --raw-out filename to get the raw output (zipped if applicable)
2023-09-20 10:58:19 +02:00
fgsfds 53ff42836c tools: rarezip: use system gzip on non-linux 2023-09-20 10:36:21 +02:00
Raf e92f556cf9 bug fix: hoverbike jittering - also remove redundant condition from hovUpdateGround() 2023-09-19 04:07:28 +08:00
Raf 13a6cc1c28 bug fix: hoverbike jittering - revert changes to frametimeCalculate() 2023-09-19 03:12:30 +08:00
Raf 89a3377456 bug fix: hoverbike jittering - forgot to remove a term from the expression 2023-09-19 01:13:29 +08:00
Raf 053d6172e5 bug fix: hoverbike jittering 2023-09-19 00:59:09 +08:00
fgsfds 31bb7c62ad port: add scanline effects for NV and IR goggles and slayer 2023-09-17 23:53:12 +02:00
fgsfds c3f572f016 port: recreate infiltration camera effects
using newly added modulation blending and noise
2023-09-17 23:34:02 +02:00
fgsfds 309aff78fe Merge pull request #171 from Phnod/enhancement/auto-switch-classic-weapons
Add classic weapons to auto-switch list
2023-09-16 12:41:44 +02:00
fgsfds 8553c788ab port: disable reverse pitch and lookahead by default 2023-09-15 21:08:04 +02:00
fgsfds d567f707cb port: fix #170 2023-09-15 20:59:48 +02:00
fgsfds 6686221029 port: fix #169 2023-09-15 20:53:06 +02:00
fgsfds 3ee473d909 Revert "port: fall back to copy if a zipped file is not zipped"
This reverts commit 233f4b7514.
2023-09-15 20:38:58 +02:00
fgsfds 2010d31f6b Revert "port: fix error message in previous commit"
This reverts commit ae2d463d7e.
2023-09-15 20:38:37 +02:00
fgsfds ae2d463d7e port: fix error message in previous commit 2023-09-15 20:32:31 +02:00
fgsfds 233f4b7514 port: fall back to copy if a zipped file is not zipped 2023-09-15 20:31:24 +02:00
fgsfds 6a1b0a474c port: allow specifying path to eeprom file
--eeprom-file file.bin
2023-09-14 21:35:05 +02:00
fgsfds 78ff5683ce port: make the reverse pitch option affect mouselook 2023-09-14 20:41:19 +02:00
fgsfds 53e881b75e port: support loading/saving from/to a directory in HOME or APPDATA
~/.local/share/perfectdark on Linux

AppData/Roaming/perfectdark on Windows

on Windows if the game has write access to the working directory it will save there by default, otherwise it will save to AppData

on Linux the game will save to the working directory if there is already a config there, otherwise it will save to ~

additionally the ROM/data files will be loaded from wherever they're found, working directory taking priority
2023-09-13 20:36:42 +02:00
fgsfds fff2fcae21 port: don't increment module refcount when getting base address 2023-09-12 23:28:30 +02:00
fgsfds a68a23d1cb port: print module base in crash message 2023-09-12 23:24:23 +02:00
fgsfds cb1e1e5dca port: fix #163 2023-09-12 17:34:34 +02:00
Phnod 3b09cb3fae Add classic weapons to auto-switch list 2023-09-11 18:45:33 -04:00
fgsfds c10050a14c port: jpn-final: possibly fix japanese characters 2023-09-11 18:32:09 +02:00
fgsfds f8ef6939b0 port: roll back to old variant of #76 2023-09-08 22:28:19 +02:00
fgsfds 52854b6502 port: fix #139 2023-09-08 15:47:24 +02:00