Commit Graph

19390 Commits

Author SHA1 Message Date
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
Benau
fdc299e073 Add player rankings in achievements 2018-05-20 01:15:39 +08:00
auria.mg
06d0dafcbf Change default keyboard key for "back" in the UI, backspace can be accidentally triggered when trying to erase texte 2018-05-18 21:23:31 -04:00
auria.mg
6291fada36 Fix more clang warnings 2018-05-18 20:09:13 -04:00
auria.mg
19fab0a4c1 Fix clang warnings 2018-05-18 19:58:51 -04:00
Deve
f2325e9140 Grab mouse on linux when panning is enabled 2018-05-18 22:35:54 +02:00
Deve
ad9a314bcf Fixed android compilation 2018-05-17 23:35:05 +02:00
Alayan-stk-2
bac516aa40
Update comment 2018-05-17 17:45:49 +02:00
Alayan-stk-2
6d6520ab89
Make the formula different between normal and time-trial modes 2018-05-17 17:37:16 +02:00
Benau
fa61059ad2 Add double for xml node 2018-05-17 10:28:46 +08:00
Alayan-stk-2
9902e7c767
Use double for max_ranking too, remove first half base-points distribution (done elsewhere) 2018-05-17 03:16:12 +02:00
Benau
d2bf17e71a Show owner name as Official if official server hoster account is used 2018-05-16 16:07:08 +08:00
Alayan-stk-2
f5245a679e Fix #3236 (#3253)
* Don't generate IRC alerts

* Fix #3236

* Update .appveyor.yml
2018-05-15 19:16:56 -04:00
hiker
cdea16f81d Fixed kart id being received as unsigned int (needs to be signed since
the sign indicates the event type).
2018-05-16 08:55:18 +10:00
Alayan-stk-2
b026b24e4a
Fix/update ranking computation 2018-05-15 18:47:59 +02:00
Alayan-stk-2
8da8390773
Merge pull request #14 from supertuxkart/master
Update branch
2018-05-15 15:25:21 +02:00
Benau
d4b3f75b22 Add code for alayan 2018-05-15 16:08:07 +08:00
hiker
ad82dca6cc Created separate file for ItemEventInfo. 2018-05-15 18:05:46 +10:00
Benau
b8982200b6 Fix track objects in network 2018-05-15 15:23:39 +08:00