Martin Natano
56edcee48c
Use compiler intrinsics for byte swapping
2023-04-21 22:13:41 +02:00
Martin Natano
bacecae1f7
Decouple <vector>
2023-04-21 22:13:41 +02:00
Martin Natano
aa87f85eef
Decouple <cstdint>
2023-04-21 22:13:41 +02:00
Martin Natano
bcea05dd67
Reinstate defines required for the mad build
2023-04-20 21:43:47 +02:00
Martin Natano
00ec2dce06
Recover accidentally deleted code
2023-04-20 21:43:46 +02:00
Martin Natano
0b0787f344
Replace COMPILE_ASSERT() with standard static_assert()
2023-04-20 11:21:29 +02:00
Martin Natano
78fb2e9fc3
Decouple <cstddef>
2023-04-20 11:21:29 +02:00
Martin Natano
093675cdc3
Use attributes where possible
2023-04-20 11:21:29 +02:00
Martin Natano
a93fc07896
Remove unused defines
2023-04-20 11:21:29 +02:00
Martin Natano
b68ca517e6
Clean up math functions
...
- Remove checking for standard functions from the build system
- Prefix all invocations with std::
- Replace suffixed functions with unprefixed versions
- Include <cmath> in all files that use it and remove the global include
e.g. floorf(x) -> std::floor(x)
2023-04-19 19:31:40 +02:00
Martin Natano
870cfde566
Fix git hash detection for release builds
2023-03-25 23:02:32 +01:00
Martin Natano
1b24361cf3
Update SL
2023-03-25 11:17:37 +01:00
Martin Natano
8ee68e8c13
Release version 0.6.1
2023-03-22 17:45:43 +01:00
Martin Natano
b79ec70f2f
Update SL
2023-03-22 17:42:42 +01:00
Martin Natano
8dc471f874
Update version information in Lua.xml
2023-03-19 11:12:38 +01:00
Martin Natano
79674c15fe
Fix windows build
2023-03-17 23:33:16 +01:00
Martin Natano
d68cefb4fe
Upgrade to ubuntu:18.04 for release builds (required for C++17)
2023-03-17 20:07:15 +01:00
Martin Natano
2d9cc038cd
Downgrade to C++17
2023-03-17 20:07:15 +01:00
Martin Natano
d107e2b8c1
Add setup script for linux
2023-03-17 20:07:15 +01:00
Martin Natano
222fd619e7
Update SL
2023-03-17 17:20:20 +01:00
Martin Natano
aedc9c1851
Bump to version 0.6.0
2023-03-14 21:03:58 +01:00
Martin Natano
11ac50e7d1
Initialize std:array members
2023-02-20 18:08:42 +01:00
Martin Natano
98f4916313
Fix RageFastSin()
2023-02-20 18:08:33 +01:00
Martin Natano
7981676f53
Fix HiddenPtr::isNull()
2023-02-19 19:04:23 +01:00
Martin Natano
43050643d6
Revert back to ignoring FastLoad when reloading from operator menu
...
Many people (especially chart authors) expect that behaviour.
2022-10-28 17:40:02 +02:00
Martin Natano
55cdb3cf24
Replace std::stof with StringToFloat
...
std::stof throws an exception on invalid input causing a crash.
fixes https://github.com/itgmania/itgmania/issues/50
2022-07-23 19:56:38 +02:00
Martin Natano
1b959d6762
Use type switch in JsonEncode
...
lua_isnumber and lua_isstring try to coerce the values to their
respective type, so a type switch is more reliable.
Fixes https://github.com/Simply-Love/Simply-Love-SM5/issues/406
2022-07-04 20:24:22 +02:00
Martin Natano
1013d4c9e8
Update macos app icon
2022-06-29 21:26:52 +02:00
Martin Natano
1010798e26
Update logo
2022-06-29 21:15:43 +02:00
Martin Natano
61046ca539
Updates from quietly for lua docs
2022-06-29 19:11:05 +02:00
Martin Natano
61f12e8165
Prevent out-of-bounds array access
...
Fixes https://github.com/itgmania/itgmania/issues/27
2022-06-27 20:10:52 +02:00
Martin Natano
da4a41c296
Update license info
2022-06-13 21:48:36 +02:00
Martin Natano
e2a48eb726
Update SL
2022-06-12 23:31:44 +02:00
Martin Natano
742a3c1c26
Fix ScreenSelectProfile::Finish()
...
Unload all profiles first, so we don't end up in a situation where two
players might have the same profile assigned during iteration.
2022-06-12 23:02:25 +02:00
Martin Natano
0e08823896
Lowercase noteskin names
2022-06-12 10:13:37 +02:00
Martin Natano
de3f5622e8
Update SL again
2022-06-11 23:41:57 +02:00
Martin Natano
35bc6b8775
Update credits
2022-06-11 23:38:52 +02:00
Martin Natano
dd28929c88
Update SL
2022-06-11 23:13:13 +02:00
Martin Natano
64b4676a14
Add WITH_CLUB_FANTASTIC build option
2022-06-11 13:43:03 +02:00
Martin Natano
d41e2b0c7d
Remove noteskins for unsupported game modes
2022-06-10 22:45:05 +02:00
Martin Natano
68db74296b
Update license info in README.md
2022-06-10 22:36:24 +02:00
Martin Natano
f60707b506
Add support for incremental updates to ScreenReloadSongs
2022-06-10 19:33:23 +02:00
Martin Natano
49127f6a92
Remove RageUtil_CachedObject
...
I don't notice any performance drawback in gameplay, but it was
massively slowing down ScreenReloadSongs.
2022-06-10 19:33:23 +02:00
Martin Natano
62f8ed5c5c
Always allow fast load when reloading
2022-06-10 19:33:23 +02:00
Martin Natano
34e91bf118
Remove unused base._ini
2022-06-09 21:16:42 +02:00
Martin Natano
463ad58e91
Make sure SM profiles are loaded from USB
...
This changes the defaults to this:
MemoryCardProfileSubdir=ITGmania
MemoryCardProfileImportSubdirs=StepMania 5.1;StepMania 5
2022-06-09 18:30:56 +02:00
Martin Natano
551e6344f7
Remove hidden autoplay
2022-06-08 20:12:57 +02:00
Martin Natano
cb3cf0ab95
Fix playeroptions:GetDisabledTimingWindows()
2022-06-08 18:06:52 +02:00
Martin Natano
9208afee2e
Fix disabled timing window formatting
2022-06-08 17:53:52 +02:00
Martin Natano
529fb4b816
Translate deprecated Additional*Folders to Additional*FoldersWritable
2022-06-08 12:57:07 +02:00
Martin Natano
2e8f906aa8
Return AVERROR_EOF in case of EOF to prevent game freeze
2022-06-08 12:13:51 +02:00
Martin Natano
061c35d108
Update license text
...
We don't ship the SM5 songs with the full release, so don't talk about
them in the installer license text.
2022-06-08 10:03:39 +02:00
Martin Natano
b02f565f08
Add release build scripts for all platforms
2022-06-07 22:49:05 +02:00
Martin Natano
6f0aa8adf9
Update SL
2022-06-07 22:49:05 +02:00
Martin Natano
c40985122e
Remove workarounds for ancient MSVC versions
2022-06-07 22:49:05 +02:00
Martin Natano
838de6fb81
Remove support for mingw
...
MSVC works fine and the bundled mingw libraries are outdated.
2022-06-07 22:49:05 +02:00
Martin Natano
087d4576cc
Use cmake standard mechanism for finding dlopen
2022-06-07 22:49:05 +02:00
Martin Natano
1da34b9ba2
Remove WITH_TTY build option
...
TTY input doesn't seem very useful and the code is broken (requires SDL,
which is not picked up by cmake). The option was disabled by default
too. I doubt anyone is using this.
2022-06-07 22:49:05 +02:00
Martin Natano
258fd61229
Use mbedtls on all platforms & bundle root CAs
...
Certificate bundle downloaded from https://curl.se/docs/caextract.html .
It is licensed under the MPL 2.0.
2022-06-07 10:54:10 +02:00
Martin Natano
58dd83db8a
Disable vaapi
...
One less dependency to worry about and ffmpeg works fine without it.
2022-06-07 10:54:10 +02:00
Martin Natano
f47ea91e0a
Stop looking for bundled libraries
2022-06-07 10:54:10 +02:00
Martin Natano
740ead25bf
Universal binaries break input monitoriing on M1
...
Let's build two separate apps for arm64 and x86_64. Sigh
2022-06-06 11:19:59 +02:00
Martin Natano
f14b8e4666
Fix mac build (ddrio)
2022-06-05 21:53:31 +02:00
Martin Natano
4d76e59e93
Disable unsupported game modes
2022-06-05 19:35:28 +02:00
Martin Natano
6c5bb5f665
Update Lua.xml
2022-06-05 15:52:14 +02:00
Martin Natano
b0665a5135
Add din to credits
2022-06-05 12:07:38 +02:00
Martin Natano
ed4090e2ba
Enable asm optimizations for ffmpeg on macOS
2022-06-05 12:04:37 +02:00
Martin Natano
3eb239ad3b
Replace deprecated macOS APIs with modern equivalents
2022-06-05 12:04:37 +02:00
Martin Natano
5f9f0608c2
Replace forced null pointer assignment with abort()
...
Gets rid of this warning:
error: indirection of non-volatile null pointer will be deleted, not trap [-Werror,-Wnull-dereference]
2022-06-05 12:04:37 +02:00
Martin Natano
699ef6fdbe
Fix incorrect formatting
...
Gets rid of this warning:
error: adding 'int' to a string does not append to the string [-Werror,-Wstring-plus-int]
2022-06-05 12:04:37 +02:00
Martin Natano
228920e7dc
Stop using deprecated jsoncpp method
...
Gets rid of this warning:
error: 'memberName' is deprecated: Use `key = name();` instead. [-Werror,-Wdeprecated-declarations]
2022-06-05 12:04:37 +02:00
Martin Natano
3aebf60410
Remove redundant max() calls
...
This silences warnings like this:
error: taking the max of a value and unsigned zero is always equal to the other value [-Werror,-Wmax-unsigned-zero]
2022-06-05 12:04:37 +02:00
Martin Natano
7b9a799cdb
Statically link MSVC runtime
2022-06-03 19:47:45 +02:00
Martin Natano
4de9bd7c7f
Fix mine fix :)
...
The song timing was used for the calculations, but the steps timing should be used instead because of split timing.
2022-06-03 14:36:24 +02:00
Martin Natano
2fc8705f45
Force dead code elimination for libtommath
2022-05-31 18:21:35 +02:00
Martin Natano
327278436d
Remove support for building with system libraries
2022-05-31 18:21:35 +02:00
Martin Natano
5f08636ad0
std::binary_function is deprecated and unnecessary in C++11
2022-05-31 12:55:03 +02:00
Martin Natano
f83dd1989d
Move libtomcrypt to submodule
2022-05-30 23:57:33 +02:00
Martin Natano
967ff91cc6
Upgrade libtommath unknown version from 2010 -> 1.2.0 and move to submodule
2022-05-30 23:57:33 +02:00
Martin Natano
9723a67ad7
Upgrade pcre 4.5 -> 8.45
2022-05-30 23:57:33 +02:00
Martin Natano
d112fdd1d2
Rename libmad directory
2022-05-30 23:57:33 +02:00
Martin Natano
06154a0094
Upgrade libjpeg 8c -> 9e
2022-05-30 23:57:33 +02:00
Martin Natano
e2ee97e36d
Update github CI for submodules
2022-05-30 23:57:33 +02:00
Martin Natano
2934af7784
Upgrade glew 1.5.8 -> 2.2.0
2022-05-30 23:57:33 +02:00
Martin Natano
2bb9124c72
Clean up build system
2022-05-30 23:57:33 +02:00
Martin Natano
7d29ee308d
Upgrade vorbis 1.3.6 -> 1.3.7 and move to submodule
2022-05-30 23:57:33 +02:00
Martin Natano
1a44af0cf4
Upgrade ogg 1.3.2 -> 1.3.5 and move to submodule
2022-05-30 23:57:33 +02:00
Martin Natano
1764dbcea8
Move libpng to submodule
2022-05-30 23:57:33 +02:00
Martin Natano
b6620d50ed
Move ffmpeg to submodule
2022-05-30 23:57:33 +02:00
Martin Natano
3d05e523c8
Upgrade zlib 1.2.11 -> 1.2.12 and move to submodule
2022-05-30 23:57:33 +02:00
Martin Natano
7f06ca703d
Upgrade IXWebSocket 11.3.2 -> 11.4.3 and move to submodule
2022-05-30 23:57:33 +02:00
Martin Natano
08896f0cc1
Add SM5 migration guide
2022-05-28 11:21:13 +02:00
Martin Natano
15b77ee278
Update documentation
2022-05-28 11:21:13 +02:00
Martin Natano
be0dee1402
Remove SM5 songs course
2022-05-28 11:21:13 +02:00
Martin Natano
c36ac09ce0
Remove Manual
...
It is incomplete and outdated. There are better resources out there.
2022-05-28 11:21:13 +02:00
Martin Natano
d8586b02b2
Add NETWORK:WebSocket()
2022-05-27 23:42:37 +02:00
Martin Natano
cb037494fc
Correct capitalization of ITGmania folder in macOS dmg
2022-05-27 23:42:37 +02:00
Martin Natano
b9171d4892
Fix ffmpeg target OS version on macos
2022-05-24 14:56:02 -07:00
Martin Natano
07e422111c
Tweak app bundle
2022-05-24 12:39:55 -07:00
Martin Natano
e77357a75e
ITGmania credits
2022-05-23 21:49:42 +02:00