1203 Commits

Author SHA1 Message Date
Crash Cringle 4f0febb57c Rename DefaultSyncBias --> DefaultSyncOffset 2025-03-18 07:28:50 -07:00
teejusb 9933271eac Fix error in lua docs 2025-03-18 07:24:59 -07:00
DANDO\Aless 704c353741 Added since in lua documentation 2025-03-18 07:24:59 -07:00
DANDO\Aless bdcbbe1793 Added Lua documentation for hide light feature 2025-03-18 07:24:58 -07:00
Crash Cringle 6b50f9a90c Rename MachineSyncBias --> DefaultSyncBias 2025-03-16 15:42:41 -07:00
Crash Cringle 9529bfd142 Change MachineSyncBias prefs to an enum SyncBias, Changing this song triggers a reload of songs, added new option effect for reloading songs 2025-03-16 15:42:41 -07:00
Rafał Florczak 3c0b480b93 Replace the vendored libjpeg with the submodule of libjpeg-turbo 3.1.0
Co-authored-by: phantom10111 <phantom10111@gmail.com>
2025-03-03 23:33:15 -08:00
Crash Cringle 17e4953d54 Add Luadocs for Group 2025-03-03 23:25:32 -08:00
teejusb 368c257e95 Rename to rate_scaling_enable_ + Expose functions to lua 2025-03-02 10:34:28 -08:00
phantom10111 3266fda819 GameState: Expose GetPlayerFailType() to Lua
FailType for a given Player can be overriden with respect to preferences, but
Lua has no way to check it. Expose a function to allow doing that, in order to
not accidentally submit invalid scores to GrooveStats.
2025-01-20 10:03:52 -08:00
sukibaby efa835c448 Update Licenses.txt for GPL v3 2024-09-20 21:37:32 -07:00
sukibaby b1089f54c3 Remove Copying.MAD since it confuses GitHub
GitHub mistakenly thinks this is the project license. the copyright and licensing details for libmad already exists in extern/libmad, so it's not needed to keep it here as well.
2024-09-20 21:37:09 -07:00
quietly-turning f13abec73d fix typos in LuaDocumentation.xml 2024-03-20 13:29:43 -05:00
Michael Votaw ede0b53f2b Updated notes on SORT parameter to indicate that it can actually be used with other parameters just fine, but the resutls can get kind of weird. 2024-03-06 01:45:26 -08:00
Michael Votaw dcb1a2e3db Equals signs also need to be escaped when parsing #SONGSELECT parameters. 2024-03-06 01:45:26 -08:00
Michael Votaw 20938b6c3c Updated CourseFormat.txt to replace the .. with - 2024-03-06 01:45:26 -08:00
Michael Votaw 0fe9c71fa3 Added description for the new #SONGSELECT course tag. 2024-03-06 01:45:26 -08:00
teejusb 0c1115350d Allow setting the alpha of the beatbars 2024-03-03 00:08:55 -08:00
Crash Cringle 6cd43782d5 Add lua docs for GetPreferredSortSongsBySectionName, update comment, remove duplicate code 2024-02-25 09:36:21 -08:00
tertu marybig acf8be530d Allow setting and getting beat bar status per NoteField from Lua 2024-02-15 13:22:26 -08:00
Martin Natano 8dc471f874 Update version information in Lua.xml 2023-03-19 11:12:38 +01:00
teejusb 971bcd84b4 This is version 0.6.0 2023-03-17 01:12:00 -07:00
teejusb fbed947b9c Allow PreferredSongs/PreferredCourses to be set from absolute paths 2023-03-17 01:12:00 -07:00
Crash Cringle f60c1c7f82 Add new Sorting Capabilities for Profile list 2023-03-13 19:56:07 -07:00
Zach Walton 9755acddb7 first-time setup 2022-08-02 21:22:15 +02:00
Martin Natano 61046ca539 Updates from quietly for lua docs 2022-06-29 19:11:05 +02:00
tertu marybig 9b348090a7 HyperShuffle implementation
Also add it to _fallback
2022-06-23 11:09:40 -07:00
Martin Natano da4a41c296 Update license info 2022-06-13 21:48:36 +02:00
Ivana Kellyerova 02b9925b12 Allow ScreenSelectProfile to Finish() with guest players
Passing a -3 as profile index to ScreenSelectProfile's SetProfileIndex now
allows a player to play without having a local or USB profile assigned.

Also adds a message (PlayerProfileSet) that's broadcast anytime a player selects
a profile or chooses to play as a guest and subscribes ScreenSelectMusic to it.
2022-06-11 22:53:07 +02:00
teejusb 3bc8cc356d Update sm5_migration.md 2022-06-10 09:26:48 -07:00
Martin Natano 6c5bb5f665 Update Lua.xml 2022-06-05 15:52:14 +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 d8586b02b2 Add NETWORK:WebSocket() 2022-05-27 23:42:37 +02:00
Martin Natano e77357a75e ITGmania credits 2022-05-23 21:49:42 +02:00
Martin Natano ee65b7b0c4 Replace logo and clean up packaging 2022-05-21 10:05:44 +02:00
Martin Natano 4c0aef69dd Remove legacy network code 2022-04-11 14:50:00 -07:00
Martin Natano 2586eec53f Update lua docs 2022-04-06 21:13:16 +02:00
Martin Natano 724b880dfa ITGmania 2022-04-03 22:25:01 +02:00
Martin Natano 65eb85b8e9 Sync LuaDocumentation.xml with 'Lua for SM5'
The LuaDocumentation.xml in the StepMania repository and
quietly-turning's 'Lua for SM5' diverged over time. This commit pulls in
a couple of documentation improvements from 'Lua for SM5'.

- Add documentation for previously undocumented functions
- Improved descriptions
- More crosslinking
2022-04-03 21:35:21 +02:00
Martin Natano d8055e59ab Update Lua.xml documentation 2022-04-03 19:59:29 +02:00
Martin Natano 02008eb469 Rename to ITGmania
- executable name:
  - linux: itgmania
  - windows: ITGmania.exe
  - macOS: ITGmania.app
- config path:
  - linux: ~/.itgmania
  - windows; %AppData%\ITGmania
  - macOS: ~/Library/Application Support/ITGmania
2022-04-02 20:14:57 -07:00
Jose_Varela 1b27032a38 Add GaveUp() 2022-03-28 20:11:53 -07:00
Martin Natano 1036d20e11 Implement FILEMAN:Copy(string fromPath, string toPath)
Copies a file from `fromPath` to `toPath`. Returns `true` if the file
was copied successfully.
2022-03-13 12:37:11 -07:00
Martin Natano 67d1c78450 Implement FILEMAN:Unzip(string zipPath, string targetPath, int strip)
Unzip zip file at `zipPath` to `targetPath`.
`strip` is optional and defaults to `0`. If set to a number larger than
`0`, that many components are removed from the paths of the extracted
files. e.g. `a/b/c` is replaced with `b/c` when stripping one component
or just `c` when stripping two.
Returns whether all files were extracted successfully.
2022-03-13 11:46:28 -07:00
Martin Natano ca86f80743 Add support for onProgress and downloadFile to NETWORK:HttpRequest() 2022-03-13 11:31:49 -07:00
Martin Natano 0861ed45c7 Merge /AdditionalSongs into /Songs, and /AdditionalCourses into /Courses
Includes a backwards-compatibility mechanism to adapt paths when loading
Stats.xml.
2022-03-11 22:35:31 +01:00
Martin Natano afb3836367 Remove unsafe package library
package.loadlib() can be used to load a dynamic C library allowing
arbitrary code execution in mod charts and themes.

So far I haven't found any theme that depends on the library, so I think
removing it shouldn't break anything.
2022-03-04 21:27:55 +01:00
Martin Natano bb826dc0b2 Allow cancellation of HTTP requests
`NETWORK::HttpRequest()` now returns a HttpRequestFuture with a
`Cancel()` method.
2022-01-15 22:56:22 +01:00
Martin Natano bc4a275510 Add parameter encoding helpers to NETWORK
This adds two more methods:
- `NETWORK:UrlEncode()`: Encode a single string value.
- `NETWORK:EncodeQueryParameters()`: Encode a table as query string.
2022-01-15 22:56:08 +01:00