Commit Graph

2168 Commits

Author SHA1 Message Date
94980110ed try printing scons-build.sh extra args 2024-07-02 12:06:57 -06:00
e0601420c6 try caching boost build 2024-07-02 12:05:51 -06:00
dbd456af54 mac try building boost with github action 2024-07-02 11:55:46 -06:00
b0dd719502 fix-rpaths.sh fix last dylib connections 2024-07-01 15:16:45 -06:00
4f746673d2 fix-rpaths.sh fix bundled ogg version suffix 2024-07-01 14:50:02 -06:00
bd3aafc246 fix-rpaths.sh connect libpng16 2024-07-01 14:39:00 -06:00
98e1aba749 fix-rpaths.sh connect sfml-audio dependencies 2024-07-01 14:34:56 -06:00
83cd04f085 fix-rpaths.sh connect zlib and boost libs 2024-07-01 14:13:37 -06:00
423340f1a5 call fix-rpaths.sh subprocess with absolute script path 2024-07-01 13:45:09 -06:00
90ceaf9b69 call fix-rpaths.sh in proper working directory 2024-07-01 13:28:05 -06:00
0e67eaff55 linux upload build artifact 2024-07-01 13:02:26 -06:00
c6bd39509d mac connect executables with bundled dylibs 2024-07-01 12:59:37 -06:00
0630dd27d2 Mac upload build artifact 2024-06-29 16:04:30 -06:00
f8860f3aa8 win-scons upload build artifact 2024-06-29 15:04:43 -06:00
c251fee834 Fix graphics flickering/stretching on Windows (#367)
* DRY, standardized window top offset
* handle_splash_events() handle multiple events per frame
* accurate windows menubar height for multiple rows
* Windows filter a resize event triggered by the menubar
* windows expand small window to fit menubar
* splash screens draw in view rect, not window rect
2024-06-27 08:40:34 -04:00
d6ae801203 fix #368 2024-06-24 21:47:14 -04:00
5d73325621 Merge pull request #371 from NQNStudios/mac-fix
More homebrew search paths in Mac Scons
2024-06-23 02:09:33 -04:00
9ae81ca5b6 Merge pull request #370 from NQNStudios/mac-resolution-fix
Fix fullscreen window sizing on MacOS HighDPI display
2024-06-23 01:53:47 -04:00
73fc5be123 More homebrew search paths in Mac Scons 2024-06-19 21:13:55 -06:00
cc781e98be Fix fullscreen window sizing on MacOS HighDPI display 2024-06-19 20:33:36 -06:00
1efefd7cae Merge pull request #363 from NQNStudios/command-line-args
Fix silent crash on Windows & Standardize command line arguments
2024-06-13 08:23:34 -04:00
e74f1e1ca0 standardize cross-platform command line args for the editors 2024-06-12 22:38:50 -06:00
4fa4f0b92b remove args and windows logic from all set_up_apple_events 2024-06-12 22:38:31 -06:00
cb62505e8d reorder init calls to fix file loading 2024-06-12 15:35:54 -06:00
fa3d092dc9 check for ui initialization without game-only global var 2024-06-12 12:51:03 -06:00
a45b34ec42 all platforms load party from command line 2024-06-12 12:28:42 -06:00
8ddb99361d showError() use console when UI is not ready 2024-06-12 12:26:27 -06:00
4a7d145168 Fix win scons (#359)
* fix a link flag
* another hack to find weirdly named libraries
* Fix handling VCRedistInstall.exe
* add src folders to win-scons include paths
* use path.join
* more weird library suffixes
* fix old python syntax in an SConscript file
* find vcpkg libraries and headers
* add icon dir to windows include paths
* remove non-recursive os.listdir line
* remove bad lib paths
* tools build with env["bits"]
* hard-code vcvarsall.bat path, with a note
* pass in other lib paths
* fix syntax without trying to use f-strings
* more bundled libs on windows
* add bin folders for windows installation to find dlls
* fix CheckLib stuff
* test scons pass X86 correctly
* make 64-bit builds the default for scons
* add package flag for building installers
2024-06-12 13:52:19 -04:00
e344542b39 Merge pull request #358 from NQNStudios/dialog-scale-2
naively scale dialogs by ui scale
2024-05-31 01:53:36 -04:00
b3cc666e9e Merge pull request #357 from NQNStudios/local-build-improvement-redo
Local build improvement redo

Closes #330
2024-05-31 01:52:46 -04:00
f8f5e05669 naively scale dialogs by ui scale 2024-05-30 21:01:31 -06:00
cfea88d59c use path.join instead of + 2024-05-30 20:37:22 -06:00
11451a731d print a note about .sconsign.dblite on clean 2024-05-30 20:15:45 -06:00
bceb8f478d use correct debug build flags (fix #343) 2024-05-30 20:15:45 -06:00
1249f4b21d when building tests, make sure to clone Catch2 2024-05-30 20:15:45 -06:00
9920a552be Add Catch2 to README.md dependencies 2024-05-30 20:15:45 -06:00
826ca1bc95 allow specifying partial build targets (fix #52) 2024-05-30 20:15:23 -06:00
9da275f8bb ignore files generated by dependency builds 2024-05-30 20:02:43 -06:00
ee538ca30d linux: clone and build TGUI submodule if necessary 2024-05-30 20:02:43 -06:00
20ca8bd077 Add TGUI submodule 2024-05-30 18:47:51 -06:00
2bfe697c3b cleaner, equivalent vcpkg install commands in README.md 2024-05-29 19:39:03 -04:00
8af5a9e1ca Update and fix Mac CI builds
- GitHub discontinued Actions runners for macos-10 and macos-11, so we
  build cboe on macos-12 now
- The path to Xcode.app has changed
- mac scons build wanted a new include statement for vector
- hint scons to look for boost 1.85, not 1.58.
2024-05-29 19:39:03 -04:00
eef0112589 Update and fix Linux CI builds
- Updating to remove usage of a deprecated enum in boost, we also needed
  to update the version of boost used in the Linux build, so now we use
  Ubuntu 22 which provides boost 1.74
- Updating Ubuntu must have updated the default C++ standard used when
  building TGUI, because TGUI started throwing compiler errors coming
  from conditional code that is for >C++17 only. I added an environment
  variable to install-TGUI.sh so it will build with C++14 to match the
  standard for the cboe build on linux
- some CI runs were throwing network errors from apt-get install, so I
  added apt-get update as a precaution. Maybe less builds will fail from
  network errors now?
2024-05-29 19:39:03 -04:00
1bb0927ecb Update and fix Windows CI builds
- boost-spirit dependency needed to be installed
- Visual Studio wanted boost/filesystem.hpp included in more places
- a deprecated enum was removed from new versions of boost, so we use
  its replacement enum now
- vcpkg repository is now pinned to a commit where boost 1.84 libraries
  work smoothly, there should be no more surprises
- vcpkg dependencies now cache, so successive CI runs are dramatically
  faster
- for win-scons, we need to use 'call' in our batch script to source
  vcvarsall.bat
- I updated the includepath and libpath we pass to win-scons to match
  reality, but it still can't find any vcpkg libraries. This will need
  further sleuthing
2024-05-29 19:39:03 -04:00
c691b908a6 Only hide left/right buttons for empty vector 2023-02-04 18:54:07 -05:00
1bc7524ec2 Fix underground starter scenario town terrain 2023-02-02 23:30:48 -05:00
cf28d61035 Scenario editor initialize new town bounds/entrances 2023-02-02 23:30:40 -05:00
8ec20f977d vcxproj Copy scenarios and data to the right output dir 2023-02-02 20:18:39 -05:00
ca816995ba Make the XML printer output formatted XML again
This is mainly just to keep consistency with the old printer so that the output can be cleanly diffed without any difficulty
2023-01-30 20:05:11 -05:00
8c0817340c Manual: Delete the text messages appendix, which is entirely obsolete 2023-01-30 09:05:04 -05:00