Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions common/game.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
# this file: the C code sees the strings as macros, CMake uses the variables
# (package name, server binary). tools/ scripts and the Makefile parse this
# file for the same values. Change it here and rebuild both.
set(GAME_NAME "Shoot and Destroy")
set(GAME_NAME "Nextgen Spades")
# the mark, for where the full name does not fit: an app icon's label (a
# phone truncates it), the home screen of a narrow window, a splash. It
# never replaces the name in a sentence or on a store page
set(GAME_SHORT_NAME "S&D")
set(GAME_SHORT_NAME "NGS")
# the same mark for a template that is XML (Info.plist): CMake substitutes
# the raw text, and an unescaped "&" makes the plist unreadable
string(REPLACE "&" "&" GAME_SHORT_NAME_XML "${GAME_SHORT_NAME}")
# file and folder names: archives, the player's folder, the app's files
set(GAME_SLUG "shootanddestroy")
set(GAME_SLUG "ngspades")
# the server's own name, apart from the game's: the binary, its archives, its
# Docker image and the service a host installs. Dedicated servers outlive a
# change of the game's working title (and a host's firewall rule, systemd unit
Expand Down
2 changes: 1 addition & 1 deletion manual/gen/config-tables.typ
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The server itself. Command line options (#raw("--port"), #raw("--gamemode"), #raw("--map"), #raw("--preset")) win over this section.

#config-table((
(`name`, `string`, `"[S&D] ngCTF 24/7" (1.0); "[S&D] Classic CTF 0.75" (0.75)`, [The name on the server list.], [both], `SP_SERVER_NAME`),
(`name`, `string`, `"[NGS] ngCTF 24/7" (1.0); "[NGS] Classic CTF 0.75" (0.75)`, [The name on the server list.], [both], `SP_SERVER_NAME`),
(`port`, `int`, `32887 (1.0); 32897 (0.75)`, [Port for the server to listen on], [both], "-"),
(`max_players`, `int`, `128 (1.0); 32 (0.75)`, [Players at most. 1.0: up to 128 (the default); 0.75: up to 32, the wire's limit. A smaller number is kept, a larger one is cut to the profile's cap.], [both], "-"),
(`master`, `bool`, `false`, [Kept so old configs load. A 1.0 server does not announce on the 0.75 master list: with #raw("true") it only logs a warning. The listing is #raw("[master] enabled") (1.0) or #raw("[master075]") (0.75 profile).], [both], "-"),
Expand Down
2 changes: 1 addition & 1 deletion server/Resources/config-075.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
[server]
# The server's name, shown on the server lists (ours and the public 0.75
# one). "{game}" (here and in the messages below) is the game's name.
name = "[S&D] Classic CTF 0.75"
name = "[NGS] Classic CTF 0.75"

# Port for the server to listen on: the 1.0 server's (32887) + 10, so the
# two never fight for it. The WebRTC port follows it ([webrtc] below).
Expand Down
2 changes: 1 addition & 1 deletion server/Resources/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[server]
# The server's name. This is shown on the server list. "{game}" (here and in
# the messages below) is the game's name, set once in common/game.cmake.
name = "[S&D] ngCTF 24/7"
name = "[NGS] ngCTF 24/7"

# Port for the server to listen on
port = 32887
Expand Down
Loading