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
7d5f33d033
port: fix surfacetypes in g_Textures
2023-09-22 21:26:02 +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
6a1b0a474c
port: allow specifying path to eeprom file
...
--eeprom-file file.bin
2023-09-14 21:35:05 +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
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
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
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
Phnod
7d96cd8fbd
Merge branch 'port' of https://github.com/Phnod/perfect_dark into zoom-hud-fov
...
# Conflicts:
# port/src/main.c
# src/include/data.h
2023-09-03 15:39:46 -04:00
fgsfds
840a2e73a5
port: implement screen shake
2023-09-03 19:12:29 +02:00
Phnod
d033a7fa02
Merge branch 'port' of https://github.com/Phnod/perfect_dark into zoom-hud-fov
...
# Conflicts:
# src/include/data.h
2023-09-02 19:05:12 -04: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
fgsfds
18b467a4d8
Merge pull request #127 from Phnod/font-filtering
...
port: add a config option to disable texture filtering on fonts
2023-09-03 00:22:06 +02:00
Catherine Reprobate
0d6a62ada0
Use XBox / PC Menu A/B semantics
...
Fixes #110
2023-09-02 13:28:21 -07:00
fgsfds
cc079e842b
port: small crashhandler fix 2
2023-09-01 22:58:45 +02:00
fgsfds
37907dccfc
port: small crashhandler fix
2023-09-01 22:49:45 +02:00
fgsfds
701193e71a
port: add crash handler
...
you probably won't get symbol names, but you can still use addr2line
2023-09-01 22:42:44 +02:00
Phnod
9eb3ffcc30
port: add a config option to disable texture filtering on fonts
2023-09-01 00:02:47 -04:00
Phnod
2a5160c519
cleanup: move repetitive zoom fov logic to single multiplier value
2023-08-31 20:39:30 -04:00
Phnod
96bd8e05aa
port: add ini config parameter to control whether ini FOV change should affect the max zoom of weapons
2023-08-31 20:39:29 -04:00
fgsfds
b6a3aef345
port: add logging and some command line args
...
--log: logs messages to pd.log
--boot-stage N: sets initial stage number to N (MP stages will crash or hang if booted like this)
--no-sound: disable sound
--rom-file S: set ROM filename
2023-08-31 12:54:18 +02:00
fgsfds
24ced381de
port: add separate mouse aim sensitivity
...
Game.MouseAimSpeedX and Game.MouseAimSpeedY
2023-08-31 01:21:33 +02:00
fgsfds
c3b4d59168
port: add 1964GEPD-like mouse aim mode
...
you can switch to the old variant by setting Game.MouseAimMode to 1 in pd.ini
2023-08-30 15:28:33 +02:00
fgsfds
970e13773d
port: remove unused fileSlots array
2023-08-30 12:45:39 +02:00
fgsfds
af1422a1de
port: move CrosshairSway and FovY to the [Game] ini section
...
fov doesn't really belong in the video functions either
2023-08-30 12:31:27 +02:00
fgsfds
4947350230
Merge pull request #70 from squiddingme/crosshair
...
Config option to control crosshair/gun sway
2023-08-30 12:15:57 +02:00
fgsfds
d39d7fb1f5
port: small cleanup
2023-08-30 12:02:24 +02:00
Raf
1a7458a290
fix whitespace issues
2023-08-29 16:26:33 +08:00
Raf
92392da6fe
enable using mouse on the radial menu: reworked
...
mouse+kb and other input devices are no longer exclusive when using the radial menu
2023-08-29 02:39:16 +08:00
Raf
0f6920a3f1
Merge branch 'base-port' into port
2023-08-28 23:55:15 +08:00
fgsfds
0e5b4bde62
Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port
2023-08-28 15:55:54 +02:00
Raf
ab17a995a4
enable using mouse on the radial menu
2023-08-28 04:50:26 +08:00
squiddingme
3f562c3009
Add config option to control crosshair/gun sway
2023-08-28 02:40:50 +08:00
fgsfds
66443dd2c2
port: don't explode when EEPROM can't be saved or loaded
2023-08-27 17:49:27 +02:00
fgsfds
89849bc805
port: read keybinds from config file
2023-08-27 17:26:57 +02:00
fgsfds
4fef14f9fc
port: rework config system
...
it is no longer required to specify all possible config keys in config.c, you can just use configGet/Set
2023-08-27 17:26:46 +02:00
fgsfds
9529a991ef
Merge pull request #68 from NeonNyan/controller-buttons
...
Multiple input updates
2023-08-27 13:06:16 +02:00
GreaseMonkey
5b0874daef
Fix choppy audio at sub-60fps framerates
2023-08-27 12:12:21 +12:00
Catherine Reprobate
10844e7a52
fixup controller use buttons
2023-08-26 16:14:43 -07:00
Catherine Reprobate
077a091f7d
fixup camspy bindings
2023-08-26 16:14:43 -07:00
Catherine Reprobate
f88493870a
Address multiple extended input nits
...
- Q for radial menu
- mapped remaining xbla buttons, but the menus follow switch controller handfeel
- based on @Phnod's switch-weapons PR: https://github.com/fgsfdsfgs/perfect_dark/pull/57
2023-08-26 16:14:43 -07:00
Catherine Reprobate
3f6f0b3f9c
map sensible xbox inputs
...
xbox A is mapped to n64 B for using items
n64 A is unmapped for controller.
When radial / weapon switching is mapped way from n64 A n64 A can be
remapped as a cancel button .
Trigger will need to be used for the menus until
2023-08-26 16:14:43 -07:00
Phnod
5a0580005f
Added scrollwheel weapon swapping
2023-08-26 16:14:43 -07:00
fgsfds
844139b339
port: restart currently playing MP3 when needed
...
there's probably a way to determine reset condition without adding an extra field to g_Mp3Vars, but I can't be arsed to figure it out
2023-08-26 10:34:35 +02:00
fgsfds
4ab1e08129
port: make sun and light glares use LOS checks
...
this partially fixes them, but there are still problems to iron out
2023-08-25 17:18:02 +02:00