Commit Graph

9072 Commits

Author SHA1 Message Date
hilnius
29697049ed network rework
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13053 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-01 22:46:23 +00:00
hilnius
613e97d0d6 breaking everything that was working. cannot even start a race now, need to rewrite the network manager and part of the race startup sequence
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-29 22:57:18 +00:00
hilnius
36673a2112 doxygen commenting a lot of code, improved thread-safety, improved coding standards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 00:05:17 +00:00
hilnius
f52469159b the way events pass trough the protocol system is now clean.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-23 00:53:26 +00:00
hilnius
cd19ef2d78 cleaning the way events come out from Enet, improving peer management (removing double peers)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-22 23:45:46 +00:00
hilnius
bd1afde029 added thread-safety, starting to implement a clean way to transmit packets from lower to upper layers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-21 00:26:19 +00:00
hilnius
97394b5ac9 a client can connect trough a host behind a NAT (tested
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-20 13:04:32 +00:00
hilnius
1b12026b19 Working mutliple-user connection trough enet, using STUN protocol. Needs to be tested on WAN to be sure it works.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 16:07:51 +00:00
hilnius
3d62fd1214 creating inherited singletons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12887 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 14:01:25 +00:00
hilnius
6b1e1b94a5 adding the network singleton interface, cleaning the protocols code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 11:45:32 +00:00
hilnius
714a85b507 Adding protocols to publish/hide information in the SQL database. The protocol that allows a client to identify himself, retreive a server public IP:port and connect to it is finished. Remains the server-protocol for it. Protocol management improved (protocols can be paused/unpaused).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 22:25:03 +00:00
hilnius
918af26024 cleaning http function
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 15:31:04 +00:00
hilnius
f63ab88f88 removing unnecessary files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 00:42:54 +00:00
hilnius
57b7534a6d basic protocol intrication, sending address info online, a client can set his public transport adress (ip:port) in a sql database
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-18 00:42:11 +00:00
hilnius
9e990e76e0 untrack files that shouldn't be tracked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-17 20:53:14 +00:00
hilnius
1cac3c7815 improving socket management
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-17 18:06:02 +00:00
hilnius
27a7f1da6b stun working
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-17 12:48:44 +00:00
hilnius
2469902478 stun update
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-17 12:46:42 +00:00
hilnius
d933eae338 base commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-16 23:54:02 +00:00
hilnius
7eed6c59e8 Setting up the branch for hilnius.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-04 00:19:23 +00:00
hikerstk
c532c9d175 Updated VS2010 project file, thanks to yasin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-03 21:53:46 +00:00
auria
95c099137b Remove accidentally introduced tabs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-02 23:53:10 +00:00
auria
d052ff36d1 Apply patch by xenux to correctly place focus when navigating addons screen with gamepad. Thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-02 23:51:12 +00:00
curaga
5b330aa0e4 On modern hw, you do want to always clear at the start of frame.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-02 10:34:32 +00:00
curaga
97b5069c39 Bind wireframe mode to the home key
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12841 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-02 10:24:41 +00:00
auria
2c39edea92 Add reset planes to green valley
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-02 01:34:49 +00:00
auria
2503f913a4 Extend greek font, fixes #829
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 19:52:29 +00:00
auria
fc2b2d0fda Extend greek font, fixes #829
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 19:51:05 +00:00
curaga
304dceae8c Add a common GLSL check.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 11:01:59 +00:00
hikerstk
5513ca08cb Applied mpujari80's patch to fix vs12 compilation - thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 10:43:34 +00:00
curaga
769e093ae2 Fix linux build from 12832
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 10:31:27 +00:00
curaga
3e1843b129 Using namespace irr, so use it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 10:11:43 +00:00
hikerstk
9787cb84cc Reverted r12826, since I prefer to have the core:: etc in place (to help
new developers in identifying where things are coming from). So instead
I removed the namespace statement, and fixed up all other references.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 10:04:48 +00:00
auria
4d1cc7a770 Add asserts to try catching bug #923
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-01 00:25:12 +00:00
auria
8745306354 Try to fix bug #972
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 23:48:51 +00:00
curaga
c80a679f37 Make sure exit() is available on newer gccs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12829 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:17:08 +00:00
curaga
ed9b4db88d Remove a no-op test
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12828 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:15:50 +00:00
curaga
a6a2ec66d4 Make fatal fatal
Removes a lot of duplicated code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:09:39 +00:00
curaga
c06125b392 Clean irr_driver up - the namespaces are being used for a reason ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:08:30 +00:00
curaga
ef9a1e78eb Only the GL driver is supported.
DX hasn't worked in months, SW are not worth their LOC, and NULL is pointless with 
--no-graphics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:07:43 +00:00
hikerstk
366f8cd6b1 Cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 06:26:47 +00:00
auria
a38a2e7c17 Resize a few leftover 1x1 images
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 00:07:59 +00:00
auria
72a5db6c26 Update track to latest materials XML format
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 23:40:51 +00:00
hikerstk
c42804dae5 Renamed parameter va_list, since va_list is reserved (which caused
compilation errors on VS).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 23:18:01 +00:00
curaga
57c3cbae3e Space cleanup pass on the headers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:47:39 +00:00
curaga
c5bb98d1e4 Remove couple unused variables, mark some per-file vars static
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:28:48 +00:00
curaga
75e1c8bc69 Add an offline syntax checker for shaders
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:21:12 +00:00
curaga
be1c3de2fb Define va_copy on windows. Untested, no windows here.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 15:18:50 +00:00
curaga
8c44958e5a Re-try the logging fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 15:05:29 +00:00
curaga
5256d568e3 Fix a possible crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 13:27:02 +00:00