Commit Graph
76 Commits
Author SHA1 Message Date
izzy2lostandClaude Opus 5 968d582f2f build: modernise the Android toolchain and fix portability breaks
Android:
* compileSdk/targetSdk 34 -> 36, minSdk 21 -> 30, ANDROID_PLATFORM android-30
* pin ndkVersion 27.2.12479018, AGP 8.1.2 -> 9.2.1, Gradle 8.0 -> 9.4.1
  (Gradle 9.x is what runs on the JDK 25 that Android Studio now ships)
* Java 8 -> 17, javac encoding pinned to UTF-8
* drop the x86 ABI: no 32-bit x86 devices exist at minSdk 30, and it was
  a third of the native build time
* refresh AndroidX dependencies

Fixes found while getting the above to build:
* AssetUtils invoked a bare `python` on Windows and Android, which does not
  exist on distros that only ship `python3`. Use the interpreter CMake finds,
  on every platform.
* os_libc.h re-declared bcopy/bcmp/bzero, which clashes with bionic's
  fortified overloadable versions; include <strings.h> on Android instead,
  the same way OSX is already special-cased.
* libultra.c defined those same wrappers, which bionic already provides.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-26 18:14:09 -04:00
fgsfds efda5a5f44 port: also try GL4.1 core; a little bit of cleanup 2024-11-19 17:37:19 +01:00
Catherine Reprobate cea20b6f31 osx build 2024-11-17 10:51:45 -08:00
fgsfds 68e3a79e47 port: 64-bit: replace another long 2024-11-12 10:11:23 +01:00
fgsfds 19ef4738b7 port: 64-bit: fix matrices on x86_64-linux 2024-11-11 20:44:27 +01:00
fgsfds 25cdfc991b port: 64-bit cleanup: don't use int128 to copy Gfx around 2024-11-10 15:24:26 +01:00
Raf 8533189561 portx64: include "platform.h" wherever the flag PLATFORM_64bit is used, to avoid possible nasty surprises 2024-08-12 21:20:30 +08:00
Raf e77b3172ed portx64: a bunch of gcc14 fixes
portx64: fixed pal

Update c-cpp.yml

portx64: fixed linux build

portx64: fixed linux build

ops

portx64: fixed linux build, one more time

portx64: fixed linux build, one more time
2024-08-09 22:37:23 +08:00
Raf a9e82658fd portx64: a couple things breaking the build in github - actual fix, plus renamed more functions in filebg.c 2024-08-09 01:21:28 +08:00
Raf 5bee1b0cce portx64: a couple things breaking the build in github 2024-08-09 00:50:21 +08:00
Raf ef4b60d384 portx64: audio system changes 2024-07-30 16:57:17 +08:00
Raf 32faea2b95 portx64: gbi changes 2024-07-30 16:47:12 +08:00
Raf 4dbbcbeb58 portx64: changed pointers stored in u32 to uintptr_t
- adjusted hardcoded mask/hardcoded offsets used in memory operations (modelasm_c.c)
- makefile: enabled x64 support and added lib dependency
- title: increase alloc size
- tex: adjustment to calculations involving GDL sizes
2024-07-06 01:16:39 +08:00
Raf 7c6508af28 Merge branch 'fgs-port' into port-x64
# Conflicts:
#	Makefile.port
2024-05-26 15:57:03 +08:00
fgsfds 95b43b3f7b port: remove sprintf redeclaration 2024-05-13 18:48:35 +02:00
Raf 63c456a233 port-64: first changes, able to build 2024-01-27 18:25:55 +08:00
Catherine Reprobate 80d787caf9 Support for two-sticks, one controller
port: implements analog movement for pc controllers

port: Implement menu movement with the C stick

port: Implement analog leaning

port: Implement 1.2 + 1 analog zooming

port: pd input lib now handles 32 buttons

port: modern crouch implementation

port: implement analog slayer airbraking

port: xbla farsight strafing

Map crouch buttons

- map cycle crouch to L3
- sensible 1964-style crouch bindings
2023-10-17 18:28:18 -07:00
fgsfds 2b27c2dc6a port: make matrices work with GBI_FLOATS
add GBI_FLOATS=1 to DEFINES to enable it

not enabling by default yet because not sure if it'll break anything
2023-08-26 13:49:23 +02:00
fgsfds 2670db7ca1 port: add rstick fields to OSContPad 2023-08-21 00:29:51 +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 b109d866dd port: fix linux build 2023-08-09 23:00:57 +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 62f3007d2a port: halfassed solution for segmented addresses; fix some dyntex related stuff 2023-08-08 14:30:59 +02:00
fgsfds eb8c4e9ee9 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-06 18:52:09 +02:00
fgsfds ffb5ca4b5b port: begin implementing audio
mixer taken from sm64-port and modified to fit PD's naudio thing

MP3 playback not supported yet

audio buffering sucks
2023-08-06 15:51:07 +02:00