Compare commits
240 Commits
add-dirt-t
...
RaceUI2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc969982da | ||
|
|
68916b0adf | ||
|
|
6445fb059d | ||
|
|
0c5b1a3999 | ||
|
|
dc428b94cf | ||
|
|
1bb0be6a8c | ||
|
|
fedf93c928 | ||
|
|
693a3bc954 | ||
|
|
b26d8f3454 | ||
|
|
da4f6cf8cf | ||
|
|
be1fab75b8 | ||
|
|
2084121405 | ||
|
|
53b6c0c80b | ||
|
|
3e6d7afb14 | ||
|
|
87725b4415 | ||
|
|
a2d4763201 | ||
|
|
c8db9e2490 | ||
|
|
ab94fdfceb | ||
|
|
6478a0714d | ||
|
|
cb9a17563e | ||
|
|
05e1d629ee | ||
|
|
6809984928 | ||
|
|
767651124a | ||
|
|
61df9c4b35 | ||
|
|
7b62947e08 | ||
|
|
dcec81c7d5 | ||
|
|
799f6d98c1 | ||
|
|
fa98a30543 | ||
|
|
93298023b4 | ||
|
|
a4c9a8826c | ||
|
|
51c67aa1e4 | ||
|
|
e5a66cf5af | ||
|
|
e55ee508f8 | ||
|
|
5041c6585d | ||
|
|
addcb84802 | ||
|
|
2fafe495dd | ||
|
|
51f8884881 | ||
|
|
abd3a79526 | ||
|
|
e7aa03f1bf | ||
|
|
d61b74fdd4 | ||
|
|
97e5e63e7c | ||
|
|
759a1d5a33 | ||
|
|
8efd422125 | ||
|
|
ae4ed9e2e7 | ||
|
|
689fab6bc8 | ||
|
|
dd9bb640d1 | ||
|
|
8950354e62 | ||
|
|
136b649716 | ||
|
|
7720ab45f5 | ||
|
|
1fe8e36c97 | ||
|
|
c360209676 | ||
|
|
7386465931 | ||
|
|
f5abd2c798 | ||
|
|
e16aa9f1ed | ||
|
|
871ee40053 | ||
|
|
f0d862f472 | ||
|
|
091d9bf130 | ||
|
|
4c6af1d381 | ||
|
|
8d40a69842 | ||
|
|
69ee902327 | ||
|
|
4a39813f07 | ||
|
|
aa3afa7048 | ||
|
|
6196782420 | ||
|
|
a08866f96d | ||
|
|
791a490e58 | ||
|
|
50f87e3f0f | ||
|
|
1c6890f77e | ||
|
|
0c3691cf18 | ||
|
|
2ac0e5fd07 | ||
|
|
36d1376567 | ||
|
|
56e9be326e | ||
|
|
896768ebbe | ||
|
|
5bd37e1e2e | ||
|
|
0dca414e02 | ||
|
|
46c2c88461 | ||
|
|
c8305012f8 | ||
|
|
8bdc45f7a3 | ||
|
|
eed9d200d3 | ||
|
|
f60dc3ce4c | ||
|
|
0b7e2d35fb | ||
|
|
63a377cf0b | ||
|
|
c7ea40df6c | ||
|
|
e11f327519 | ||
|
|
4a18ac2725 | ||
|
|
902e64c7f5 | ||
|
|
82408aab2f | ||
|
|
553747237e | ||
|
|
5f463f7f80 | ||
|
|
b1a535b21f | ||
|
|
aa2d944813 | ||
|
|
2f2a128e06 | ||
|
|
13b3b3c2bd | ||
|
|
6dedbff1a8 | ||
|
|
0da04805b4 | ||
|
|
961c4af662 | ||
|
|
7cabefc8e9 | ||
|
|
6232140689 | ||
|
|
f975e37dea | ||
|
|
bc675ffd81 | ||
|
|
2c79b02088 | ||
|
|
9f3bc471d8 | ||
|
|
6af8f70b48 | ||
|
|
63ba99457e | ||
|
|
951c48292a | ||
|
|
afe2b6f2f4 | ||
|
|
52f5562be8 | ||
|
|
23a82aab54 | ||
|
|
402cbea3d6 | ||
|
|
e80e0555e1 | ||
|
|
18c108c99a | ||
|
|
eb274e01d4 | ||
|
|
6145aff895 | ||
|
|
6af07fac77 | ||
|
|
6b4ebc2148 | ||
|
|
d39b2a0620 | ||
|
|
ab1e86d796 | ||
|
|
1f514727d5 | ||
|
|
07ad8977dd | ||
|
|
0cd8c03bcd | ||
|
|
f0807f9c0e | ||
|
|
488e53d669 | ||
|
|
c032bfe941 | ||
|
|
c2b2a57c87 | ||
|
|
fb95e9736b | ||
|
|
8271213756 | ||
|
|
2486e72c25 | ||
|
|
1e9f175f43 | ||
|
|
3aa2a04197 | ||
|
|
21e88698d2 | ||
|
|
0c353f4b49 | ||
|
|
7bda2d097d | ||
|
|
2e559aa391 | ||
|
|
025c60033d | ||
|
|
75127fc044 | ||
|
|
4d9407653a | ||
|
|
23acbf5260 | ||
|
|
dc059aa8f7 | ||
|
|
02a3de4dd8 | ||
|
|
e269c5a72d | ||
|
|
b98024f11e | ||
|
|
96c5293021 | ||
|
|
137a7e671f | ||
|
|
4d68d324a2 | ||
|
|
2cb9f1e714 | ||
|
|
fc04eeade7 | ||
|
|
073f337415 | ||
|
|
7c53a5556c | ||
|
|
152c695a37 | ||
|
|
085e3f8eae | ||
|
|
03839b7cfe | ||
|
|
d663bb2caf | ||
|
|
68d6326348 | ||
|
|
f1057726ad | ||
|
|
8cb5e43bad | ||
|
|
b3bffacb40 | ||
|
|
2c35b0f03c | ||
|
|
07e681e927 | ||
|
|
21857327d4 | ||
|
|
1fc58ef445 | ||
|
|
4bbc494de4 | ||
|
|
c22403f080 | ||
|
|
ccdf0098a6 | ||
|
|
35cc6930ab | ||
|
|
2026eb6a69 | ||
|
|
e84ac0da7c | ||
|
|
02732e78be | ||
|
|
9a82e168de | ||
|
|
15bc188aa3 | ||
|
|
32d192460e | ||
|
|
3c89e20733 | ||
|
|
d6fd2df8f5 | ||
|
|
88d0313230 | ||
|
|
b400d56585 | ||
|
|
19ba899afd | ||
|
|
78e592bfbf | ||
|
|
0c7475c6cf | ||
|
|
28511c597e | ||
|
|
211def77a6 | ||
|
|
bbb618fe6b | ||
|
|
4cf9542be1 | ||
|
|
57d4017cc6 | ||
|
|
e5f5a1c04d | ||
|
|
4c6d535f00 | ||
|
|
01b95d873e | ||
|
|
f547753aaa | ||
|
|
505a67a372 | ||
|
|
4c8d1b6b67 | ||
|
|
c10b40fb7d | ||
|
|
b613c2c989 | ||
|
|
641998be69 | ||
|
|
83a456e835 | ||
|
|
a53307cc14 | ||
|
|
ea3215aad6 | ||
|
|
99a4fac85e | ||
|
|
0fd62c1ca7 | ||
|
|
d7b6e4c339 | ||
|
|
0b5d390c48 | ||
|
|
3616e93201 | ||
|
|
3d14ae5bf1 | ||
|
|
b413d9ef24 | ||
|
|
803fae5320 | ||
|
|
c8d56cc2b9 | ||
|
|
f0a4b707ef | ||
|
|
3b070cdaad | ||
|
|
1291d2c0d3 | ||
|
|
323af45fbd | ||
|
|
6dab3b4e03 | ||
|
|
0ff4d3d286 | ||
|
|
127c91d825 | ||
|
|
b911a31bf2 | ||
|
|
60157a33c4 | ||
|
|
7d561de3fb | ||
|
|
930115a449 | ||
|
|
e5aa172d00 | ||
|
|
114dca1733 | ||
|
|
1b0f5be495 | ||
|
|
f39946347f | ||
|
|
37cf5ac459 | ||
|
|
930c2c004d | ||
|
|
f5ba14fc54 | ||
|
|
a51c88febe | ||
|
|
e64fd7a47d | ||
|
|
31d425795c | ||
|
|
3ebc68ff10 | ||
|
|
29a7be5531 | ||
|
|
6203b415e2 | ||
|
|
8f8d5f8814 | ||
|
|
8ad3cbdff9 | ||
|
|
c778a22a3a | ||
|
|
300cdff07f | ||
|
|
3337f41529 | ||
|
|
1c94cd6880 | ||
|
|
ade3551c16 | ||
|
|
8bb2eeb629 | ||
|
|
612e8bdaf6 | ||
|
|
dd15947aa1 | ||
|
|
0d93fe427e | ||
|
|
4262418532 | ||
|
|
9211b26251 | ||
|
|
5955166931 |
171
NETWORKING.md
Normal file
@@ -0,0 +1,171 @@
|
||||
# Online networking games for STK
|
||||
|
||||
## Hosting server
|
||||
First of all, you can compile STK with `-DSERVER_ONLY=ON` which will produce a GUI-less STK binary optimized for size and memory usage, useful for situation like in VPS.
|
||||
|
||||
### Hosting WAN (public internet) server
|
||||
You are required to have an stk online account first, go [here](https://addons.supertuxkart.net/register.php) for registration.
|
||||
|
||||
It is recommended you have a saved user in your computer to allow hosting multiple servers simultaneously with the same account, if you have a fresh STK installation, first run:
|
||||
|
||||
`supertuxkart --init-user --login=your_registered_name --password=your_password`
|
||||
|
||||
After that you should see `Done saving user, leaving` in terminal if it successfully logged in.
|
||||
|
||||
Than you can just run:
|
||||
|
||||
`supertuxkart --server-config=your_config.xml --network-console`
|
||||
|
||||
It will create that xml configuration file if not found in current directory, you can type `quit` in terminal, than you can edit that file for further configuration as required.
|
||||
|
||||
The current server configuration xml looks like this:
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<server-config version="1" >
|
||||
|
||||
<!-- Name of server, encode in XML if you want to use unicode characters. -->
|
||||
<server-name value="stk server" />
|
||||
|
||||
<!-- Port used in server, if you specify 0, it will use the server port specified in stk_config.xml or if random-server-port is enabled in user config, than any port. STK will auto change to random port if the port you specify failed to be bound. -->
|
||||
<server-port value="0" />
|
||||
|
||||
<!-- Game mode in server, 0 is normal race (grand prix), 1 is time trial (grand prix), 3 is normal race, 4 time trial, 6 is soccer, 7 is free-for-all and 8 is capture the flag. Notice: grand prix server doesn't allow for players to join and wait for ongoing game. -->
|
||||
<server-mode value="3" />
|
||||
|
||||
<!-- Difficulty in server, 0 is beginner, 1 is intermediate, 2 is expert and 3 is supertux (the most difficult). -->
|
||||
<server-difficulty value="0" />
|
||||
|
||||
<!-- Number of grand prix tracks per game (If grand prix enabled). -->
|
||||
<gp-track-count value="3" />
|
||||
|
||||
<!-- Use goal target in soccer. -->
|
||||
<soccer-goal-target value="false" />
|
||||
|
||||
<!-- Enable wan server, which requires you to have an stk-addons account with a saved session. Check init-user command for details. -->
|
||||
<wan-server value="true" />
|
||||
|
||||
<!-- Enable network console, which can do for example kickban. -->
|
||||
<enable-console value="false" />
|
||||
|
||||
<!-- Maximum number of players on the server, setting it more than 8 will have performance degradation. -->
|
||||
<server-max-players value="8" />
|
||||
|
||||
<!-- Password for private server, empty for a public server. -->
|
||||
<private-server-password value="" />
|
||||
|
||||
<!-- Message of today shown in lobby, you can enter encoded XML words here or a file.txt and let STK load it. -->
|
||||
<motd value="" />
|
||||
|
||||
<!-- Timeout in seconds for voting tracks in server. -->
|
||||
<voting-timeout value="20" />
|
||||
|
||||
<!-- Timeout in seconds for validation of clients in wan, currently stk will use the stk-addons server to share AES key between client and server. -->
|
||||
<validation-timeout value="20" />
|
||||
|
||||
<!-- By default WAN server will always validate player and LAN will not, disable it to allow non-validated player in WAN. -->
|
||||
<validating-player value="true" />
|
||||
|
||||
<!-- Disable it to turn off all stun related code in server, it allows saving server resource if your server is not behind a firewall. -->
|
||||
<firewalled-server value="true" />
|
||||
|
||||
<!-- No server owner in lobby which can control the starting of game or kick any players. -->
|
||||
<owner-less value="false" />
|
||||
|
||||
<!-- Time to wait before entering kart selection screen if satisfied min-start-game-players below for owner less or ranked server. -->
|
||||
<start-game-counter value="30" />
|
||||
|
||||
<!-- Only auto start kart selection when number of connected player is larger than or equals this value, for owner less or ranked server, after start-game-counter reaches 0. -->
|
||||
<min-start-game-players value="2" />
|
||||
|
||||
<!-- Automatically end linear race game after 1st player finished for some time (currently his finished time * 0.25 + 15.0). -->
|
||||
<auto-end value="false" />
|
||||
|
||||
<!-- Enable team choosing in lobby in team game (soccer and CTF). If owner-less is enabled, than this option is always disabled. -->
|
||||
<team-choosing value="true" />
|
||||
|
||||
<!-- Server will submit ranking to stk addons server for linear race games, you require permission for that. validating-player, auto-end and owner-less will be turned on. -->
|
||||
<ranked value="false" />
|
||||
|
||||
<!-- Time in seconds when a flag is dropped a by player in CTF returning to its own base. -->
|
||||
<flag-return-timemout value="20" />
|
||||
|
||||
<!-- Value used to calculate hit limit in free for all, which is min(number of players * hit-limit-threshold, 40), negative value to disable hit limit. -->
|
||||
<hit-limit-threshold value="5" />
|
||||
|
||||
<!-- Value used to calculate time limit in free for all, which is max(number of players * time-limit-threshold-ffa, 3.0) * 60, negative value to disable time limit. -->
|
||||
<time-limit-threshold-ffa value="0.7" />
|
||||
|
||||
<!-- Value used to calculate capture limit in CTF, which is max(3.0, number of players * capture-limit-threshold), negative value to disable capture limit. -->
|
||||
<capture-limit-threshold value="0.7" />
|
||||
|
||||
<!-- Value used to calculate time limit in CTF, which is max(3.0, number of players * (time-limit-threshold-ctf + flag-return-timemout / 60.0)) * 60.0, negative value to disable time limit. -->
|
||||
<time-limit-threshold-ctf value="0.9" />
|
||||
|
||||
<!-- Value used by server to automatically calculate lap of each race in network game, if more than 0.0f, the number of lap of each track vote in linear race will be determined by max(1.0f, auto-lap-ratio * default lap of that track). -->
|
||||
<auto-lap-ratio value="-1" />
|
||||
|
||||
<!-- Maximum ping allowed for a player (in ms). -->
|
||||
<max-ping value="300" />
|
||||
|
||||
<!-- Tolerance of jitter in network allowed (in ms). -->
|
||||
<jitter-tolerance value="100" />
|
||||
|
||||
<!-- Kick players whose ping is above max-ping. -->
|
||||
<kick-high-ping-players value="false" />
|
||||
|
||||
<!-- ip: IP in X.X.X.X/Y (CIDR) format for banning, use Y of 32 for a specific ip, expired-time: unix timestamp to expire, if -1 (uint32_t max) than a permanent ban. -->
|
||||
<server-ip-ban-list>
|
||||
<ban ip="0.0.0.0/0" expired-time="0"/>
|
||||
</server-ip-ban-list>
|
||||
|
||||
<!-- online-id: online id for banning, expired-time: unix timestamp to expire, if -1 (uint32_t max) than a permanent ban. -->
|
||||
<server-online-id-ban-list>
|
||||
<ban online-id="0" expired-time="0"/>
|
||||
</server-online-id-ban-list>
|
||||
|
||||
</server-config>
|
||||
|
||||
|
||||
```
|
||||
|
||||
At the moment STK has a list of STUN servers for NAT penetration which allows players or servers behind a firewall or router to be able to connect to each other, but in case it doesn't work, you have to manually disable the firewall or port forward the port(s) used by the STK.
|
||||
By default STK servers use port `2759`. For example, in Ubuntu based distributions, run the following command to disable the firewall on that port:
|
||||
|
||||
`sudo ufw allow 2759`
|
||||
|
||||
You may also need to handle the server discovery port `2757` for connecting your WAN server in LAN / localhost.
|
||||
|
||||
Notice: You don't need to make any firewall or router configuration changes if you connect to our official servers.
|
||||
|
||||
### Hosting LAN (local internet) server
|
||||
Everything is basically the same as WAN one, except you don't need an stk online account, just do:
|
||||
|
||||
`supertuxkart --server-config=your_config.xml --lan-server=your_server_name --network-console`
|
||||
|
||||
In LAN network it is required that the server and server discovery port is connectable by clients directly, no NAT penetration will be done in LAN.
|
||||
|
||||
------
|
||||
After the first time configuration, you can just start the server with the command:
|
||||
|
||||
`supertuxkart --server-config=your_config.xml`, regardless of whether LAN or WAN server is chosen (of course you need to have a saved user for the WAN one), by default your server logging will be saved to the STK configuration directory with a name of `your_config.log`, given that the server configuration filename is `your_config.xml`.
|
||||
|
||||
You can find out that directory location [here (See Where is the configuration stored?)](https://supertuxkart.net/FAQ)
|
||||
|
||||
## Testing server
|
||||
There is a network AI tester in STK which can use AI on player controller for server hosting linear races game mode, which helps automating the testing for servers, to enable it use:
|
||||
|
||||
`supertuxkart --connect-now=x.x.x.x:y --server-id=id --network-ai=n --auto-connect --no-graphics`
|
||||
|
||||
x.x.x.x:y is your server ip address with its port, id is the id field of server-info in STK server xml list, omit it if you are testing LAN server, n is the number of AI you want to create.
|
||||
|
||||
You can see STK server xml list [here](https://addons.supertuxkart.net/api/v2/server/get-all).
|
||||
|
||||
The server you want to test must be able to be connected without NAT penetration. You can remove `--auto-connect` if you have another client which can control the starting of games in server, or you can consider enable owner-less mode on server so the games on server can keep going. Remove `--no-graphics` if you want to see the AI racing. You can also run network AI tester in server-only build of STK.
|
||||
|
||||
With the network AI tester, it's easier to for example simulate high-loaded servers or bad (high ping with packet loss) network.
|
||||
|
||||
Tested on a Raspberry Pi 3 Model B+, if you have 8 players connected to a server hosted on it, the usage of a single CPU core is ~60% and there are ~60MB of memory usage for game with heavy tracks like Cocoa Temple or Candela City on the server, you can use the above figures to consider number of STK servers hosting on a same computer.
|
||||
|
||||
For bad network simulation, we recommend `network traffic control` by linux kernel, see [here](https://wiki.linuxfoundation.org/networking/netem) for details.
|
||||
|
||||
You have the best gaming experience when choosing server less than 100ms ping with no packet loss.
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="abyss" laps="3"/>
|
||||
<track id="abyss" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="0"/>
|
||||
|
||||
<best>
|
||||
<karts number="7"/>
|
||||
<requirements position="1" time="150"/>
|
||||
<requirements position="1" time="140"/>
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="6"/>
|
||||
@@ -15,10 +15,10 @@
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="5"/>
|
||||
<requirements time="197"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="270"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="candela_city" laps="3"/>
|
||||
<track id="candela_city" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="75"/>
|
||||
|
||||
<best>
|
||||
<karts number="9"/>
|
||||
<requirements position="1"/>
|
||||
<requirements position="1" time="120"/>
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="8"/>
|
||||
|
||||
@@ -1,24 +1,31 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="cocoa_temple" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="5"/>
|
||||
<track id="cocoa_temple" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="timetrial"/>
|
||||
<requirements trophies="0"/>
|
||||
|
||||
<best>
|
||||
<karts number="8"/>
|
||||
<requirements position="1" time="140"/>
|
||||
<karts number="1"
|
||||
replay_file="challenge_cocoa_temple_supertux.replay"/>
|
||||
<requirements position="1"/>
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="7"/>
|
||||
<requirements position="1" time="170"/>
|
||||
<karts number="1"
|
||||
replay_file="challenge_cocoa_temple_expert.replay"/>
|
||||
<requirements position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="6"/>
|
||||
<requirements time="210"/>
|
||||
<karts number="1"
|
||||
replay_file="challenge_cocoa_temple_intermediate.replay"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="5"/>
|
||||
<requirements time="300"/>
|
||||
<karts number="1"
|
||||
replay_file="challenge_cocoa_temple_novice.replay"/>
|
||||
<karts number="1"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
|
||||
<unlock kart="suzanne"/>
|
||||
</challenge>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="cornfield_crossing" laps="3"/>
|
||||
<track id="cornfield_crossing" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="0"/>
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="5"/>
|
||||
<requirements time="195"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="290"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="fortmagma" laps="3"/>
|
||||
<track id="fortmagma" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="190"/>
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="gran_paradiso_island" laps="3"/>
|
||||
<track id="gran_paradiso_island" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="80"/>
|
||||
|
||||
<best>
|
||||
<karts number="9"/>
|
||||
<requirements position="1"/>
|
||||
<requirements position="1" time="145"/>
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="8"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="greenvalley" laps="3"/>
|
||||
<track id="greenvalley" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="90"/>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="hacienda" laps="3"/>
|
||||
<track id="hacienda" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="25"/>
|
||||
|
||||
@@ -19,6 +19,6 @@
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="5"/>
|
||||
<requirements time="260"/>
|
||||
<requirements position="2"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="lighthouse" laps="4"/>
|
||||
<track id="lighthouse" laps="4" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="125"/>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="9"/>
|
||||
<requirements position="1" time="140"/>
|
||||
<requirements position="1" time="145"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="8"/>
|
||||
@@ -19,6 +19,6 @@
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="7"/>
|
||||
<requirements time="250"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="mansion" laps="3"/>
|
||||
<track id="mansion" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="100"/>
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="mines" laps="3"/>
|
||||
<track id="mines" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="140"/>
|
||||
|
||||
<best>
|
||||
<karts number="10"/>
|
||||
<requirements position="1" time="140"/>
|
||||
<requirements position="1" time="135"/>
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="9"/>
|
||||
@@ -15,10 +15,10 @@
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="8"/>
|
||||
<requirements position="2" time="190"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="7"/>
|
||||
<requirements time="255"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="minigolf" laps="4"/>
|
||||
<track id="minigolf" laps="4" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="130"/>
|
||||
|
||||
<best>
|
||||
<karts number="10"/>
|
||||
<requirements position="1"/>
|
||||
<requirements position="1" time="135"/>
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="9"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="olivermath" laps="5"/>
|
||||
<track id="olivermath" laps="5" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="0"/>
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="5"/>
|
||||
<requirements position="1" time="140"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements position="1" time="210"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="sandtrack" laps="3"/>
|
||||
<track id="sandtrack" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="0"/>
|
||||
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="scotland" laps="3"/>
|
||||
<track id="scotland" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="0"/>
|
||||
|
||||
<best>
|
||||
<karts number="7"/>
|
||||
<requirements position="1" time="140"/>
|
||||
<requirements position="1" time="125"/>
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="6"/>
|
||||
<requirements position="1" time="165"/>
|
||||
<requirements position="1" time="150"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="5"/>
|
||||
<requirements time="185"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="270"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="snowmountain" laps="3"/>
|
||||
<track id="snowmountain" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="115"/>
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="8"/>
|
||||
<requirements time="187"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="7"/>
|
||||
<requirements time="250"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="snowtuxpeak" laps="3"/>
|
||||
<track id="snowtuxpeak" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="45"/>
|
||||
|
||||
<best>
|
||||
<karts number="8"/>
|
||||
<requirements position="1" time="120"/>
|
||||
<requirements position="1" time="115"/>
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="7"/>
|
||||
@@ -15,10 +15,10 @@
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="6"/>
|
||||
<requirements time="170"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="5"/>
|
||||
<requirements time="210"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="stk_enterprise" laps="3"/>
|
||||
<track id="stk_enterprise" laps="3" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="105"/>
|
||||
|
||||
<best>
|
||||
<karts number="9"/>
|
||||
<requirements position="1"/>
|
||||
<requirements position="1" time="155"/>
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="8"/>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="volcano_island" laps="2"/>
|
||||
<track id="volcano_island" laps="2" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="15"/>
|
||||
|
||||
<best>
|
||||
<karts number="8"/>
|
||||
<requirements position="1"/>
|
||||
<requirements position="1" time="165"/>
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="7"/>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="xr591" laps="2"/>
|
||||
<track id="xr591" laps="2" reverse="false"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="135"/>
|
||||
|
||||
<best>
|
||||
<karts number="1"/>
|
||||
<requirements energy="20" time="100"/>
|
||||
<requirements energy="20" time="95"/>
|
||||
</best>
|
||||
<hard>
|
||||
<karts number="1"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="3">
|
||||
<unlock_list list="false"/>
|
||||
<track id="zengarden" laps="4"/>
|
||||
<track id="zengarden" laps="4" reverse="false"/>
|
||||
<mode major="single" minor="timetrial"/>
|
||||
<requirements trophies="35"/>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div x="5%" y="5%" width="90%" height="90%" layout="vertical-row">
|
||||
<div x="5%" y="0%" width="90%" proportion="6" layout="horizontal-row">
|
||||
<div width="40%" height="100%" layout="vertical-row">
|
||||
<icon id="icon" align="center" proportion="8" width="100%" icon="gui/loading.png" />
|
||||
<icon id="icon" align="center" proportion="8" width="100%" icon="gui/icons/loading.png" />
|
||||
<spacer proportion="1" />
|
||||
</div>
|
||||
<spacer proportion="1" />
|
||||
@@ -27,13 +27,13 @@
|
||||
<div width="80%" proportion="5" align="center">
|
||||
<buttonbar id="actions" x="0" y="0" height="100%" width="100%" align="center">
|
||||
<icon-button id="install" width="128" height="128"
|
||||
icon="gui/package-update.png"
|
||||
icon="gui/icons/package-update.png"
|
||||
I18N="Add-on screen action" text="Install" />
|
||||
<icon-button id="uninstall" width="128" height="128"
|
||||
icon="gui/package-uninstall.png"
|
||||
icon="gui/icons/package-uninstall.png"
|
||||
I18N="Add-on screen action" text="Uninstall" />
|
||||
<icon-button id="back" width="128" height="128"
|
||||
icon="gui/back.png"
|
||||
icon="gui/icons/back.png"
|
||||
I18N="Add-on screen action" text="Back" />
|
||||
</buttonbar>
|
||||
<progressbar id="progress" x="0" y="20%" width="100%" height="30%" />
|
||||
@@ -8,9 +8,9 @@
|
||||
<spacer height="7%" width="10"/>
|
||||
|
||||
<ribbon id="control_type" proportion="1" width="100%" align="center">
|
||||
<icon-button id="accelerometer" width="fit" height="fit" icon="gui/difficulty_medium.png"
|
||||
<icon-button id="accelerometer" width="fit" height="fit" icon="gui/icons/difficulty_medium.png"
|
||||
I18N="Control type" text="Accelerometer"/>
|
||||
<icon-button id="steering_wheel" width="fit" height="fit" icon="gui/difficulty_hard.png"
|
||||
<icon-button id="steering_wheel" width="fit" height="fit" icon="gui/icons/difficulty_hard.png"
|
||||
I18N="Control type" text="Steering wheel"/>
|
||||
</ribbon>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<label proportion="1" align="center" text_align="right" I18N="In the multitouch settings screen" text="Buttons scale"/>
|
||||
<div proportion="1" align="center" height="fit" layout="horizontal-row" >
|
||||
<spacer width="40" height="10" />
|
||||
<gauge id="scale" proportion="1" min_value="50" max_value="150"/>
|
||||
<gauge id="scale" proportion="1" min_value="80" max_value="160"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
|
||||
<buttonbar id="buttons" height="30%" width="30%" align="center">
|
||||
|
||||
<icon-button id="confirm" icon="gui/green_check.png" I18N="In a 'are you sure?' dialog"
|
||||
<icon-button id="confirm" icon="gui/icons/green_check.png" I18N="In a 'are you sure?' dialog"
|
||||
text="Yes" align="center"/>
|
||||
|
||||
<icon-button id="cancel" icon="gui/remove.png" I18N="In a 'are you sure?' dialog"
|
||||
<icon-button id="cancel" icon="gui/icons/remove.png" I18N="In a 'are you sure?' dialog"
|
||||
text="Cancel" align="center"/>
|
||||
|
||||
</buttonbar>
|
||||
60
data/gui/dialogs/ghost_replay_info_dialog.stkgui
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<div x="1%" y="2%" width="98%" height="96%" layout="vertical-row">
|
||||
|
||||
<div width="100%" height="40%" layout="vertical-row">
|
||||
<div width="100%" height="25%" layout="vertical-row" >
|
||||
<label id="name" width="100%" text_align="center"/>
|
||||
</div>
|
||||
<!-- This is filled in programmatically -->
|
||||
<box width="100%" height="75%" align="center" layout="vertical-row" padding="1">
|
||||
<list id="current_replay_info" x="0" y="0" width="100%" height="100%"/>
|
||||
</box>
|
||||
</div>
|
||||
|
||||
<div width="100%" height="60%" layout="horizontal-row">
|
||||
<div width="36%" height="100%" layout="vertical-row">
|
||||
<icon-button proportion="1" width="100%" height="100%" id="track_screenshot" custom_ratio="1.33333"/>
|
||||
</div>
|
||||
|
||||
<div width="64%" height="100%" layout="vertical-row">
|
||||
<div width="95%" align="center" layout="vertical-row" height="50%">
|
||||
<div width="100%" height="fit" layout="horizontal-row" >
|
||||
<checkbox width="fit" id="record-race" I18N="Ghost replay info action" text_align="left"/>
|
||||
<spacer width="10"/>
|
||||
<label proportion="1" id="record-race-text" height="100%" text_align="left" I18N="Ghost replay info action" text="Record the race for ghost replay"/>
|
||||
</div>
|
||||
<div width="100%" height="fit" layout="horizontal-row" >
|
||||
<checkbox width="fit" id="watch-only" I18N="Ghost replay info action" text_align="left"/>
|
||||
<spacer width="10"/>
|
||||
<label proportion="1" id="watch-only-text" height="100%" text_align="left" I18N="Ghost replay info action" text="Watch replay only"/>
|
||||
</div>
|
||||
<div width="100%" height="fit" layout="horizontal-row" >
|
||||
<checkbox width="fit" id="compare-ghost" I18N="Ghost replay info action" text_align="left"/>
|
||||
<spacer width="10"/>
|
||||
<label proportion="1" id="compare-ghost-text" height="100%" text_align="left" I18N="Ghost replay info action" text="Compare to another ghost"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div width="95%" height="40%" align="center">
|
||||
<buttonbar id="actions" x="0" y="0" height="100%" width="100%" align="center">
|
||||
<icon-button id="start" width="128" height="128"
|
||||
icon="gui/icons/green_check.png"
|
||||
I18N="Ghost replay info screen action" text="Start Race" word_wrap="true" />
|
||||
<icon-button id="add-ghost-to-compare" width="128" height="128"
|
||||
icon="gui/icons/ghost_plus.png"
|
||||
I18N="Ghost replay info screen action" text="Compare ghost" word_wrap="true" />
|
||||
<icon-button id="remove" width="128" height="128"
|
||||
icon="gui/icons/remove.png"
|
||||
I18N="Ghost replay info action" text="Remove" word_wrap="true" />
|
||||
<icon-button id="back" width="128" height="128"
|
||||
icon="gui/icons/back.png"
|
||||
I18N="Ghost replay info action" text="Back" word_wrap="true" />
|
||||
</buttonbar>
|
||||
</div>
|
||||
<spacer width="10" height="10%"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</stkgui>
|
||||
@@ -5,12 +5,14 @@
|
||||
<model id="model" width="100%" layout="horizontal-row" height="100%">
|
||||
</model>
|
||||
</div>
|
||||
<label text="0 to use the original color, otherwise pick one from slider."
|
||||
width="100%" text_align="center" word_wrap="true"
|
||||
I18N="In the kart color slider dialog"/>
|
||||
<div width="20%" height="fit" text-align="left" layout="horizontal-row" >
|
||||
<checkbox id="toggle-slider" />
|
||||
<spacer width="40"/>
|
||||
<label id="toggle-text"/>
|
||||
</div>
|
||||
<spacer height="30" width="10"/>
|
||||
<div height="fit" width="100%" layout="horizontal-row">
|
||||
<gauge id="color-slider" min_value="0" max_value="100" proportion="1"/>
|
||||
<gauge id="color-slider" min_value="1" max_value="100" proportion="1"/>
|
||||
</div>
|
||||
<spacer height="30" width="10"/>
|
||||
<button id="close" text="Apply" align="center"/>
|
||||
@@ -35,9 +35,9 @@
|
||||
<spacer height="20" width="50"/>
|
||||
|
||||
<buttonbar id="options" width="90%" height="16%" align="center">
|
||||
<icon-button id="submit" width="64" height="64" icon="gui/green_check.png"
|
||||
<icon-button id="submit" width="64" height="64" icon="gui/icons/green_check.png"
|
||||
I18N="In the change password dialog" text="Submit" label_location="bottom"/>
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/icons/main_quit.png"
|
||||
I18N="In the change password dialog" text="Close" label_location="bottom"/>
|
||||
</buttonbar>
|
||||
</div>
|
||||
@@ -7,9 +7,9 @@
|
||||
<spacer height="20" width="50"/>
|
||||
|
||||
<buttonbar id="options" width="90%" height="30%" align="center">
|
||||
<icon-button id="view" width="64" height="64" icon="gui/difficulty_medium.png"
|
||||
<icon-button id="view" width="64" height="64" icon="gui/icons/difficulty_medium.png"
|
||||
I18N="User info dialog" text="View" label_location="bottom"/>
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/icons/main_quit.png"
|
||||
I18N="User info dialog" text="Close" label_location="bottom"/>
|
||||
</buttonbar>
|
||||
</div>
|
||||
@@ -15,10 +15,10 @@
|
||||
|
||||
<buttonbar id="options" width="90%" height="10%" align="center">
|
||||
<icon-button id="ok" width="16" height="16"
|
||||
icon="gui/green_check.png" text="OK"
|
||||
icon="gui/icons/green_check.png" text="OK"
|
||||
label_location="bottom"/>
|
||||
<icon-button id="refresh" width="16" height="16"
|
||||
icon="gui/restart.png"
|
||||
icon="gui/icons/restart.png"
|
||||
text="Refresh" label_location="bottom"/>
|
||||
</buttonbar>
|
||||
<spacer width="20" height="2%" />
|
||||
@@ -12,7 +12,7 @@
|
||||
<spacer height="20" width="50"/>
|
||||
|
||||
<buttonbar id="options" width="25%" height="15%" align="center">
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/green_check.png"
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/icons/green_check.png"
|
||||
I18N="In the recovery dialog" text="Close" label_location="none"/>
|
||||
</buttonbar>
|
||||
</div>
|
||||
@@ -34,9 +34,9 @@
|
||||
<spacer height="20" width="50"/>
|
||||
|
||||
<buttonbar id="options" width="25%" proportion="1" align="center">
|
||||
<icon-button id="submit" width="64" height="64" icon="gui/green_check.png"
|
||||
<icon-button id="submit" width="64" height="64" icon="gui/icons/green_check.png"
|
||||
I18N="In the recovery dialog" text="Submit" label_location="none"/>
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/icons/main_quit.png"
|
||||
I18N="In the recovery dialog" text="Cancel" label_location="none"/>
|
||||
</buttonbar>
|
||||
</div>
|
||||
@@ -23,9 +23,9 @@
|
||||
<spacer height="20" width="50"/>
|
||||
|
||||
<buttonbar id="options" width="45%" height="14%" align="center">
|
||||
<icon-button id="accept" width="64" height="64" icon="gui/green_check.png"
|
||||
<icon-button id="accept" width="64" height="64" icon="gui/icons/green_check.png"
|
||||
I18N="In the registration dialog" text="Accept" label_location="bottom"/>
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/icons/main_quit.png"
|
||||
I18N="In the registration dialog" text="Cancel" label_location="bottom"/>
|
||||
</buttonbar>
|
||||
</div>
|
||||
@@ -12,9 +12,9 @@
|
||||
<textbox id="password" proportion="2" height="fit"/>
|
||||
</div>
|
||||
<buttonbar id="options" width="90%" height="15%" align="center">
|
||||
<icon-button id="join" width="64" height="64" icon="gui/green_check.png"
|
||||
<icon-button id="join" width="64" height="64" icon="gui/icons/green_check.png"
|
||||
I18N="In the server info dialog" text="Join" label_location="bottom"/>
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/icons/main_quit.png"
|
||||
I18N="In the server info dialog" text="Cancel" label_location="bottom"/>
|
||||
</buttonbar>
|
||||
</div>
|
||||
@@ -33,13 +33,13 @@
|
||||
<spacer height="20" width="50"/>
|
||||
|
||||
<buttonbar id="options" width="90%" height="20%" align="center">
|
||||
<icon-button id="add" width="64" height="64" icon="gui/blue_plus.png"
|
||||
<icon-button id="add" width="64" height="64" icon="gui/icons/blue_plus.png"
|
||||
I18N="Splitscreen player in network" text="Add player" label_location="bottom"/>
|
||||
<icon-button id="connect" width="64" height="64" icon="gui/green_check.png"
|
||||
<icon-button id="connect" width="64" height="64" icon="gui/icons/green_check.png"
|
||||
I18N="Splitscreen player in network" text="All players ready" label_location="bottom"/>
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/icons/main_quit.png"
|
||||
I18N="Splitscreen player in network" text="Cancel" label_location="bottom"/>
|
||||
<icon-button id="reset" width="64" height="64" icon="gui/remove.png"
|
||||
<icon-button id="reset" width="64" height="64" icon="gui/icons/remove.png"
|
||||
I18N="Splitscreen player in network" text="Clear added player" label_location="bottom"/>
|
||||
</buttonbar>
|
||||
</div>
|
||||
@@ -20,17 +20,17 @@
|
||||
<spacer height="20" width="50"/>
|
||||
|
||||
<buttonbar id="options" width="90%" height="20%" align="center">
|
||||
<icon-button id="remove" width="64" height="64" icon="gui/package-uninstall.png"
|
||||
<icon-button id="remove" width="64" height="64" icon="gui/icons/package-uninstall.png"
|
||||
I18N="User info dialog" text="Remove" label_location="bottom"/>
|
||||
<icon-button id="friend" width="64" height="64" icon="gui/main_help.png"
|
||||
<icon-button id="friend" width="64" height="64" icon="gui/icons/main_help.png"
|
||||
I18N="User info dialog" text="Add Friend" label_location="bottom"/>
|
||||
<icon-button id="accept" width="64" height="64" icon="gui/green_check.png"
|
||||
<icon-button id="accept" width="64" height="64" icon="gui/icons/green_check.png"
|
||||
I18N="User info dialog" text="Accept" label_location="bottom"/>
|
||||
<icon-button id="decline" width="64" height="64" icon="gui/red_mark.png"
|
||||
<icon-button id="decline" width="64" height="64" icon="gui/icons/red_mark.png"
|
||||
I18N="User info dialog" text="Decline" label_location="bottom"/>
|
||||
<icon-button id="enter" width="64" height="64" icon="gui/difficulty_medium.png"
|
||||
<icon-button id="enter" width="64" height="64" icon="gui/icons/difficulty_medium.png"
|
||||
I18N="User info dialog" text="View" label_location="bottom"/>
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/icons/main_quit.png"
|
||||
I18N="User info dialog" text="Close" label_location="bottom"/>
|
||||
</buttonbar>
|
||||
</div>
|
||||
@@ -17,7 +17,7 @@
|
||||
<spacer height="40" width="50"/>
|
||||
|
||||
<buttonbar id="options" width="25%" height="20%" align="center">
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/icons/main_quit.png"
|
||||
I18N="Vote dialog" text="Close" label_location="none"/>
|
||||
</buttonbar>
|
||||
</div>
|
||||
@@ -5,23 +5,23 @@
|
||||
|
||||
<!-- FIXME: some play in proportions occur below because the text of an icon
|
||||
button is added UNDER it and not within its allocated height -->
|
||||
<icon-button id="backbtn" align="center" icon="gui/back.png" extend_label="200"
|
||||
<icon-button id="backbtn" align="center" icon="gui/icons/back.png" extend_label="200"
|
||||
I18N="In the in-game dialog" text="Back to Game" proportion="3"/>
|
||||
|
||||
<spacer width="20" height="50" />
|
||||
|
||||
<buttonbar id="choiceribbon" proportion="4" width="100%" align="center">
|
||||
|
||||
<icon-button id="selectkart" width="128" height="128" icon="gui/random_kart.png"
|
||||
<icon-button id="selectkart" width="128" height="128" icon="gui/icons/random_kart.png"
|
||||
I18N="In the in-game dialog" text="Select kart" word_wrap="true"/>
|
||||
|
||||
<icon-button id="options" width="128" height="128" icon="gui/main_options.png"
|
||||
<icon-button id="options" width="128" height="128" icon="gui/icons/main_options.png"
|
||||
I18N="In the in-game dialog" text="Options" word_wrap="true"/>
|
||||
|
||||
<icon-button id="help" width="128" height="128" icon="gui/main_help.png"
|
||||
<icon-button id="help" width="128" height="128" icon="gui/icons/main_help.png"
|
||||
I18N="In the in-game dialog" text="Help" word_wrap="true"/>
|
||||
|
||||
<icon-button id="exit" width="128" height="128" icon="gui/main_quit.png"
|
||||
<icon-button id="exit" width="128" height="128" icon="gui/icons/main_quit.png"
|
||||
I18N="In the in-game dialog" text="Back to menu" word_wrap="true"/>
|
||||
|
||||
</buttonbar>
|
||||
@@ -1,33 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<div x="2%" y="5%" width="90%" height="90%" layout="vertical-row" >
|
||||
<div x="2%" y="5%" width="96%" height="90%" layout="vertical-row" >
|
||||
<header id="title" width="100%" text_align="center" text="Paused" proportion="2" />
|
||||
|
||||
<!-- FIXME: some play in proportions occur below because the text of an icon
|
||||
button is added UNDER it and not within its allocated height -->
|
||||
<icon-button id="backbtn" align="center" icon="gui/back.png" extend_label="200"
|
||||
<icon-button id="backbtn" align="center" icon="gui/icons/back.png" extend_label="200"
|
||||
I18N="Race paused button" text="Back to Race" proportion="3"/>
|
||||
|
||||
<spacer width="20" height="50" />
|
||||
|
||||
<buttonbar id="choiceribbon" proportion="4" width="100%" align="center">
|
||||
|
||||
<icon-button id="newrace" width="128" height="128" icon="gui/main_race.png"
|
||||
<icon-button id="newrace" width="128" height="128" icon="gui/icons/main_race.png"
|
||||
I18N="Race paused button" text="Setup New Race" word_wrap="true"/>
|
||||
|
||||
<icon-button id="restart" width="128" height="128" icon="gui/restart.png"
|
||||
<icon-button id="restart" width="128" height="128" icon="gui/icons/restart.png"
|
||||
I18N="Race paused button" text="Restart Race" word_wrap="true"/>
|
||||
|
||||
<icon-button id="endrace" width="128" height="128" icon="gui/race_giveup.png"
|
||||
<icon-button id="endrace" width="128" height="128" icon="gui/icons/race_giveup.png"
|
||||
I18N="Race paused button" text="Give Up Race" word_wrap="true"/>
|
||||
|
||||
<icon-button id="options" width="128" height="128" icon="gui/main_options.png"
|
||||
<icon-button id="options" width="128" height="128" icon="gui/icons/main_options.png"
|
||||
I18N="Race paused button" text="Options" word_wrap="true"/>
|
||||
|
||||
<icon-button id="help" width="128" height="128" icon="gui/main_help.png"
|
||||
<icon-button id="help" width="128" height="128" icon="gui/icons/main_help.png"
|
||||
I18N="Race paused button" text="Help" word_wrap="true"/>
|
||||
|
||||
<icon-button id="exit" width="128" height="128" icon="gui/main_quit.png"
|
||||
<icon-button id="exit" width="128" height="128" icon="gui/icons/main_quit.png"
|
||||
I18N="Race paused button" text="Exit Race" word_wrap="true"/>
|
||||
|
||||
</buttonbar>
|
||||
@@ -15,7 +15,7 @@
|
||||
<spacer height="2%" width="1"/>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon-button id="novice" icon="gui/difficulty_easy.png"
|
||||
<icon-button id="novice" icon="gui/icons/difficulty_easy.png"
|
||||
I18N="Difficulty" text="Novice" height="100%"/>
|
||||
<spacer width="5%" height="1"/>
|
||||
<label id="novice_label" proportion="1" height="100%"/>
|
||||
@@ -24,7 +24,7 @@
|
||||
<spacer height="6%" width="1"/>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon-button id="intermediate" icon="gui/difficulty_medium.png"
|
||||
<icon-button id="intermediate" icon="gui/icons/difficulty_medium.png"
|
||||
I18N="Difficulty" text="Intermediate" height="100%"/>
|
||||
<spacer width="5%" height="1"/>
|
||||
<label id="intermediate_label" proportion="1" height="100%"/>
|
||||
@@ -33,7 +33,7 @@
|
||||
<spacer height="6%" width="1"/>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon-button id="expert" icon="gui/difficulty_hard.png"
|
||||
<icon-button id="expert" icon="gui/icons/difficulty_hard.png"
|
||||
I18N="Difficulty" text="Expert" height="100%"/>
|
||||
<spacer width="5%" height="1"/>
|
||||
<label id="difficult_label" proportion="1" height="100%"/>
|
||||
@@ -42,7 +42,7 @@
|
||||
<spacer height="6%" width="1"/>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon-button id="supertux" icon="gui/difficulty_best.png"
|
||||
<icon-button id="supertux" icon="gui/icons/difficulty_best.png"
|
||||
I18N="Difficulty" text="SuperTux" height="100%"/>
|
||||
<spacer width="5%" height="1"/>
|
||||
<label id="supertux_label" proportion="1" height="100%"/>
|
||||
@@ -15,7 +15,7 @@
|
||||
<spacer height="2%" width="1"/>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon-button id="novice" icon="gui/difficulty_easy.png"
|
||||
<icon-button id="novice" icon="gui/icons/difficulty_easy.png"
|
||||
I18N="Difficulty" text="Novice" height="100%"/>
|
||||
<spacer width="5%" height="1"/>
|
||||
<label id="novice_label" proportion="1" height="100%"/>
|
||||
@@ -24,7 +24,7 @@
|
||||
<spacer height="8%" width="1"/>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon-button id="intermediate" icon="gui/difficulty_medium.png"
|
||||
<icon-button id="intermediate" icon="gui/icons/difficulty_medium.png"
|
||||
I18N="Difficulty" text="Intermediate" height="100%"/>
|
||||
<spacer width="5%" height="1"/>
|
||||
<label id="intermediate_label" proportion="1" height="100%"/>
|
||||
@@ -33,7 +33,7 @@
|
||||
<spacer height="8%" width="1"/>
|
||||
|
||||
<div width="100%" proportion="1" layout="horizontal-row">
|
||||
<icon-button id="expert" icon="gui/difficulty_hard.png"
|
||||
<icon-button id="expert" icon="gui/icons/difficulty_hard.png"
|
||||
I18N="Difficulty" text="Expert" height="100%"/>
|
||||
<spacer width="5%" height="1"/>
|
||||
<label id="difficult_label" proportion="1" height="100%"/>
|
||||
@@ -1,56 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<div y="2%" width="100%" height="96%" layout="vertical-row">
|
||||
<div width="100%" height="50%" proportion="6" layout="horizontal-row">
|
||||
<div width="25%" height="100%" layout="vertical-row">
|
||||
<icon-button proportion="1" width="100%" height="100%" id="track_screenshot" custom_ratio="1.33333"/>
|
||||
</div>
|
||||
<div width="75%" height="100%" layout="vertical-row">
|
||||
<div width="100%" height="25%" layout="vertical-row" >
|
||||
<label id="name" width="100%" text_align="center"/>
|
||||
</div>
|
||||
<!-- This is filled in programmatically -->
|
||||
<box width="98%" height="75%" align="center" layout="vertical-row" padding="1">
|
||||
<list id="current_replay_info" x="0" y="0" width="100%" height="100%"/>
|
||||
</box>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div width="90%" align="center" layout="vertical-row" height="fit">
|
||||
<div width="100%" height="fit" layout="horizontal-row" >
|
||||
<checkbox width="fit" id="record-race" I18N="Ghost replay info action" text_align="left"/>
|
||||
<spacer width="10"/>
|
||||
<label proportion="1" id="record-race-text" height="100%" text_align="left" I18N="Ghost replay info action" text="Record the race for ghost replay"/>
|
||||
</div>
|
||||
<div width="100%" height="fit" layout="horizontal-row" >
|
||||
<checkbox width="fit" id="watch-only" I18N="Ghost replay info action" text_align="left"/>
|
||||
<spacer width="10"/>
|
||||
<label proportion="1" id="watch-only-text" height="100%" text_align="left" I18N="Ghost replay info action" text="Watch replay only"/>
|
||||
</div>
|
||||
<div width="100%" height="fit" layout="horizontal-row" >
|
||||
<checkbox width="fit" id="compare-ghost" I18N="Ghost replay info action" text_align="left"/>
|
||||
<spacer width="10"/>
|
||||
<label proportion="1" id="compare-ghost-text" height="100%" text_align="left" I18N="Ghost replay info action" text="Compare to another ghost"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div width="90%" proportion="5" align="center">
|
||||
<buttonbar id="actions" x="0" y="0" height="100%" width="100%" align="center">
|
||||
<icon-button id="start" width="128" height="128"
|
||||
icon="gui/green_check.png"
|
||||
I18N="Ghost replay info screen action" text="Start Race" />
|
||||
<icon-button id="add-ghost-to-compare" width="128" height="128"
|
||||
icon="gui/ghost_plus.png"
|
||||
I18N="Ghost replay info screen action" text="Compare ghost" />
|
||||
<icon-button id="remove" width="128" height="128"
|
||||
icon="gui/remove.png"
|
||||
I18N="Ghost replay info action" text="Remove" />
|
||||
<icon-button id="back" width="128" height="128"
|
||||
icon="gui/back.png"
|
||||
I18N="Ghost replay info action" text="Back" />
|
||||
</buttonbar>
|
||||
</div>
|
||||
</div>
|
||||
</stkgui>
|
||||
@@ -44,6 +44,8 @@ options_language.png by Alayan, based on http://www.languageicon.org/, released
|
||||
|
||||
blue_flag.png, heart.png and red_flag.png by Benau, released under CC-BY-SA 4
|
||||
|
||||
lap_flag.png, modified by Alayan, original by Alina Oleynik from The Noun Project, under CC-BY 3.0
|
||||
|
||||
====
|
||||
|
||||
Glass Skin by Auria, under CC-BY-SA 3+
|
||||
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
BIN
data/gui/icons/alert_bigdanger.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
data/gui/icons/alert_danger.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
data/gui/icons/alert_nodanger.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |