Commit Graph

19418 Commits

Author SHA1 Message Date
Benau
ec51a2dfbb Fix memory leak 2018-06-04 11:12:11 +08:00
Benau
e326d7bcfd Fix valgrind uninitialized 2018-06-04 11:12:03 +08:00
auria.mg
c599195eeb XML fixes 2018-06-03 21:48:34 -04:00
Benau
aa1bb720e3 No joinning of password-proected server if no password is given 2018-06-04 09:41:50 +08:00
Benau
2fbf0ab49f Avoid unnecessary slow down and mutex locking in server lobby 2018-06-04 09:28:38 +08:00
auria.mg
42d98f8ff1 Start on UTF-8 config conversion 2018-06-03 21:04:46 -04:00
Alayan-stk-2
79e3d298ce Correct finish time for GPs when skipping a race (#3276)
* Make human players have a correct finish time when skipping a GP race

* Don't compute the estimated finish time twice
2018-06-03 19:50:24 -04:00
hiker
c751db865f Always include terrain-based slowdown fraction in a state update
(otherwise the client would reset this value to 1.0 in each rewind).
2018-06-04 08:54:49 +10:00
hiker
b15de8c3dc Update m_hardPointWS after a rewind to make sure the current
terrain is computed based on the new (rewound) kart position.
2018-06-04 08:53:21 +10:00
Benau
4653089d95 Add ranked server for validated player 2018-06-04 01:19:27 +08:00
Benau
a9696792c2 Merge remote-tracking branch 'STK-helper/RankingFormula' into aes 2018-06-03 15:39:01 +08:00
Benau
2fe50ba0c4 Make connect to server message stay longer if needed in lobby 2018-06-03 15:24:36 +08:00
Benau
490b865ddd Allow using %f with translated message 2018-06-03 15:15:25 +08:00
Benau
e122d045cc Allow showing player ranking in network user dialog 2018-06-03 15:08:52 +08:00
Benau
7e5263168e Add minimum required OpenSSL version 2018-06-03 14:44:53 +08:00
hiker
91f472e1c7 Fixed braking in network games (hopefully). 2018-06-03 01:09:05 +10:00
Benau
b43a5e4d18 Add AES encryption and validation for wan player 2018-06-02 12:28:29 +08:00
QwertyChouskie
7cb0ffe844 Fix segfault in cutscene when pressing CTL+Shift and when using FPV cam (#3279)
Fixes https://github.com/supertuxkart/stk-code/issues/2876
2018-06-01 21:25:56 -04:00
Deve
a39007d48e Fixed invisible spare tire kart.
Fixes #3277
2018-06-01 22:12:51 +02:00
hiker
5ec22d17f4 Fixed EndController (base functions in AIBasecontroller need to
use same state size as PlayerController.
2018-06-02 00:48:48 +10:00
hiker
e0d7717c46 Added previous brake and steer value (necessary for full state). 2018-06-02 00:08:08 +10:00
hiker
c3ec9bf6eb Fixed comment. 2018-06-01 21:43:40 +10:00
hiker
da14ffc4de Added brake_tick counter to the state (the longer you brake the
stronger you brake).
2018-06-01 21:40:00 +10:00
hiker
eebd5f2534 Removed unnecessary #include. 2018-06-01 09:42:36 +10:00
hiker
a9279a05d0 Made --check-debug to work with --no-graphics; print also the
race time at which a check-structure is crossed.
2018-06-01 00:24:27 +10:00
hiker
dc36f743ab Fixed compiler warnings. 2018-06-01 00:21:25 +10:00
hiker
8cca845dde Hopefully fixed item collection prediction. 2018-05-31 09:48:33 +10:00
hiker
70039f7d92 Removed unnecessary #include. 2018-05-31 09:29:01 +10:00
hiker
e6d5e194d3 Don't save the terrain slowdown as part of the state, it will get
updated on each client automatically.
2018-05-29 19:25:24 +10:00
hiker
50425ef59f Moved item position into ItemState. 2018-05-29 19:21:34 +10:00
Alayan-stk-2
c4768b72ae Add support for hours display to timeToString (#3270)
* Add hours support to timeToString

* Update timeToString declaration
2018-05-28 20:17:52 -04:00
Alayan-stk-2
670a40cb05 Improvements to finish time accuracy (#3273)
* Add time info for recent positions

* More accurate finish time

* Rebase changes on the version with overrides
2018-05-27 18:04:57 -04:00
Deve
6444405479 Avoid using incorrect action in debug menu 2018-05-27 21:35:44 +02:00
hiker
755cd8095b Use ItemState instead of Item as paramter for kart's collectedItem. 2018-05-28 00:26:02 +10:00
hiker
d0e95d0d63 Removed debug code (always get bubble gum as powerup). 2018-05-27 23:44:51 +10:00
hiker
ab3a3e1155 Combined event handler and emitter in item into one object (since
they are the same anyway).
2018-05-27 23:42:38 +10:00
Alayan-stk-2
30c1e0ca6d Make rubber-banding distances different between AI karts (#3256)
* Don't generate IRC alerts

* Differentiated rubber-banding

* Fix #3222

* Small simplification

* Use master's version

* Fix typo

* Use std::sort

* Remove useless function call

test_ai is only used for profiling without human players
2018-05-26 19:09:18 -04:00
hiker
079b5abe2a Started to use ItemState instead of Item in the attachment and
powerup callbacks on item collection.
2018-05-27 00:42:21 +10:00
QwertyChouskie
c4cb0201df Let user know when STK is compiled without libopenglrecorder (#3267)
* Let user know when STK is compiled without libopenglrecorder

* More work
2018-05-26 05:30:55 +00:00
Deve
12fc3fd063 Enable gles for arm architecture on linux.
It should be more useful than opengl renderer.
2018-05-25 21:16:22 +02:00
Deve
ed2d57996d Fixed libsquish compilation on arm 2018-05-25 21:08:00 +02:00
Deve
056ee641d1 Allow to use openglrecorder with gles 2018-05-24 22:07:33 +02:00
hiker
89ded35c21 Fixed bugs in MaxSpeed state saving and restoring. 2018-05-24 10:19:54 +10:00
Deve
2958435f7c More work on gles + texture compression.
Now it's usable with mesa, nvidia blob and in theory nvidia tegra too.
2018-05-23 21:21:14 +02:00
Deve
b98aede1e1 Fix for old headers 2018-05-22 22:31:38 +02:00
Deve
765d4019b7 Allow to use texture compression with GLES when extension is available 2018-05-22 22:31:38 +02:00
Alistair Findlay
fab05a54e8 Minor Update to GP Titles (#3265)
* Update 2_offthebeatentrack.grandprix

* GP Titles
2018-05-22 14:17:41 +02:00
Benau
5482c028ca Add wee sound when starting kart / track selection 2018-05-22 15:51:37 +08:00
Benau
ff08a2ba16 Don't send events if it trigger a rewind in server 2018-05-22 14:21:05 +08:00
Alayan-stk-2
175b932b13 Correct finish time for egg hunt ghosts (#3263)
* Use replay data for ghost karts finish time

* Compute correct finish time for egg hunts replays
2018-05-21 18:12:16 -04:00