Commit Graph

19308 Commits

Author SHA1 Message Date
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
Deve
04170f5855 Avoid a crash on exit.
Still NetworkingLobby::unloaded() probably shouldn't be executed if networking screen is never opened, but initialize variables doesn't hurt anyway
2018-05-21 21:51:04 +02:00
Deve
5d840f6bf7 Move android stkgui files to its own directory 2018-05-21 21:30:24 +02:00
Deve
bcd856d7b2 Avoid not needed enet modification.
Link needed libraries in cmake file in the same way as mingw build.
2018-05-21 21:23:45 +02:00
Benau
056e596d5a Fix debug build and clean up 2018-05-22 02:06:16 +08:00
Benau
1a975f9ef4 Offer a way to know accurate ping to server within 3 seconds 2018-05-22 01:31:08 +08:00
hiker
227572809a Synch attachments of bananas between client and server, some
code cleanup.
2018-05-22 00:00:38 +10:00
Benau
34b8a07d80 Add proper line breaking 2018-05-21 11:19:18 +08:00
hiker
9108934c18 Added handling of predicted item drops. 2018-05-21 10:09:10 +10:00
Alayan-stk-2
4fdd3eee38 Ghost finish times based on replay data (#3262)
* New ghost kart function to compute finish time

* Don't estimate the finish time for ghosts, use replay data
2018-05-19 19:23:44 -04:00
Alayan-stk-2
b8d2dc9034 Fix #3182 (#3260)
Checklines validation is for karts only, so having it true for the basket ball made the ball_distance always equal to zero. Setting it to false make the basket ball work again.
2018-05-19 18:23:58 -04:00