Commit Graph
100 Commits
Author SHA1 Message Date
fgsfds 4914aa335b fix README typo 2023-10-30 19:01:52 +01:00
fgsfds afb91ab9e9 port: add radial menu sensitivity slider 2023-10-30 19:00:26 +01:00
fgsfds ed65f7971a Merge pull request #206 from NeonNyan/port
Input fixups for quick-detonate and radial menu navigation
2023-10-30 11:14:33 +01:00
fgsfds 50b74e4280 port: fix #204; allow players 2-4 to use lstick in radial menu 2023-10-29 18:28:04 +01:00
fgsfds c8db5fa106 port: add keybind menu 2023-10-28 18:17:35 +02:00
fgsfds cea9527936 port: add controller axis settings
also make sliders look nicer and save some input settings on quit
2023-10-28 14:36:00 +02:00
fgsfds 2813ecedeb port: fix some sliders in extended options 2023-10-28 13:45:12 +02:00
fgsfds 015817f204 port: add extended options menu
as well as support for string literals in the menu system
2023-10-28 05:33:09 +02:00
fgsfds da7e1493a5 port: extend sky slightly beyond screen
to push glitchy corners out of view
2023-10-25 12:54:47 +02:00
fgsfds 368021201b Update README.md 2023-10-24 15:55:04 +02:00
fgsfds 30b8400d86 port: fix drug blur not resetting on respawn
fix taken from Graslu's decomp fork
2023-10-24 11:14:33 +02:00
fgsfds 77fcac4912 port: remove static decls from bondmove.h 2023-10-23 20:34:51 +02:00
fgsfds 790d44afb0 Merge pull request #203 from NeonNyan/port
fixup: quick detonate
2023-10-23 20:33:23 +02:00
fgsfds 6957c1540d port: fix digital grab movement 2023-10-22 18:49:48 +02:00
fgsfds be689a0495 port: add forgotten DPAD_RIGHT setting 2023-10-22 15:29:36 +02:00
fgsfds 0b9f99a084 port: only allow crouch cycling when crouching is allowed 2023-10-22 15:22:01 +02:00
fgsfds 4c1076080d port: allow user to go back to the original crouch controls
set Game.ClassicCrouch=1
2023-10-22 15:17:47 +02:00
fgsfds 8347900d33 port: expand config size 2023-10-22 15:07:47 +02:00
fgsfds f638d49693 port: fit the CK_ enum back into 32 bits 2023-10-22 14:45:58 +02:00
fgsfds d1817aaea6 port: cleanup; camspy and slayer respect invert pitch option
note: dual analog mode now only works if you set StickCButtons=0 in pd.ini
2023-10-22 14:38:44 +02:00
fgsfds e2b1cdce86 Merge pull request #196 from NeonNyan/1.2_analog
1.2 + 1 Analog Controls
2023-10-22 13:29:42 +02:00
fgsfds 81a5e971ef port: finish drawing before copying the backbuffer 2023-10-21 14:24:36 +02:00
fgsfds 6f0cb752aa port: gl: allow user to override context version 2023-10-19 13:36:40 +02:00
fgsfds abf5703036 port: only disable crash handlers if they were installed 2023-10-19 12:32:57 +02:00
fgsfds b8e6e19ef5 port: allow running without a crash handler
--no-crash-handler
2023-10-19 12:30:50 +02:00
fgsfds ba51e9d5d1 port: don't autoturn when looking too far to the side in horizon scanner mode 2023-10-18 16:17:26 +02:00
fgsfds 8bf14c4044 port: implement horizon scan effect 2023-10-18 16:12:25 +02:00
fgsfds 1eb1e9686a port: allow user to disable framebuffer use 2023-10-16 23:19:18 +02:00
fgsfds dbebe7e626 port: fix new fb effects when MSAA is on 2023-10-16 23:06:00 +02:00
fgsfds 79f8a35c33 port: implement fisheye 2023-10-16 22:38:44 +02:00
fgsfds b78a5ee064 port: implement motion blur and zoom blur 2023-10-16 22:07:41 +02:00
fgsfds ed3bd97dd7 port: when loading GL try 3.0 and 3.2 core as well 2023-10-05 18:20:37 +02:00
fgsfds d3d313c9e8 Merge pull request #194 from rafccq/port
bug fix: incorrect RGBA values for some embedded textures
2023-10-04 10:53:40 +02:00
fgsfds 63b38e48ba port: actually use RumbleScale 2023-10-03 11:03:27 +02:00
fgsfds 8a71ff651a port: correct aspect ratio of combat scenario-specific timers 2023-10-01 17:33:37 +02:00
fgsfds 0278458a28 port: fix #193 2023-10-01 16:22:51 +02:00
fgsfds 50e3393951 Update README.md 2023-09-30 19:09:12 +02:00
fgsfds 72fa10634f Merge pull request #191 from TwitchBronBron/patch-1
Improve windows build instructions
2023-09-30 19:08:13 +02:00
fgsfds 28837dd034 port: different fix for chrAlertOthersOfInjury crash 2023-09-30 14:17:47 +02:00
fgsfds 9a7e9c9ee3 port: small fixes for previous commit 2023-09-30 14:05:53 +02:00
fgsfds 608b02d363 Merge pull request #188 from NeonNyan/ammenu-abs
hack: cp `inputMouseGetScaled -> inputMouseGetScaledDeltaAbsSens` for intuitive amenu UX while using aim inversion
2023-09-30 12:41:49 +02:00
fgsfds 86ed199054 port: fix external seg loading 2023-09-28 09:05:11 +02:00
fgsfds 466c77362e port: mod: add support for sequence replacements 2023-09-28 00:55:14 +02:00
fgsfds 8a342a0698 port: mod: add a dumb replacement system for individual textures and animations 2023-09-27 23:42:47 +02:00
fgsfds 75b0d2dd29 port: modconfig: allow defining the alarm sound and extra gunmem size 2023-09-27 20:19:09 +02:00
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
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
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
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
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
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
fgsfds fe5d1dd152 port: fix #158 2023-09-08 15:09:05 +02:00
fgsfds 180e62d597 port: cosmetics 2023-09-08 14:37:44 +02:00
fgsfds 4870641d38 Merge pull request #126 from Phnod/zoom-hud-fov
Zoom HUD fov fix and zoom fov config option
2023-09-08 13:00:14 +02:00
fgsfds 33e2f15f49 Merge pull request #121 from rafccq/port
Bug fix: double reload
2023-09-08 12:59:32 +02:00
fgsfds cf51f09826 Merge pull request #160 from tmyqlfpir/port
Fix random five scenario using classic weapons for last slot
2023-09-08 12:59:21 +02:00
fgsfds 892d50ba7c port: revert #134 for now
there must be a different solution for that problem
2023-09-05 11:45:12 +02:00
fgsfds dde656c4c3 port: fix typo 2023-09-04 21:47:42 +02:00
fgsfds 2d628e2b5a Merge pull request #134 from Phnod/fix/guard-line-of-sight
fix: return false in chrHasLosToPosWasteful if outside FOV check
2023-09-04 21:46:52 +02:00
fgsfds d7652a6db6 port: remove stray field in TextureCacheKey 2023-09-04 21:10:20 +02:00
fgsfds 491d3521f7 port: different names for pal and jpn EXEs 2023-09-04 21:06:49 +02:00
fgsfds d6854c412c port: allow building with pal-final and jpn-final
this will produce a separate executable that will load pd.pal-final.z64 or pd.jpn-final.z64, respectively

japanese characters are broken in jpn and pal crashes when you try to select language, so no autobuilds yet
2023-09-04 21:06:10 +02:00
fgsfds 110386a3dd tools: mklang: explicitly specify utf-8 2023-09-04 21:02:50 +02:00
fgsfds 840a2e73a5 port: implement screen shake 2023-09-03 19:12:29 +02:00
fgsfds 07c3a513ef port: generalize the texture font filter a bit
now called TextureFilter2D; although for now I couldn't find anything other than fonts to use it on
2023-09-03 00:36:27 +02:00