Commit graph

93 commits

Author SHA1 Message Date
marauder2k7 320b91fe34 link libs 2025-10-29 01:47:22 +00:00
marauder2k7 7d497383da adds json back to taml
Allow taml to be compiled and read as json

All of this was already there just was hidden from cmake and code was commented out so just a commit to reapply this. The rest is just some cleanup
2025-10-12 19:43:35 +01:00
marauder2k7 e55247e015 Update CMakeLists.txt
Skip adding properties to precompiled libs
2025-09-23 14:31:15 +01:00
AzaezelX 8c663a19a5 generalized ai subsystem wipwork 2025-04-15 15:12:27 -05:00
AzaezelX b3ddd712ce suport augs for modules that include full libraries
copies over .in and .cmake files for those cases when libraries themselves need to self-configure
searches for a source/libs/libs.cmake file for any torque-specific confiugurations we need to make for a given library
autoinclude any source/wrappers directory for unique to orque files, which will most commonly be data holder classes and script exposure, as well as adding those dirs to the #include listener list
also ditches forcing warn levels to lowest for libraries since if folks are going to experiment, best tey know about anmy underlying things to avoid
2025-01-02 10:27:09 -06:00
marauder2k7 9d51fc2830 fix packing
now openal and sdl are embedded in the app bundle along with their symlink alternatives
clear out the openal framework and use the embedded dll instead

archiving works and will produce a notarized app if you provide the correct information and enable hardening.
2024-08-04 14:54:25 +01:00
marauder2k7 d62b40a9bf initial commit
this commit fixes the copying of dependencies into the app sandbox
2024-08-03 14:43:57 +01:00
marauder2k7 eb33fe04af working vhacd
renamed ThreadPool to TorqueThreadPool to avoid conflics
fixed data transmission between stages of convexDecome and trimesh creation
TODO: re-add our own functions for generating sphere/cylinder/box
2024-05-12 14:43:56 +01:00
marauder2k7 679f0ff065 vhacd
added vhacd not working atm
2024-05-12 03:07:59 +01:00
marauder2k7 d44e475800 compile fixes and improvements
mac was failing to generate an archive.

Icons now in an app asset so it can be properly modified in the project instead of being a static .icns file.

Info.plist now gets its bundle name from the product bundle identifier field, this means it can be changed through the gui instead of having to manually modify the bundle identifier. All other settings are left blank.

Info.plist will need further updates to take values set in Xcode to make it easier to distribute apps.

OpenAL and SDL have to skip installation in release mode builds for the archive to be created correctly.
2024-03-21 10:45:31 +00:00
marauder2k7 cd6656be35 Fix archive
Incorrect cmake directory was messing up reading from zips
STB was failing to read from zips, it was failing to get the file info, something we were using as an early out, now if that files on the filepath, we use the memory read instead since stream needs to be a success to get to that point.
2024-03-01 10:06:18 +00:00
AzaezelX 7d1927af99 t3d subdirectory review
add missing example directory
preserve reservations for ecs directories in remmed form
2024-02-28 03:53:49 -06:00
marauder2k7 a12d915180 Loads an IES Photometric profile.
ADDED: Ability to add IES profile as the cookie texture slot in both point lights and spot lights

TODO:
Have the IES Profile also drive the settings for the lights.
Make it work with Cookie textures. IES profiles are to be another slot in the advanced light section.
2024-02-21 06:22:37 +00:00
marauder2k7 7216ba8530 Revert "revert #1148 as prematurely incorporated"
This reverts commit f946088214.
2024-01-20 18:01:57 +00:00
AzaezelX f946088214 revert #1148 as prematurely incorporated
it's getting there, but there have been a few spots noted where it eroneously corrupts text, so we'll have to pull this back out for a bit barring a proper resolution
2024-01-11 13:33:03 -06:00
Brian Roberts 51426a3575
Merge pull request #1148 from marauder2k9-torque/STBImageLoading-PR
Stb image loading
2024-01-01 08:48:46 -06:00
AzaezelX ea01bf57ed fix theora inclusion and macro set 2023-12-18 15:10:35 -06:00
marauder2k7 89a8a4d190 Merge remote-tracking branch 'upstream/development' into STBImageLoading-PR 2023-12-08 04:29:41 +00:00
marauder2k7 c6b8a59de1 Update CMakeLists.txt 2023-12-06 04:58:08 +00:00
marauder2k7 108ba34c08 STBImage
STB used for loading and writing images.
2023-11-30 09:09:13 +00:00
marauder2k7 dbb6359d80 Update CMakeLists.txt
add remaining torque requirements
2023-10-22 00:56:57 +01:00
marauder2k7 be3d26d9e6 SDL_FILESYSTEM
-Set the base dir based on build type
-enable only building active arch on debug
2023-10-22 00:47:14 +01:00
marauder2k7 acf3177021 Revert "example cmake workflow"
This reverts commit 233c6a8045.
2023-10-21 07:08:12 +01:00
marauder2k7 233c6a8045 example cmake workflow 2023-10-21 01:50:31 +01:00
marauder2k7 8b7e318fd5 multiplatform fixes
-Wrap macosconfig in if(apple)
2023-10-20 22:33:20 +01:00
marauder2k7 f10520e751 Macosx build with rpath
Archiving builds no longer have linking errors when run
2023-10-20 21:06:53 +01:00
marauder2k7 b6617b1b0f Working multi-arch archiving
-Working multi arch compile
-Required assets now copy to the app bundle
TODO: Make the logic to wrap around whether its multi arch
-The changes in torqumacosconfigs.cmake are not required if we are only building one architecture, also if it is x86_64 we can drop min deployment target to 10.13
2023-10-20 12:04:56 +01:00
marauder2k7 e381bf4838 Working archive
-Archive now working if we override the shared libs rpath with the correct installation path
2023-10-20 00:19:40 +01:00
marauder2k7 0af0b5a24a MACOS working
Mac working in this stage
2023-10-19 14:39:22 +01:00
marauder2k7 c11587cad3 Attempt 2
-Missing includes may be due to no parent_scope
2023-10-19 11:04:16 +01:00
AzaezelX 3bdce1f33e lower engine requirements back to c++17 standards, not c++20. 2023-10-15 16:09:49 -05:00
AzaezelX b278802645 cmake cleanups
new global defines: TORQUE_LIB_ROOT_DIRECTORY and TORQUE_LIB_TARG_DIRECTORY for source location and target to build static libs, respectively
reassign location back to torqueConfig.h, torque.rc, and Info.plist to  "${TORQUE_APP_ROOT_DIRECTORY}/source/ aka \My Projects\<apname>\source by request
2023-10-14 23:02:55 -05:00
Lukas Aldershaab a5e75dfd61 Make sure TORQUE_TARGET_PROPERTIES is populated before using it 2023-10-08 17:36:51 -05:00
Lukas Aldershaab bcea9bfc3a Support setting target properties and link options from modules 2023-10-08 17:36:51 -05:00
Lukas Aldershaab a4e3a000fb Fix Dynamic Library builds on Windows 2023-09-27 13:53:30 -05:00
Lukas Aldershaab d05d9b6cf1 Fix minor typo 2023-09-27 13:53:30 -05:00
Areloch 7819ca4037 Adds the hlsl and glsl wind deformation shader feature implementation code back into the cmake logic 2023-09-17 19:14:42 -05:00
Lukas Aldershaab 89b0c7f73b Console Refactor 2023-09-13 10:33:20 +02:00
marauder2k7 149f97119b Update CMakeLists.txt 2023-07-25 12:25:04 +01:00
marauder2k7 4098be88db Update CMakeLists.txt 2023-07-25 09:34:13 +01:00
marauder2k7 6eb051b5a4 disable mem mngr 2023-07-25 08:57:08 +01:00
marauder2k7 cf874b55e3 Update CMakeLists.txt 2023-07-25 05:21:59 +01:00
marauder2k7 192250cc7c last test 2023-07-24 23:24:12 +01:00
marauder2k7 2ef93acac6 define TORQUE_TESTS_ENABLED 2023-07-24 13:47:22 +01:00
marauder2k7 c09f79d199 separate testing environment
-Separate main for running unit tests
-Move unit tests into testing folder
2023-07-24 12:38:36 +01:00
AzaezelX 1c8af18b35 if a module lacks a cmakelists.txt or cmake file, yet contains a /source/ directory, throw in the .h and .cpp files under modules/modulename/source 2023-06-07 10:34:28 -05:00
AzaezelX 9f01515e78 library containment:
after execution of found cmakelists.txt files, searh the engine/lib and apname/data directories recursively for a *torque_postbuild.cmake file, including the contents, to ensure any values used, such as TORQUE_LINK_LIBRARIES remain in parent scope
2023-06-06 19:32:58 -05:00
AzaezelX 3ef60ffcb6 rework apple specific rpath assigns 2023-06-05 17:35:34 -05:00
AzaezelX db3e7984ad fix mac compile 2023-06-04 12:45:55 -05:00
AzaezelX 653580b469 get ogg working 2023-06-03 20:29:35 -05:00