Celtic Minstrel
d77f9ecbcc
[LuaDoc] Use an alias for a sync function and declare every possible call form with @overload instead of specifying optional parameters
2024-02-29 09:16:40 -05:00
Celtic Minstrel
b7f9ccc197
[LuaDoc] Declare terrain_map index-by-location operator
...
Closes #8479
2024-02-29 09:15:40 -05:00
pentarctagon
6bb24810f1
and forward port this..
2024-02-25 21:30:13 -06:00
pentarctagon
19dcc5530c
looks like this never got updated
2024-02-24 23:20:23 -06:00
pentarctagon
4b016790dd
add boost graph dependency.
2024-02-24 19:16:40 -06:00
Gunter Labes
f567187dc7
Update server config content
...
Also keep upper case variable names reserved for env variables and let the server create the control fifo itself.
2024-02-21 00:40:08 +01:00
pentarctagon
71438010f6
add trailing newline to files
2024-02-15 22:51:26 -06:00
Celtic Minstrel
a2fdfaa7f7
[LuaDoc] Declare tstring to be concatenatable
2024-02-15 23:16:43 -05:00
P. J. McDermott
39fb741309
Make TeamColorizer and update_pathfinding executable
...
These scripts get installed but were missing execute mode bits.
2024-02-15 17:27:44 -06:00
P. J. McDermott
b6d7d7ea18
Replace Bash $UID with portable $(id -u) in Docker scripts
...
@Pentarctagon noticed in commit 9a34cbb329
that $UID isn't set when
/bin/sh isn't GNU Bash. `id -u` is specified by POSIX:
https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/utilities/id.html
Also move `-xe` to a `set` command (in case someone runs scripts with
`sh path/to/script` instead of `path/to/script`) and add `set -u` to
complain more loudly about such unset variables.
2024-02-15 17:27:44 -06:00
Celtic Minstrel
8a42565447
[LuaDoc] Permit GUI widgets to have non-translatable labels, including numbers.
2024-02-13 19:29:21 -05:00
Celtic Minstrel
0bb93d39fc
[LuaDoc] Add documentation for the map generator version of wesnoth.paths.find_path
2024-02-13 19:29:21 -05:00
Celtic Minstrel
b506010a8f
[LuaDoc] Correct some dumb errors
2024-02-13 19:29:21 -05:00
Celtic Minstrel
12d95bc082
[LuaDoc] Undo handlers do not have a return value
2024-02-13 19:29:20 -05:00
Celtic Minstrel
966e813358
[LuaDoc] Add overload of terrain_mask taking the location as two integer arguments
2024-02-13 19:29:20 -05:00
Celtic Minstrel
877c94ddaa
[LuaDoc] Fix hits parameter in animator:add and also accept a number as the text
2024-02-13 19:29:20 -05:00
Celtic Minstrel
d885687380
[LuaDoc] Instead of marking unit fields optional, define to_map and to_recall as taking WML as an alternative to a unit
2024-02-13 19:29:20 -05:00
Celtic Minstrel
6145c48d35
[LuaDoc] Fix incorrect declaration of unit.variables and side.variables - make them consistent with wml.variables
2024-02-13 19:29:20 -05:00
Celtic Minstrel
dbae630acd
[LuaDoc] Accept two-element lists as a location in some places, and 3-element lists as a colour
2024-02-13 19:29:19 -05:00
Celtic Minstrel
1885113264
[LuaDoc] Fix missing return type on format_*_list
2024-02-13 19:29:19 -05:00
Celtic Minstrel
2b05ed7339
[LuaDoc] Fix function signature for wesnoth.game_display
2024-02-07 22:10:33 -05:00
Celtic Minstrel
09c88d2b47
[LuaDoc] Fix typo
2024-02-07 22:10:33 -05:00
Celtic Minstrel
3276b9a36c
[LuaDoc] Fix missing and incorrectly optional arguments to gui.widget.remove_items_at
2024-02-07 22:10:33 -05:00
Celtic Minstrel
ba3b00f3df
[LuaDoc] Add a type alias for a compiled formula function
2024-02-06 22:21:09 -05:00
Celtic Minstrel
121f0a3cac
[LuaDoc] Add unit.loc field
2024-02-06 19:04:02 -05:00
Celtic Minstrel
265aea7da4
[LuaDoc] Document the third element of the location triple returned from paths.find_reach
2024-02-06 19:04:01 -05:00
Celtic Minstrel
3a7bd26067
[LuaDoc] Document ndirs member of a directory listing
2024-02-06 19:04:01 -05:00
Celtic Minstrel
3bf903e2a4
[LuaDoc] Avoid "Missing required fields" warnings by annotating the fields as optional.
...
This is probably rather unfortunate in the case of the unit fields, as it may now interpret it as meaning the fields can be nil. We'll see if this causes issues.
2024-02-06 19:04:01 -05:00
Celtic Minstrel
c7741907c2
[LuaDoc] Fix several errors in the inline documentation
2024-02-06 19:04:00 -05:00
Celtic Minstrel
5a51a309a4
[LuaDoc] Fix several minor errors in the specification of API
2024-02-06 19:04:00 -05:00
Celtic Minstrel
2aa7d9357d
[LuaDoc] Fix failure to detect that the string type's metatable was overridden
...
This isn't a generic solution, but at least makes all our built-in stringx methods work.
2024-02-06 19:04:00 -05:00
pentarctagon
34c8753878
forgot to remove this too
2024-01-17 08:56:46 -06:00
pentarctagon
453dbc685f
Enable stricter checks for debug builds.
...
Use _GLIBCXX_DEBUG, _GLIBCXX_DEBUG_PEDANTIC, and _GLIBCXX_ASSERTIONS for the debug Ubuntu build.
2024-01-17 00:38:11 -06:00
loonycyborg
e62bd49d3d
mingw docker build: Copy arch's libssp-0.dll
...
because msys2 doesn't provide one anymore yet it's needed by arch's
cross toolchain
2023-12-18 22:31:09 +03:00
loonycyborg
e8321748ed
Install both 22.08 and 23.08 in flatpak runtime
2023-11-29 00:44:07 +03:00
pentarctagon
ed358bdfe6
revert to 22.08 until new release of 23.08
2023-11-18 21:46:43 -06:00
pentarctagon
ec0f8f9942
exclude versions too old to have all data populated.
2023-11-11 18:29:46 -06:00
pentarctagon
c9ba117cb0
update flatpak docker image to 23.08.
2023-11-11 18:18:25 -06:00
pentarctagon
82408b2131
change sorting.
2023-11-08 18:22:24 -06:00
Gunter Labes
6cc717042d
Kill wesnothd when script is killed with INT
2023-11-02 18:41:37 +01:00
Gunter Labes
8788c55874
Run trunk server with SQL debug logging
2023-11-02 18:00:49 +01:00
pentarctagon
47eef10a32
update msys2 image.
2023-10-28 01:17:32 -05:00
Gunter Labes
f3c963ca00
Make --threads optional
2023-10-27 22:08:36 +02:00
pentarctagon
ae4242a430
update path
2023-10-24 23:11:36 -05:00
Celtic Minstrel
10d67aa82a
Implement a new Lua API to the undo system
2023-10-14 19:26:36 -04:00
Pentarctagon
8f74a27b90
update steamrt base image
2023-08-15 12:53:58 -05:00
Pentarctagon
6319401d60
Add new query for MP activity report
...
This gives a rolling count of how many players have played how many games, which is useful for seeing what player retention for MP is.
2023-08-11 12:24:18 -05:00
Ivo Julca
5ebc9a790a
Implement event priority
...
For any given event name, events execute in order of decreasing priority.
Priority is a real number, and may be assigned via the `priority` attribute for
the WML [event] tag, or through the Lua APIs:
- wesnoth.game_events.add({priority = number})
- wesnoth.game_events.add_repeating(name, action, [priority])
Note that delayed variable substitution is not currently supported in the WML attribute.
2023-08-11 08:34:43 +02:00
Gunter Labes
64f702e96d
Move {join,host}.lua to a better place
2023-08-03 22:06:27 +02:00
Gunter Labes
26394f77e5
Move simulate-lobby-activity.lua next to the script using it
2023-07-20 18:37:05 +02:00