Commit Graph

9580 Commits

Author SHA1 Message Date
hilnius
3bb6122f8e modifying the protocol system to have bon synchronous and asynchronous updates (required by gui and graphics to avoid crashes because of threads)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 14:31:14 +00:00
hilnius
72dd260bd1 fix on the countdown
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 13:53:47 +00:00
hilnius
4134f65dd7 a player can now start an online game. synchronization should work now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 13:50:39 +00:00
hilnius
13aa1d52c8 fix a blocking infinite while
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 13:44:17 +00:00
curaga
9dc33d1d90 Move the no-trust fps counter check lower, so it only flickers once, not twice
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 13:17:05 +00:00
curaga
403e82c97b Fix compiler warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 13:15:47 +00:00
hilnius
e95bafca44 adding even more log
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 12:56:19 +00:00
hilnius
12107053c0 adding log to better understand what is happening
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 12:51:02 +00:00
hilnius
cebbfdeb06 fix a bug that was making the game freeze (one protocol asked to start a protocol, and before the start of this protocol, was making infinite loop depending on the latter's existence)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 12:43:39 +00:00
hilnius
d3ac41f984 there was a problem in the server code : main loop never starting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 12:31:18 +00:00
hilnius
b36e089ff9 can now start a game after a server requested it. synchronization does not work for now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 12:27:32 +00:00
hilnius
ab4a1995c0 online race startup sequence - adding players config in the state_manager
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 11:38:47 +00:00
hilnius
853d244882 was a problem with starting protocol in setup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 11:15:15 +00:00
hilnius
4bde8a9337 adding a countdown feature to the synchronization protocol
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 11:10:51 +00:00
unitraxx
ecaa073eb5 Made the few buttons there are in lobby, do something.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 01:32:09 +00:00
unitraxx
c2c314a2c2 Fixed issue that requesting to join a server signed you out.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 01:20:06 +00:00
unitraxx
395b000bee Removed the addons_screen references to the tab_stop method which were left behind
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 00:37:05 +00:00
unitraxx
ebc1af345d Remove the tab hack completely
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 00:32:19 +00:00
unitraxx
67854a7efd You need to sign in now, for the features where it's needed. Also made a temporary implementation for quick play.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 00:25:56 +00:00
hilnius
db376f9745 a bit more log
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 22:54:45 +00:00
hilnius
6fdf7cb55e some things forgot in last commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 22:37:22 +00:00
unitraxx
567f6302ed Removed the old tab hack from scalable font. (Could someone check if done correctly?) and made it possible for table entries to have both left-aligned and centered content.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 22:24:06 +00:00
hikerstk
36653fada6 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 22:09:06 +00:00
hikerstk
f16244e3d0 Added support for physics-only meshes (i.e. invisible walls), see #1014.
Some changes to the exporter still required.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 21:57:34 +00:00
unitraxx
a0b20697d2 Removed space for icon, if there is none.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 21:52:51 +00:00
unitraxx
bc236c0f99 adjusted addons_screen and server_selection to use the new capabilities of the list widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 21:47:48 +00:00
unitraxx
de6cc44b2a List widget now supports multiple columns, each cell can have an icon and or text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 21:33:33 +00:00
hilnius
c50a24a25d adding a protocol to start a game, added features in the synchronization protocol
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 21:19:22 +00:00
unitraxx
2d0d407d7f Small bugfixes in the CGUIListBox
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 01:01:56 +00:00
unitraxx
b44f547057 Copied the CGUIListBox widget to make an STK version.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 00:34:47 +00:00
hilnius
75df500884 synchronization protocol works. the command 'synchronize' in the command line after being connected (both on client and serv) will start the protocol on both and calculate the average ping
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 00:00:20 +00:00
hilnius
8a2f6a9888 debug info in synchronization protocol
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 23:35:34 +00:00
hilnius
e002d4f1bd correcting the synchronization protocol
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 23:31:56 +00:00
hilnius
2f08ee8902 had forgot to add new files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 23:16:40 +00:00
hilnius
c1534075d3 adding a protocol to synchronize client/servers and a little bit of code to test it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13208 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 23:12:53 +00:00
unitraxx
ec34fcafa7 Stay signed in works now (with checkbox in sign in dialog.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 22:25:17 +00:00
unitraxx
3463a01e85 Remember session (without GUI) and starting to integrate online-multiplayer and addons networking code. (Limited to config file for now.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 15:59:27 +00:00
unitraxx
200127102d Big commit related to server joining.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-12 23:12:31 +00:00
hilnius
ebc4c60e2c reducing thread consumption. One thread is still updated as often as possible, but i don't know which.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-12 15:03:32 +00:00
hilnius
12075a19b7 fixing some memory leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-12 14:08:33 +00:00
unitraxx
8dd9314eaf server fetching and selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13193 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-12 01:07:26 +00:00
auria
00b1c6c497 Update physicsonly setting in hacienda
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13190 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 23:25:03 +00:00
hikerstk
706c231691 Avoid crash in case of ENENT_..._NONE messages (which typically
don't have packet data).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13189 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 22:41:56 +00:00
hilnius
d0059d32d4 had forgot one line
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 22:09:33 +00:00
hilnius
09bccbe3e2 may fix things on hiker's windows :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 22:07:38 +00:00
hilnius
d08239064b had forgot a line
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 15:56:10 +00:00
hilnius
d5ab7a666d connection/disconnection of peers is now handled by both server and clients, when players select karts, other player are notified. the storage of players on a server is fine.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 15:35:31 +00:00
hilnius
44d18fff28 adding the formerly connected peer in welcome messages for newly connected peers so that they know who is already in the game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 14:05:18 +00:00
hilnius
f03e366809 adding debug logging to see why when two players are connected, only one gets all the kart update messages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13183 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 13:39:36 +00:00
hilnius
4334472a3a event more pointers, now everything works
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13182 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-11 13:30:16 +00:00