Rename 'subgame' to 'game'

This commit is contained in:
paramat 2018-03-13 01:59:01 +00:00 committed by paramat
parent d57024b7c9
commit 92ca9dda54
6 changed files with 9 additions and 9 deletions

@ -48,7 +48,7 @@ If you experience an issue, we would like to know the details - especially when
- Error logs (check the bottom of the `debug.txt` file) - Error logs (check the bottom of the `debug.txt` file)
- Screenshots - Screenshots
- Ways you have tried to solve the issue, and whether they worked or not - Ways you have tried to solve the issue, and whether they worked or not
- Your Minetest version and the content (subgames, mods or texture packs) you have installed - Your Minetest version and the content (games, mods or texture packs) you have installed
- Your platform (e.g. Windows 10 or Ubuntu 15.04 x64) - Your platform (e.g. Windows 10 or Ubuntu 15.04 x64)
After reporting you should aim to answer questions or clarifications as this helps pinpoint the cause of the issue (if you don't do this your issue may be closed after 1 month). After reporting you should aim to answer questions or clarifications as this helps pinpoint the cause of the issue (if you don't do this your issue may be closed after 1 month).

@ -85,12 +85,12 @@ local function create_world_formspec(dialogdata)
if #gamemgr.games == 0 then if #gamemgr.games == 0 then
retval = retval .. "box[2,4;8,1;#ff8800]label[2.25,4;" .. retval = retval .. "box[2,4;8,1;#ff8800]label[2.25,4;" ..
fgettext("You have no subgames installed.") .. "]label[2.25,4.4;" .. fgettext("You have no games installed.") .. "]label[2.25,4.4;" ..
fgettext("Download one from minetest.net") .. "]" fgettext("Download one from minetest.net") .. "]"
elseif #gamemgr.games == 1 and gamemgr.games[1].id == "minimal" then elseif #gamemgr.games == 1 and gamemgr.games[1].id == "minimal" then
retval = retval .. "box[1.75,4;8.7,1;#ff8800]label[2,4;" .. retval = retval .. "box[1.75,4;8.7,1;#ff8800]label[2,4;" ..
fgettext("Warning: The minimal development test is meant for developers.") .. "]label[2,4.4;" .. fgettext("Warning: The minimal development test is meant for developers.") .. "]label[2,4.4;" ..
fgettext("Download a subgame, such as minetest_game, from minetest.net") .. "]" fgettext("Download a game, such as minetest_game, from minetest.net") .. "]"
end end
return retval return retval

@ -143,7 +143,7 @@ function mm_texture.set_game(identifier, gamedetails)
end end
end end
-- Find out how many randomized textures the subgame provides -- Find out how many randomized textures the game provides
local n = 0 local n = 0
local filename local filename
local menu_files = core.get_dir_list(gamedetails.path .. DIR_DELIM .. "menu", false) local menu_files = core.get_dir_list(gamedetails.path .. DIR_DELIM .. "menu", false)

@ -1235,8 +1235,8 @@ curl_file_download_timeout (cURL file download timeout) int 300000
high_precision_fpu (High-precision FPU) bool true high_precision_fpu (High-precision FPU) bool true
# Changes the main menu UI: # Changes the main menu UI:
# - Full: Multple singleplayer worlds, subgame choice, texture pack chooser, etc. # - Full: Multple singleplayer worlds, game choice, texture pack chooser, etc.
# - Simple: One singleplayer world, no subgame or texture pack choosers. May be necessary for smaller screens. # - Simple: One singleplayer world, no game or texture pack choosers. May be necessary for smaller screens.
# - Auto: Simple on Android, full on everything else. # - Auto: Simple on Android, full on everything else.
main_menu_style (Main menu style) enum auto auto,full,simple main_menu_style (Main menu style) enum auto auto,full,simple

@ -67,8 +67,8 @@ The game directory can contain the following files:
In the same format as the one in builtin. In the same format as the one in builtin.
This settingtypes.txt will be parsed by the menu and the settings will be This settingtypes.txt will be parsed by the menu and the settings will be
displayed in the "Games" category in the advanced settings tab. displayed in the "Games" category in the advanced settings tab.
* If the subgame contains a folder called `textures` the server will load it * If the game contains a folder called `textures` the server will load it as a
as a texturepack, overriding mod textures. texturepack, overriding mod textures.
Any server texturepack will override mod textures and the game texturepack. Any server texturepack will override mod textures and the game texturepack.
### Menu images ### Menu images

@ -96,7 +96,7 @@ Display an interactive terminal over ncurses during execution.
.SH ENVIRONMENT .SH ENVIRONMENT
.TP .TP
.B MINETEST_SUBGAME_PATH .B MINETEST_SUBGAME_PATH
Colon delimited list of directories to search for subgames. Colon delimited list of directories to search for games.
.SH BUGS .SH BUGS
Please report all bugs to Perttu Ahola <celeron55@gmail.com>. Please report all bugs to Perttu Ahola <celeron55@gmail.com>.