Commit Graph

2155 Commits (master)

Author SHA1 Message Date
yvt 3958eb63fd
Merge pull request #1040 from devnexen/sdl_window_simpl
refactor(gui): remove redundant temporary variables
2022-08-18 21:32:56 +09:00
David Carlier 0ce509356a sdl windows little code simplification. 2022-08-17 21:36:26 +01:00
yvt e3aa0337ff
Merge pull request #1039 from devnexen/purify_this
Apply GCC/Clang pure attribute on a few functions
2022-08-17 23:36:35 +09:00
yvt 262039318a
Merge pull request #1025 from devnexen/download_package_manager_upd2
Abort an ongoing transfer if it's too slow. Report the reason on a libcurl error.
2022-08-17 23:29:40 +09:00
yvt 88dc428b13 refactor(gui): use `Format` in place of `snprintf` to format a message 2022-08-17 23:20:38 +09:00
David Carlier 1b8a72deae gcc/clang attribute pure usage in few places. 2022-08-14 08:36:36 +01:00
yvt 2fca03cf7f
feat: support choosing OpenAL devices (#1003) 2022-08-14 00:26:32 +09:00
David CARLIER 282c7ae031
chore(cmake): improve Xext lookup for systems other than Linux 2022-08-14 00:25:23 +09:00
yvt 2f23b8f429 refactor(gui): let `SPRaise` format message instead of using `snprintf` 2022-08-12 00:32:41 +09:00
yvt 4fee99eec9
Merge branch 'master' into openal_handling_upd 2022-08-12 00:28:07 +09:00
David CARLIER 0f2db9e5ef
doc: show how to install prerequisites on FreeBSD (#1036) 2022-08-12 00:27:05 +09:00
yvt 8bdaeb06c1
Merge pull request #1031 from devnexen/likely_unlikely
Add and use `{,UN}LIKELY` to optimize some code paths
2022-07-30 13:21:46 +09:00
David CARLIER f5cb7ab812 Adding likely/unlikely to optimise some code paths. 2022-07-23 17:42:14 +01:00
David Carlier 2c0dab7c32 Choosing the driver via a new submenu instead 2022-07-18 19:25:11 +01:00
David Carlier 981569e23d openal driver update proposal.
if we cannot have proper handle on the default, attempt
to go through to get first functionning device.
2022-07-18 19:19:25 +01:00
yvt f47c997fd7
Merge pull request #1030 from devnexen/toconstexpr
Use `if constexpr` to enforce the static (compile-time) branching by
`SWFeatureLevel` in inner rendering loops of the software renderer
2022-07-19 00:24:14 +09:00
David Carlier dfefa5d298 software renderer evaluates simd set in advance instead. 2022-07-09 07:18:44 +01:00
yvt f754592cd9
Merge pull request #1028 from yvt/patch/nix
Add Nix flake
2022-07-07 01:23:35 +09:00
yvt 1cd7214eaa chore(ci): build Nix flake 2022-07-02 23:24:03 +09:00
yvt ada6a8e739 chore(nix): add Nix flake 2022-07-02 23:24:02 +09:00
yvt 6844e7100c chore(res): support copying the development package from a local file
This is useful for Nix, where network access is unavailable during a
build.
2022-07-02 23:05:31 +09:00
yvt e7d95e5831 chore: fixes for NixOS 2022-07-02 23:05:31 +09:00
yvt 5e9d8ea9d2 chore(nix): `shell.nix` 2022-07-02 23:05:31 +09:00
David Carlier add7c5c60a applying some changes for the server list and connection timeout. 2022-06-25 11:20:43 +01:00
yvt 8f33b1482c
Merge pull request #1007 from devnexen/pref_gen
Use `SDL_GetPrefPath` to determine the user resource directory

`SDL_GetPrefPath` takes care of different conventions for user-specific
data paths used by some platforms, such as Haiku.
2022-06-20 00:18:00 +09:00
yvt 8f763deca2 Fix missing path separator when `XDG_DATA_HOME` is given
The user resource directory should be `$XDG_DATA_HOME/openspades/
Resources`, not `$XDG_DATA_HOME/openspadesResources`.
2022-06-19 23:51:51 +09:00
yvt 7e3037b1e3 Don't lie that `userDataDirectory` holds the value of `XDG_DATA_HOME` 2022-06-19 23:49:45 +09:00
yvt a7fe1d2f72 Rename the variable `xdg_data_home` to `userDirectory`
It doesn't hold the value of `XDG_DATA_HOME` in the end, so it's
inappropriate to name it `xdg_data_home`.
2022-06-19 23:46:02 +09:00
yvt d628dd170a Reformat 2022-06-19 23:39:22 +09:00
yvt e658d0be71 Call `SDL_free` on the pointer returned by `SDL_GetPrefPath` 2022-06-19 23:37:59 +09:00
yvt 7bcfa32b29
Merge pull request #1010 from devnexen/vsync_submenu
Add v-sync option to the graphics settings tab
2022-06-19 21:59:36 +09:00
David Carlier 798bf661bd package manager further update.
reporting error reason, aborting if the transfer is too low.
2022-06-11 22:03:58 +01:00
yvt fedea4f2d8
Merge pull request #1011 from FilthyChef/patch-1
`README.md` update (Building on Linux section)
2022-06-08 12:51:40 +09:00
ButterFinger 920e691188
Apply suggestions from code review [2022-05-11]
Co-authored-by: yvt <i@yvt.jp>
2022-05-25 15:54:23 +02:00
yvt 2ebd032808
Merge pull request #1022 from devnexen/angelscript_asengine_fix
AngelScript assertion typo fix
2022-05-17 12:21:06 +09:00
David CARLIER cc3d5e2126 angelscript fix assertion typo. 2022-05-15 19:44:34 +01:00
yvt fc674eaf85
Merge pull request #1019 from devnexen/avxchk_fix
AVX check priorities change, checking avx flag before xcr0 instead.
2022-05-13 00:29:35 +09:00
yvt c7579891af
Merge pull request #1015 from notgif/readme_1012
Update the macOS build instructions in `README.md`
2022-05-12 12:28:49 +09:00
felix 1f879e441e
Apply suggestions from code review
Co-authored-by: yvt <i@yvt.jp>
2022-05-12 05:34:26 +10:00
David CARLIER f41fcabfaf AVX check priorities change, checking avx flag before xcr0 instead.
closes #1018
2022-05-11 17:48:09 +01:00
yvt eac96b8d05
Merge pull request #1017 from notgif/vcpkg_update
Update vcpkg submodule
2022-05-11 23:02:41 +09:00
Felix 11c88ee61d Updated vcpkg submodule to latest 2022-05-11 02:45:50 +10:00
Felix 1d03b284d2 Updated macOS build instructions in readme
- Clarified macOS homebrew step
- Fixed small textual details
- Removed `sudo xcodebuild -license` step as it is only needed
	when doing a full xcode install ( not commandline-tools ).
- Made sure `--recurse-submodules` was included in the clone step
- Nix package instructions are unchanged and may need revision
2022-05-11 02:39:10 +10:00
ButterFinger 730d694ada
Rewrite of installation steps v1.1
"###" looks very similar to "**", so I ditched the second.
2022-05-08 21:13:01 +02:00
ButterFinger c948b77fa9
Rewrite of installation steps 2022-05-08 21:02:12 +02:00
ButterFinger a9a80331e9
Apply suggestions from code review
Co-authored-by: yvt <i@yvt.jp>
2022-05-08 16:24:58 +02:00
ButterFinger 67b805ac6d
Formatting fixes
Formatting should be fixed now
2022-05-07 17:36:24 +02:00
ButterFinger e0fdf9bfcc
Portable -> Copying OpenSpades manually
Portable -> Copying OpenSpades manually, and an extra note for that step
2022-05-07 01:05:52 +02:00
ButterFinger 8031ac20a9
Update README.md
Applying suggestions from 4 days ago
2022-05-03 01:20:05 +02:00
ButterFinger 6d43530fdc
Update README.md
Co-authored-by: yvt <i@yvt.jp>
2022-05-02 17:21:35 +02:00