Shipwright/libultraship/libultraship
David Chavez e42b18cf71
Add Support for macOS (#441)
* Fixed soh filters

* add more makefile changes

* almost ready

* more updates

* update

* update

* Update Makefiles to handle both platforms

* Allow for overriding the CXX and CC executables

* Restore original structure while supporting custom CXX flags

* Remove some platform specific libs

* Dynamic target name

* Make X11 paths package-agnostic

* Remove changes to `gfx_opengl.cpp`

* Use OpenGL2 on MacOS instead of OpenGL3

* make it actually render something

* render at least the first texture, still need to figure out the second
one

* Let’s use OpenGL 3 again

* maybe this works to get the right texture? link's eyes still look off a bit

* did this work?

* set the platform to macos

* actual numbers are right, but logic is ugly XXX/TODO, i know

* add zlib to ldflags for ZAPDUtils

* A bit of cleanup

* Revert unneeded changes

* Remove GL_CHECK

* Fix issues with z64 branch

* use an std::map instead of a giant array

* three point filter fix (#2)

* Fix mac compilation

* fix audio for 64 bit

* revert audio heap size, keep bigger pools

* Add more Apple specific checks to our modifications

* Add building instructions for macOS

* Remove unecessary step from building instructions

* Add missing SDL2 & GLEW to Linux LDLIBS

* Update BUILDING.md

Co-authored-by: BountyChocolate123456 <101743444+BountyChocolate123456@users.noreply.github.com>

* Update soh/.gitignore to include other arch binaries

Co-authored-by: BountyChocolate123456 <101743444+BountyChocolate123456@users.noreply.github.com>

* Use right platform name for debugging window

Co-authored-by: BountyChocolate123456 <101743444+BountyChocolate123456@users.noreply.github.com>

* Fix stormlib on macos (arm64)

* Simplify some of the ifdef checks

* Revert an older no longer necessary fix

* Remove remaining unecessary deviations

* Update building instructions after StormLib changes

* Feature: Use OpenGL 4.1 (#1)

* Further tweak the BUILDING

* Tidy up

* reword -j message

* Add Jenkins CI Support (#2)

* Fix type issues

* add target <appbundle> and <filledappbundle>

add makefile targets to create an .app
`filledappbundle` creates the target with the .otr included

this should perhaps be moved to Application Support though

* pull gcc's rpath from otool output

* move make target to the end so it's not default

* Add Jenkins and make exe in par with other platforms

* Actually save build artefacts

* Fix artefact path

* Remove x11 mentions and linking (not used)

* Update building instructions for generating app

* use appsupport directory

* Add new app icon

* Update target to match macOS types

* Update more audio types

* fix null deref in Audio_PlayFanfare

* Remove old import from z64

* address final nit with apple ifdefs

Co-authored-by: KiritoDev <36680385+KiritoDv@users.noreply.github.com>
Co-authored-by: Jeffrey Crowell <github@crowell.biz>
Co-authored-by: BountyChocolate123456 <101743444+BountyChocolate123456@users.noreply.github.com>
2022-06-22 14:59:21 -04:00
..
Factories Merge branch 'zapd_audio_support' into zelda64 2022-06-16 23:09:50 -05:00
Lib Add Support for macOS (#441) 2022-06-22 14:59:21 -04:00
Animation.cpp Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
Animation.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Archive.cpp Fixed StormLib Forward Slash BackSlash issues 2022-06-16 20:35:52 -04:00
Archive.h Replaced StormLib .lib files with source code. 2022-06-16 20:35:52 -04:00
Array.cpp Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
Array.h Audio decompiled and WIP custom sample support 2022-06-16 20:35:52 -04:00
Audio.cpp Add Support for macOS (#441) 2022-06-22 14:59:21 -04:00
Audio.h Add Support for macOS (#441) 2022-06-22 14:59:21 -04:00
AudioPlayer.h Added GetSampleRate function 2022-06-14 14:04:47 -05:00
Blob.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Blob.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
CollisionHeader.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
CollisionHeader.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
ConfigFile.cpp Added save filename and path to config file (#130) 2022-06-20 13:54:44 -04:00
ConfigFile.h Save states (#300) 2022-05-12 13:28:24 -04:00
Controller.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Controller.h Rumble cvar and fixes (#184) 2022-04-26 19:50:24 -04:00
ControllerAttachment.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
ControllerAttachment.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Cutscene.cpp Audio decompiled and WIP custom sample support 2022-06-16 20:35:52 -04:00
Cutscene.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Cvar.cpp Improve CVars a bit (#283) 2022-05-11 15:12:52 -04:00
Cvar.h Replace remaining occurances of CVar_GetVar with CVar_Get 2022-05-11 15:45:10 -04:00
DisplayList.cpp Added fixes based on the reviews 2022-06-19 02:03:04 -05:00
DisplayList.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Environment.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Environment.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
File.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
File.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
GameOverlay.cpp Fixed id and cleanup on finish of notifications (#304) 2022-05-12 20:44:50 -04:00
GameOverlay.h Fixed id and cleanup on finish of notifications (#304) 2022-05-12 20:44:50 -04:00
GameSettings.cpp Redesign hooks mechanism (#352) 2022-05-21 13:22:25 -04:00
GameSettings.h Normalized imgui and added texture filter (#271) 2022-05-11 10:59:56 -04:00
GameVersions.h Save states (#300) 2022-05-12 13:28:24 -04:00
GlobalCtx2.cpp Added save filename and path to config file (#130) 2022-06-20 13:54:44 -04:00
GlobalCtx2.h Added save filename and path to config file (#130) 2022-06-20 13:54:44 -04:00
KeyboardController.cpp Rumble cvar and fixes (#184) 2022-04-26 19:50:24 -04:00
KeyboardController.h Rumble cvar and fixes (#184) 2022-04-26 19:50:24 -04:00
LUSMacros.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Material.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Material.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Matrix.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Matrix.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
MemoryPack.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
MemoryPack.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
ModManager.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
ModManager.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
ModModule.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Model.cpp Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
Model.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Path.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Path.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
PlayerAnimation.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
PlayerAnimation.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
PulseAudioPlayer.cpp Updated zapd_audio_support into zelda64 2022-06-15 09:42:37 -05:00
PulseAudioPlayer.h Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
Resource.cpp Merge develop into zelda64 2022-05-31 17:49:39 -05:00
Resource.h Updated resource types 2022-06-16 20:35:52 -04:00
ResourceMgr.cpp Audio support nearly complete. 2022-06-16 20:35:52 -04:00
ResourceMgr.h Audio support nearly complete. 2022-06-16 20:35:52 -04:00
RumblePack.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
RumblePack.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
SDLAudioPlayer.cpp Added fixes based on the reviews 2022-06-19 02:03:04 -05:00
SDLAudioPlayer.h Add Support for macOS (#441) 2022-06-22 14:59:21 -04:00
SDLController.cpp Fix: Dualsense (PS5) Gyro 2022-06-13 16:38:34 -04:00
SDLController.h Add Support for macOS (#441) 2022-06-22 14:59:21 -04:00
Scene.cpp Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
Scene.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Skeleton.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Skeleton.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
SkeletonLimb.cpp Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
SkeletonLimb.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
SohConsole.cpp Fixed ImGui developer menu (#298) 2022-05-12 09:05:54 -04:00
SohConsole.h Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
SohHooks.cpp Redesign hooks mechanism (#352) 2022-05-21 13:22:25 -04:00
SohHooks.h Redesign hooks mechanism (#352) 2022-05-21 13:22:25 -04:00
SohImGuiImpl.cpp Add Support for macOS (#441) 2022-06-22 14:59:21 -04:00
SohImGuiImpl.h Improved Collision Viewer (#435) 2022-06-16 20:40:27 -04:00
Text.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Text.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Texture.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Texture.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
TextureMod.cpp Redesign hooks mechanism (#352) 2022-05-21 13:22:25 -04:00
TextureMod.h Redesign hooks mechanism (#352) 2022-05-21 13:22:25 -04:00
UltraController.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Utils.cpp Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
Utils.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Vertex.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
Vertex.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
WasapiAudioPlayer.cpp Merge branch 'develop' into z64-devmerge 2022-06-17 00:39:07 -04:00
WasapiAudioPlayer.h Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
Window.cpp Add Support for macOS (#441) 2022-06-22 14:59:21 -04:00
Window.h Implement AnyFPS + option to queue one rendered frame (#401) 2022-05-29 12:16:23 -04:00
WindowShim.cpp Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
WindowShim.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
abi.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
libultraship.vcxproj Code cleanup 2022-06-19 00:07:29 -04:00
libultraship.vcxproj.filters Code cleanup 2022-06-19 00:07:29 -04:00
luslog.cpp git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
luslog.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
mixer.c Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
mixer.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
stb_image_write.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00
stox.cpp Linux/GCC Support (#28) 2022-05-11 13:18:24 -04:00
stox.h git subrepo clone https://github.com/HarbourMasters/libultraship.git 2022-03-22 02:52:44 +01:00