Commit Graph
100 Commits
Author SHA1 Message Date
fgsfds 44c8b024b0 Merge pull request #49 from tmyqlfpir/skedar-door-rate-limit
Rate limit stuckage RNG for skedar doors
2023-08-20 15:13:40 +02:00
fgsfds 9acd05f16c port: allocate room data from system heap
props to Ryan for the patch
2023-08-20 15:12:09 +02:00
fgsfds 7e71450a76 port: wrap malloc & co
in case we'll need allocation stats or something later
2023-08-20 14:56:07 +02:00
fgsfds 6fbb7e39ec Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-20 14:41:57 +02:00
fgsfds 7e26e6eac0 port: disable zbufClear to prevent white flashing in splitscreen 2023-08-19 18:24:33 +02:00
fgsfds 0c80abf5b9 port: ignore scissor test in resolve_msaa_color_buffer 2023-08-19 18:02:24 +02:00
fgsfds a7692fe4ef port: add MSAA setting 2023-08-19 17:50:31 +02:00
fgsfds 05233ef853 port: fix slomo
for different framerates hopefully we'll just have to redefine TICKS
2023-08-19 16:13:02 +02:00
fgsfds 8232d4a3f2 port: fix #23
credit to Ryan for figuring this out
2023-08-19 15:45:16 +02:00
fgsfds e6a4b9f2fe port: small clean up in gfx_pc 2023-08-19 15:38:16 +02:00
fgsfds 67c4531771 port: add stick scale config setting; better (?) deadzone 2023-08-19 15:18:15 +02:00
fgsfds 6f3f48d1e9 port: disable camspy lookahead 2023-08-19 14:21:33 +02:00
fgsfds b7f77498b3 port: disable height-based sensitivity multipliers 2023-08-19 14:17:53 +02:00
fgsfds 8d26944642 port: three-point does not need GL_LINEAR 2023-08-19 13:57:44 +02:00
fgsfds 2f54ceb96e port: add texture filter setting 2023-08-19 13:56:15 +02:00
fgsfds 63a5701906 port: fix mouse sensitivity at different FOVs/in zoom 2023-08-19 13:36:58 +02:00
fgsfds 41cdef055e port: allow keyboard to act as a separate controller
also add a way to fake controller connection status for testing
2023-08-19 12:13:23 +02:00
fgsfds 420053178e Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-19 11:45:17 +02:00
fgsfds 412dcd7736 port: fix blur in hires mode 2023-08-19 11:43:18 +02:00
fgsfds 4e42e3ef82 port: mouse wheel binds; handle adding and removing controllers 2023-08-19 02:16:58 +02:00
fgsfds 1d151f2864 port: implement some framebuffer effects
cloaking and menu blur

in a likely extremely slow way
2023-08-19 00:48:09 +02:00
fgsfds d90504675f port: this is not necessary at all 2023-08-18 17:24:18 +02:00
fgsfds 249041764b port: add adjustable fov 2023-08-18 17:18:56 +02:00
fgsfds 554fde7a9d port: fix rumble 2023-08-18 15:34:13 +02:00
fgsfds a49bfd00a4 port: add mouse controls to eyespy and slayer 2023-08-18 14:47:08 +02:00
fgsfds bc4c08fe2f port: only player 1 gets mouselook and only when aiming is allowed 2023-08-18 13:58:33 +02:00
fgsfds b906f77b37 port: added rumble scale and support for 2 extra buttons
also fixed some warnings
2023-08-18 12:26:55 +02:00
fgsfds e1f6e167fb Update README.md 2023-08-16 15:43:19 +02:00
fgsfds 034ff984cc port: fix s32 pointer in bgRenderRoomPass 2023-08-16 14:52:25 +02:00
fgsfds fedcbb8917 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-16 10:53:02 +02:00
fgsfds 7a4edd6ef7 port: fix SHADE_ALPHA with fog again 2023-08-16 02:15:04 +02:00
fgsfds 2b5e136cc0 port: fix #15 and menu sliders in general 2023-08-16 02:13:58 +02:00
fgsfds ab4d595904 port: fix #14
patch courtesy of Ryan
2023-08-16 00:28:20 +02:00
fgsfds b1247b5eac port: purge texcache when gunmem is released as well 2023-08-16 00:19:53 +02:00
fgsfds bed505fd91 port: get rid of __builtin_trap 2023-08-15 23:33:55 +02:00
fgsfds ffea7cd65a port: reset texcache on level change 2023-08-15 23:33:25 +02:00
fgsfds 8600aead20 port: close config after reading it 2023-08-15 22:00:39 +02:00
fgsfds f48879653a port: forgot this 2023-08-15 21:57:34 +02:00
fgsfds 0c01ab76cf port: add simple config file
includes an option to disable vsync and enable cpu-side frame limiter
2023-08-15 21:45:23 +02:00
fgsfds 1eb30b28e1 port: don't shove headers into the link command line 2023-08-15 21:35:09 +02:00
fgsfds 6a749bdae5 port: temporary fix for explosion texture colors 2023-08-15 17:49:09 +02:00
fgsfds 9aa15c6fbb Merge pull request #12 from MaikelChan/menu_rendering
Fixed flipped texts and menu elements that were beyond the near clip plane
2023-08-15 16:43:31 +02:00
fgsfds 8aa8d61bb8 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port
this fixes collision bugs related to moving objects and rotation of a lot of stuff
2023-08-15 16:16:18 +02:00
fgsfds 20fd3a8f67 port: make alt-enter go into fullscreen 2023-08-15 01:06:14 +02:00
fgsfds 7666ccf2c7 port: fix muzzle flashes on some guns 2023-08-15 00:49:35 +02:00
fgsfds 0cc29d2c99 port: fix healthbar rendering 2023-08-15 00:16:25 +02:00
fgsfds 1b1222494e port: move game viewport init to gfx_init() 2023-08-14 22:07:36 +02:00
fgsfds 94c3dfe51e port: fixup aspect ratio on the 3d parts of the title sequence 2023-08-14 22:07:16 +02:00
fgsfds 58d93cb083 port: hackfix psychosis gun crash 2023-08-14 19:43:05 +02:00
fgsfds f5bcc25e10 port: fix textureconfig-related texture corruption
explosions are still miscolored, but no longer garbage
2023-08-14 18:30:02 +02:00
fgsfds a31e2209c5 port: fix firing range
props to Ryan again
2023-08-14 17:53:08 +02:00
fgsfds 4d52a8e476 port: scale gun swivel only when mouse aiming 2023-08-14 17:42:48 +02:00
fgsfds c3fb50c358 port; refactor widescreen PR a bit
abstract aspect into a video* function

re-add gun swivel, but make it slower on hi res
2023-08-14 17:39:02 +02:00
fgsfds 65115089af Merge pull request #4 from MaikelChan/aspect_ratio
Sort of implemented arbitrary aspect ratio and mouse movement improvements
2023-08-14 17:24:57 +02:00
fgsfds 48bac90a7b Merge pull request #5 from babbygremlin/port
Fix default control scheme for combat sim
2023-08-14 17:18:35 +02:00
fgsfds 51808cd1f8 port: fix a bunch of controller-related bugs
don't completely override kb+m input when a controller is connected (fixes #3)

handle controller disconnection

add adequate default controller binds

add deadzone
2023-08-13 23:18:24 +02:00
fgsfds 758eb77578 port: fix credits crash
campaign is now more or less completable, other than the pushbox collision bug
2023-08-13 22:49:00 +02:00
fgsfds 358f788b61 port: read gbi command id correctly in gfxReplaceGbiCommands 2023-08-13 21:09:04 +02:00
fgsfds e0d4bf44b8 port: read command ids correctly when rendering in xray mode 2023-08-13 21:04:00 +02:00
fgsfds 7ec10febae port: swap intro commands properly 2023-08-13 20:30:28 +02:00
fgsfds 8acd495e91 port: revert the loaded_texture changes
they broke more than they fixed
2023-08-13 20:05:26 +02:00
fgsfds 5f11dd48a2 Revert "port: make the tmem_index allocation a little bit more sane"
This reverts commit 0f0e674f71.
2023-08-13 20:02:33 +02:00
fgsfds 38343bfbf1 Revert "port: change the loaded_texture system yet again; fix a couple crashes"
This reverts commit 6750bd9422.
2023-08-13 20:02:16 +02:00
fgsfds 76ed7f180e port: padoffsets are actually u16 2023-08-13 19:42:51 +02:00
fgsfds 6750bd9422 port: change the loaded_texture system yet again; fix a couple crashes
in combat sim once in a million years, in G5 and Villa
2023-08-13 18:52:15 +02:00
fgsfds d51a7bc9d6 port: rename some math functions to avoid conflicts with libc 2023-08-13 17:13:08 +02:00
fgsfds 6cb545aaf0 port: swap more cctv and linkliftdoorobj fields
props to Ryan for noticing
2023-08-13 16:48:21 +02:00
fgsfds 4b8c4a5bcd port: saner bg portal swapping 2023-08-13 15:52:43 +02:00
fgsfds 0a9a191f27 Update README.md 2023-08-13 12:05:59 +02:00
fgsfds 83c1bd3ffd ci: bundle DLL hell with windows builds 2023-08-13 11:56:54 +02:00
fgsfds 23c57ad033 ci: add placeholder file to data directory so it gets packaged 2023-08-13 11:45:42 +02:00
fgsfds cf1594bcbb ci: forgot to --add-architecture 2023-08-13 11:39:05 +02:00
fgsfds 10caa91099 ci: add even more missing deps 2023-08-13 11:37:19 +02:00
fgsfds 6f209d26d8 ci: add missing deps 2023-08-13 11:29:16 +02:00
fgsfds 6d777fb18f ci: start setting up CI 2023-08-13 11:24:24 +02:00
fgsfds c007bee536 port: don't use s32s for texture pointers 2023-08-13 01:13:03 +02:00
fgsfds 0f0e674f71 port: make the tmem_index allocation a little bit more sane 2023-08-12 22:42:38 +02:00
fgsfds 56ab86cddc port: support linear texgen without lookat set; set default values for lookat 2023-08-12 21:41:28 +02:00
fgsfds 8c9c0abee6 port: use uname -m instead of -p for machine arch 2023-08-11 23:43:31 +02:00
fgsfds ae01850ce1 Update README.md
clarify what 32-bit platforms means
2023-08-11 22:23:18 +02:00
fgsfds 319aaaa81d Update README.md 2023-08-11 22:13:20 +02:00
fgsfds 4f4280de58 port: on linux, default to host gcc with -m32
as suggested in #1

also do not abort clean on unsupported target arch
2023-08-11 22:06:39 +02:00
fgsfds dbd2da4923 port: LoadTLUT should probably mark textures for reload as well 2023-08-11 20:55:38 +02:00
fgsfds 16fcca7a2f port: hackfix incorrect size for RGBA textures; mark all textures as changed on load
this fixes the menu font, but it's probably a better idea to fix the whole loaded_texture system
2023-08-11 20:44:24 +02:00
fgsfds a803d5a4ec port: stub out G_RDPHALF_ commands
this will temporarily prevent crashing in combat sim but will result in black skies on maps that use this
2023-08-11 18:18:16 +02:00
fgsfds d888e82de6 port: fix vertex count in G_VTX 2023-08-11 15:19:17 +02:00
fgsfds 07adda3fa6 port: more reasonable mouse sensitivity
what the fuck was I trying to do here?
2023-08-11 00:03:37 +02:00
fgsfds 3416e0632d port: fix byteswapping the waypoint data 2023-08-11 00:03:16 +02:00
fgsfds 6396b38a6f port: fix (?) crash related to knocking out the secretary in defection 2023-08-11 00:02:59 +02:00
fgsfds 25d9e4a195 Update README.md 2023-08-09 23:02:24 +02:00
fgsfds b109d866dd port: fix linux build 2023-08-09 23:00:57 +02:00
fgsfds 075b7f9bd7 port: make the legal screen display the commit hash and platform 2023-08-09 22:54:42 +02:00
fgsfds fc16dc1330 port: nuke unused env var 2023-08-09 22:33:25 +02:00
fgsfds 28282f1c35 port: auto-generate headers like the decomp does
this does not require the ROM
2023-08-09 22:32:26 +02:00
fgsfds 67492e744d Update README.md 2023-08-09 22:09:53 +02:00
fgsfds 288b37a1b3 port: fix aEnvMixer; fix some misc warnings
hopefully that was the last of the big audio issues
2023-08-09 21:18:36 +02:00
fgsfds 60e64e1a1d port: don't doubleswap envelope data
this fixes music running out of free channels
2023-08-09 19:08:48 +02:00
fgsfds 18bab30c59 port: more UB/bug fixes 2023-08-09 13:07:02 +02:00
fgsfds a37441b221 port: hackfix a bunch of UB and seg-related issues
game now runs with -O2
2023-08-08 16:38:45 +02:00
fgsfds 245d5095b5 port: remove hacks from makefile 2023-08-08 14:31:30 +02:00