Commit Graph

24 Commits

Author SHA1 Message Date
Stefan Sundin 31c6d2f9d5
Add protocol handler support
This lets the user click a link in a web browser to very easily join a Quake 3 multiplayer game. As browser-based matchmaking websites become more popular, this makes it a lot more convenient and simple to play Quake 3 with others.

The links have the following URI format: quake3://connect/example.com:27950. The format has been designed to be flexible to allow more types of links in the future and avoiding having to make a breaking change. At the moment, "connect" is the only supported command.
2023-04-19 13:48:26 +01:00
Zack Middleton 02a12f2dec Update to SDL 2.24.0 and add separate macOS UB2 dylib
Update mingw and macOS SDL libraries to 2.24.0. (MSVC .lib files and
Xcode project haven't been updated.)

There is now a separate SDL dylib for macOS Universal Binary 1 and 2
because SDL 2.24.0 dropped support for macOS 10.6 (which is last to
support x86). Documentation says SDL 2.24.0 also dropped macOS 10.7
and 10.8 too. So UB2 is now 10.9 or later while 10.5 to 10.8 live in
UB1.

Compiled using osxcross with macOS 11.3 SDK. Ran "strip -x" on Windows
and macOS libraries. Ad-hoc signed dylib using PyOxidizer rcodesign to
fix digest checksums after strip.
2023-02-19 13:08:36 -05:00
Tom Kidd 4143697bd4 spaces > tabs 2021-07-14 09:48:03 -05:00
Tom Kidd b1ffdd1be0 Removed signature from SDL dylib, enabled dark mode on macOS. 2021-07-10 19:58:06 -05:00
Tom Kidd 6133df65fc Added shell script to compile Universal 2 binary (x86_64+arm64) 2021-07-06 17:30:27 -05:00
Tom Kidd eef3a40ed6 Restored original opus sse files, excluded from Xcode
Also added line break in script for consistency, thanks @zturtleman
2021-07-06 17:30:27 -05:00
Tom Kidd f68fc6fa6f Added another mention of arm64 to command line help
Another one caught by MaddTheSane
2021-07-06 17:30:27 -05:00
Tom Kidd 52a43ae1c4 Upgrades to Xcode project and Apple Silicon support
- Reorganized Xcode project
- Added missionpack support to Xcode project
- Incorporated changes from MaddTheSane for Apple Silicon support https://github.com/maddthesane/ioq3
- Built SDL 2.0.14 for Apple Siicon, added to existing SDL dylib
- Built SDLMain for Apple Silicon, added to existing libSDL2main.a
2021-07-06 17:30:27 -05:00
Tom Kidd de7123acee Fix for macOS Catalina screen resolution issue
Issue #422
2019-10-11 22:34:09 -05:00
Zack Middleton 9a0ee67e04 Make macOS Universal Bundle target 10.6 for x86 and x86_64
SDL 2.0.5 dropped support for macOS 10.5 so target 10.6 instead. The
PPC build uses SDL 2.0.1 so it still targets 10.5. macOS 10.5 (x86,
x86_64) should automatically run the PPC build using Rosetta.

Revert MAN-AT-ARMS' change to SDL 2.0.8 SDL_platform.h that allowed
targeting macOS 10.5 for the sake of PPC. It also incorrectly allowed
x86 and x86_64 to target 10.5 as well. (Also macOS PPC uses separate
headers now.)
2018-04-26 11:21:36 -05:00
Zack Middleton d28e667e46 Fix macOS app bundle with space in name 2018-03-04 05:16:29 -06:00
Zack Middleton 2a8bf94de1 Fix 'Invalid architecture' message in make-macosx-app.sh 2015-07-26 21:27:25 -05:00
Zack Middleton d2846c06ac Fix checking if MP dylibs exist in make-macosx-app.sh 2013-12-08 15:52:18 -06:00
Zack Middleton 2eaee597c9 Fix creating symlinks in make-macosx-app.sh
Create symlink if arch name is found anywhere in info printed by file command, not only if arch name is the last word.
2013-08-03 16:37:28 -05:00
jeremiah sypult 7b9aa77c6b Fix make-macosx-app.sh to make bundle on non-Mac OS X platforms 2013-07-18 10:49:01 -05:00
jeremiah sypult b7f5971ab8 Another pass at the Mac OS X make scripts.
Ironed out issues with generating an application bundle with universal
binaries on supported systems. Fall back to bundling a single
architecture when support for universal binary generation is not
available. Tested on Mac OS X 10.5.8 (and 10.5 SDK).
2013-07-18 10:39:08 -05:00
jeremiah sypult ea49d5d2da make-macosx-app.sh doesn't trust the output of 'which', so check for a hard-coded path 2013-07-18 01:28:08 -05:00
jeremiah sypult ef7031b993 make-macosx-app.sh supports systems without libtool, part 2 2013-07-18 01:14:28 -05:00
jeremiah sypult fd1e278142 make-macosx-app.sh supports systems without libtool 2013-07-18 01:08:56 -05:00
jeremiah sypult 744651f72f Updated Makefile to only build release OS X app bundles 2013-07-18 00:47:00 -05:00
jeremiah sypult 95138f456e make-macosx-app.sh should use /bin/bash and not /bin/sh 2013-07-18 00:35:44 -05:00
jeremiah sypult 2357f595fb make-macosx-app.sh using single '=' comparisons 2013-07-18 00:28:17 -05:00
jeremiah sypult 0d2a576a43 fix bug in make-macosx-app.sh with older shells 2013-07-18 00:16:38 -05:00
jeremiah sypult 260233d4ec bug 5986 - Configure jenkins to spit out mac .app
https://bugzilla.icculus.org/show_bug.cgi?id=5986
Created make-macosx-app.sh to handle manually creating an app bundle from other scripts.
Updated make-macosx.sh to create bundle with make-macosx-app.sh (TODO: make-macosx-ub.sh support).
Updated Makefile to create bundle with make-macosx-app.sh and zip up the resulting ioquake3.app if ARCHIVE is defined.
2013-07-18 00:11:10 -05:00