Menu-FN: Parse "minversion" command from liblist.gam.

Base: Document example liblist heavily.
This commit is contained in:
Marco Cawthorne 2021-05-28 21:24:57 +02:00
parent 407e2deb89
commit a4a40be8ae
2 changed files with 46 additions and 12 deletions

View file

@ -1,18 +1,51 @@
game "Nuclide Base"
// Nuclide Base liblist.gam file
// Take this one and adjust for your game
// window title
game "Nuclide Base Game"
// main game directory
gamedir "base"
base_dir ""
// folder to also include in the path (before game dir)
fallback_dir ""
mpentity "info_player_deathmatch"
size "1000080"
// first folder to include, before gamedir and fallback_dir
base_dir ""
// author information
url_info "www.vera-visions.com"
// download location (.zip/pk3)
url_dl
// version string
version "1.0"
url_dl ""
type "Both"
nomodels 1
gamedll "progs.dat"
startmap "test_shader"
trainingmap "map test_hdr"
// size of game in bytes
size 10519918
// whether this game is only for dedicated servers
svonly 0
// whether this game has a client-side progs
cldll 1
svonly "0"
menutrack ""
// if we're singleplayer, multiplayer or both
type "Both"
// minimum game-revision required to play
minversion 0
// if we should show player model selection in the multiplayer options
nomodels 1
// if we should allow spraylogos in the multiplayer options
nosprays 0
// name of the entity used for multiplayer map identifcation
mpentity "info_player_deathmatch"
// which server progs.dat to use
gamedll "progs.dat"
// which map we'll start a new singleplayer game on
startmap "test_shaders"
// which map the training button will go to
trainingmap "map test_hdr"
// names of the packages this game needs
pkgname ""
// name of file inside the packages we should check for
pkgfile ""
// which chat-room to join by default
chatroom "lobby"
// which file is to view when clicking the readme menu button
readme "readme.txt"
// what movie to play when starting the game
introvideo ""
// whether to use a steam styled resource background cut into multiple parts
steambg 0

View file

@ -194,6 +194,7 @@ customgame_liblist_parse(int id, string strKey, string strValue)
games[id].type = "Both";
}
break;
case "minversion":
case "hlversion":
games[id].hlversion = strValue;
break;