Benau
9ad438b945
Try to fix too fast reverse and unstuck issue
2015-12-04 16:32:33 +08:00
hiker
9153439f68
Cosmetic changes only.
2015-12-04 18:07:43 +11:00
hiker
35d1059a39
Cosmetic changes only (coding style, comments).
2015-12-04 17:52:21 +11:00
hiker
97756dd337
Only show kart selection widgets for local (and this means atm only
...
one) player.
2015-12-04 08:12:29 +11:00
hiker
637202077f
Automatically start game when all track votes have been received.
2015-12-04 08:00:51 +11:00
Deve
8980a32c20
Added profiler marker to keep consistency with other effects
2015-12-03 19:31:13 +01:00
Deve
9b3908cc62
Some lightning improvements:
...
- move OpenGL-related code to graphics directory, as it should be
- solve issue with applying effect multiple times in multiplayer mode
- remove old already disabled opengl code
2015-12-03 19:25:40 +01:00
deve
94d5c19b7f
Fixed compiler warnings.
...
The winsock2.h header should be always included before windows.h header (or we should define WIN32_LEAN_AND_MEAN). It's because windows.h header includes also winsock.h header and there is possible conflict between winsock and winsock2.
I didn't test in on Visual Studio yet. I hope there is no WIN32_LEAN_AND_MEAN redefinition errors...
2015-12-03 14:59:54 +01:00
deve
0bd15acb93
Fixed compiler warning.
...
gcc complains that std::auto_ptr is deprecated.
2015-12-03 14:51:26 +01:00
deve
dbdf9db377
Fixed cygwin compilation.
...
Unfortunately it doesn't support std::to_string function, even on relatively new gcc (tested with version 4.9.2).
2015-12-03 14:38:57 +01:00
Benau
ab428dc8cf
Different AI intelligence per difficulties
2015-12-03 16:13:39 +08:00
hiker
af3f72ae84
Automatically trigger computing the track data (based on votes)
...
once the game starts.
2015-12-03 17:56:16 +11:00
hiker
26155933f0
Set the local master on the server.
2015-12-03 17:54:24 +11:00
Flakebi
c5277edc54
Change suspension-travel that was changed in master meanwhile
2015-12-03 02:15:58 +01:00
hiker
0983038d5c
Fixed size of token.
2015-12-03 09:10:07 +11:00
hiker
9765c56a44
Enable voting for tracks.
2015-12-03 08:24:17 +11:00
hiker
4286f47a31
Fixed incorrect indices.
2015-12-03 08:23:52 +11:00
hiker
ee7097af35
Added some default settings for race mode and send them to the server.
...
Changed major and minor mode in protocols from 1-byte to int, since 1-byte
is too small to store the actual values.
2015-12-03 07:53:56 +11:00
Flakebi
dbecbc3840
Assign KartProperties to a variable instead of fetching it every time
2015-12-02 19:40:28 +01:00
Benau
b5d4610f45
Better navmesh handling
2015-12-02 10:41:32 +08:00
Benau
084a4ee844
Fix crashes when no navmesh
...
User should have no way to start with ai in battle mode,
when the arena has no navmesh.
Unless artist debug mode or more than 1 human players.
2015-12-02 10:08:03 +08:00
hiker
03d857db3e
Removed unnecessary code.
2015-12-02 08:17:03 +11:00
hiker
0f52f0bdd9
Fixed incorrect message id in kart selection update message.
2015-12-02 08:16:22 +11:00
hiker
dfa78eaef2
Fixed random token computation to use indeed all 32 bits.
2015-12-02 07:45:05 +11:00
hiker
6d272d8a5a
Fixed crash when quicly exiting stk after refreshing the server list.
2015-12-01 23:25:04 +11:00
hiker
109288e0f5
Removed unused code.
2015-12-01 18:10:06 +11:00
hiker
76ddaeaef7
Force refresh of server list when exiting from the server info screen.
2015-12-01 17:47:03 +11:00
hiker
642c402dcf
Fixed unconnecting from a server.
2015-12-01 17:43:43 +11:00
Benau
c910c19827
Backwards firing and hard u-turn for backward node
...
TODO:
correct unstuck and perfect angle fire?
2015-12-01 09:27:49 +08:00
hiker
14390c2c5b
Cosmetic changes.
2015-12-01 08:28:53 +11:00
hiker
c9a23bcbb7
Fixed disconnecting of a client.
2015-12-01 08:19:48 +11:00
hiker
bcfec98fa2
Removed all references to OnlineProfile, which makes LAN and WAN
...
server behave idential (and it also fixed potential memory leaks).
2015-12-01 07:57:42 +11:00
Flakebi
12a1227f20
Merge branch 'upstream/master' into kart-properties
2015-11-29 22:21:08 +01:00
Flakebi
ba3bc326eb
Minor refinements
2015-11-29 22:21:03 +01:00
hiker
2e758a0641
Don't use #players as next player id - if a player gets disconnected,
...
the next player id would be duplicated.
2015-11-30 08:12:10 +11:00
Flakebi
aea68a2c14
Remove characteristics from kart
2015-11-29 04:08:12 +01:00
Flakebi
9fbe72b3c5
Move getter from characteristics to properties
2015-11-29 04:08:12 +01:00
hiker
18e5cd8d53
Enable refresh of server list after exiting a connection again. Also
...
removed deleting the joined server.
2015-11-28 12:45:03 +11:00
hiker
73e94e9824
Avoid race condition when a client exits in the lobby.
2015-11-28 12:33:01 +11:00
hiker
e2a6d1c33c
Avoid crash (index could be -1).
2015-11-28 12:32:00 +11:00
hiker
09a32c2132
Fix various crashes when a client exits.
2015-11-27 23:05:32 +11:00
hiker
8d843a7317
Show the connected players in the player list of the gui.
2015-11-27 23:05:05 +11:00
hiker
0076a041c9
Used new decode/encodeString functions in other places, made getString private.
2015-11-27 08:55:21 +11:00
hiker
b092b47a58
Send the player's online or local (if not online) name to the server
...
and all clients.
2015-11-27 08:24:02 +11:00
hiker
801b390860
Removed linux compiler warnings.
2015-11-26 09:16:27 +11:00
hiker
896d55816f
Removed linux compiler warnings.
2015-11-26 09:13:57 +11:00
hiker
5c0f71ad07
Fixed names utf8ToWide and wideToUtf8; added convenience functions
...
taking std:;string and core::stringw as parameter (removed .c_str()
in many function calls).
2015-11-26 08:56:03 +11:00
hiker
517b0dabf9
Merge branch 'refactor_networking' of https://github.com/supertuxkart/stk-code into refactor_networking
2015-11-26 08:48:05 +11:00
hiker
f81bd5d0c5
Fixed names utf8ToWide and wideToUtf8; added convenience functions
...
taking std:;string and core::stringw as parameter (removed .c_str()
in many function calls).
2015-11-26 08:47:02 +11:00
hiker
2f126ab226
Moved NetworkPlayerProfile into its own file, added getter and
...
setters for it.
2015-11-26 07:41:37 +11:00
Marianne Gagnon
8ca0fea6fa
Fix audio listener positionning code crash
2015-11-23 19:05:51 -05:00
Marianne Gagnon
c806c1de49
Clear status text in register screen, fixes #2361
2015-11-23 19:04:24 -05:00
hiker
927969e720
Added new server state for 'selecting karts'.
2015-11-24 07:55:58 +11:00
hiker
078de5fe93
Server-side authorisation now implemented if client is on
...
same IP address.
2015-11-24 07:53:51 +11:00
hiker
981a4ab234
Fix crash when disconnecting.
2015-11-23 17:22:12 +11:00
hiker
3e9e9349c0
Removed commented out code.
2015-11-23 17:21:51 +11:00
hiker
07876a0899
Fixed linux compilation
2015-11-23 11:40:33 +11:00
Flakebi
6e36c223b9
Hold one kart properties object per player
2015-11-23 01:19:00 +01:00
hiker
064414afa3
Added server-side test to see if client is authorised to send commands.
2015-11-23 08:26:18 +11:00
hiker
da2671c6ee
An 'authorised' client can now tell the server to select karts.
2015-11-23 08:08:23 +11:00
hiker
0f38d6fb8a
Don't add same peer twice (which causes a crash when the peer disconnects etc)
2015-11-23 08:03:15 +11:00
Deve
8a0927f574
Fixed minor inconsistency in video settings dialog.
...
Regression since 9b562d31f4
2015-11-22 15:33:46 +01:00
Benau
aa9220772f
Merge remote-tracking branch 'origin/master' into battleAI
2015-11-22 15:01:41 +08:00
Benau
e1f1461488
Fix some bugs and copyright year
2015-11-22 15:01:22 +08:00
Flakebi
79c962dd79
Remove skidding properties and use characteristics instead
2015-11-22 00:40:11 +01:00
Flakebi
2f1d08edbd
Add enabled property to skid characteristics
2015-11-21 23:27:00 +01:00
Flakebi
b4904b182f
Fix merge
2015-11-21 23:15:54 +01:00
Flakebi
ffa85d2206
Merge remote-tracking branch 'upstream/master' into kart-properties
2015-11-21 23:03:58 +01:00
Flakebi
4778460f6c
Apply script
2015-11-21 23:02:16 +01:00
Benau
62f5be0d9d
First playable version of battle AI
...
TODO:
backwards firing
better handling to obstacles
ai karts number selection
win/lose screen handling
Please use a better navmesh to test
2015-11-21 15:58:03 +08:00
hiker
f05b6f6dd7
Improved handling of cancelling server creation.
2015-11-21 12:21:50 +11:00
hiker
093283c5b0
Avoid crash if networking was selected, but not actually started.
2015-11-21 12:20:05 +11:00
hiker
1700395dc2
Fixed crash when no votes for a category have been received.
2015-11-21 12:01:45 +11:00
hiker
68bcd4bde3
Cosmetic changes only.
2015-11-21 11:49:15 +11:00
hiker
10bed9a20d
Used more names for protocol commands, and use switch instead of if's.
2015-11-21 10:39:56 +11:00
hiker
3ab66592cd
Only minor cosmetic changes.
2015-11-20 17:02:47 +11:00
hiker
7a2c7125e5
Used enums instead of numbers for lobby protocol subcommands.
2015-11-20 16:41:54 +11:00
hiker
73e14a964a
Cosmetic changes only.
2015-11-20 08:16:41 +11:00
hiker
c3e74d344f
Add warning message in case of an unknown command, and do not send
...
it to the servrer (which typically just confuses it).
2015-11-20 08:07:31 +11:00
hiker
683f0fdc07
Fixed incorrect index.
2015-11-19 14:21:56 +11:00
hiker
b55b91edf1
Use const & for std::string, cosmetic changes.
2015-11-19 14:20:10 +11:00
hiker
2b687e1051
Avoid crash when voting.
2015-11-19 14:19:01 +11:00
hiker
e7cc868c85
Removed uneccesary vector copy.
2015-11-19 14:18:34 +11:00
hiker
4813637a37
Cosmetic changes only.
2015-11-19 09:21:28 +11:00
hiker
5994123b98
Fixed crash.
2015-11-19 09:21:03 +11:00
hiker
ba4ccd5621
Added command line option to start a LAN server.
2015-11-18 17:24:56 +11:00
hiker
e6c2620c90
Print 'hide address' only in WAN mode; remove commented out code.
2015-11-18 13:44:25 +11:00
hiker
90b92419f3
Avoid crash in case that a player is not logged in online.
2015-11-18 08:15:22 +11:00
hiker
17f588bcf2
Fixed storing of EnetAddresses in TransportAddress.
2015-11-18 08:14:58 +11:00
Nado
d66a70b250
Fixing some -Wunused-variable
2015-11-17 11:42:28 +01:00
Nado
97de0cbc34
Fixing clang only warnings
2015-11-17 11:42:28 +01:00
Marianne Gagnon
708608177a
Fix audio listener positionning issue
2015-11-16 19:13:28 -05:00
hiker
29e0b50e14
Removed friend declaration; fixed crash caused by deleting the
...
ENetPeer when deleting an (STK) Event.
2015-11-17 08:11:07 +11:00
hiker
0ed22d0d6e
Fixed debug message.
2015-11-16 18:46:04 +11:00
hiker
980cdf835d
Avoid crash when clicking on (empty) list while server list is being refreshed.
2015-11-16 18:44:14 +11:00
hiker
785b9a9130
Don't try to hide address in LAN networking, other minor fixes.
2015-11-16 18:43:46 +11:00
Benau
f4b723de82
Merge remote-tracking branch 'origin/battleAI' into battleAI
2015-11-15 12:29:01 +08:00
Benau
2b0e3b8828
Reverse type and state
2015-11-14 10:38:14 +08:00
Benau
962fe919d2
Color the text (mainly border including title and billboard) base on current skin
2015-11-14 01:06:28 +08:00
hiker
4a3c4c552e
LAN clients now start to connect to the server.
2015-11-13 08:50:03 +11:00
Benau
7cf4d662ee
Allow configurable fonts file names in stk-config
2015-11-13 02:25:52 +08:00
hiker
af9018ea64
Moved Server and ServersManager into network directory.
2015-11-12 17:52:04 +11:00
hiker
6716dfce97
Removed unnecesary #include.
2015-11-12 12:04:36 +11:00
hiker
2e65b23539
Don't poll stk server if this is a LAN server.
2015-11-12 09:58:21 +11:00
hiker
5fc830825f
Refactoring: Created a separate NetworkConfiguration class which stores
...
all information to create the STKHost.
2015-11-12 09:53:12 +11:00
hiker
8b916a7565
Fixed sfx not playing at right location (e.g. bridge in Green Valley).
2015-11-11 23:14:00 +11:00
Marianne Gagnon
6afc34c06b
Try to fix audio potential issues
2015-11-10 21:31:38 -05:00
hiker
51411a796a
Minor refactoring of lan handling, added client's ip address and port
...
to the answer from the client (which can later be used when the
client requests a connection from a server).
2015-11-10 17:00:47 +11:00
Marianne Gagnon
bf14e49ea4
Create OpenAL sound sources asychronously
2015-11-09 19:22:06 -05:00
Marianne Gagnon
86d18c0c3e
Merge branch '2360_fix_attempt'
2015-11-09 18:15:02 -05:00
hiker
833c20ceff
Added comment.
2015-11-10 08:34:45 +11:00
hiker
8953547305
Store TransportAddress of server in servers data structure. Avoid
...
copying the currently connected server, instead avoid modifying the
server data structure while while a client is connected to a server.
2015-11-10 08:31:07 +11:00
hiker
3a9576f109
Removed unnecessary #include.
2015-11-10 08:11:03 +11:00
hiker
0074550f57
Fixed typo.
2015-11-10 08:09:05 +11:00
hiker
0a23198be1
Cosmetic changes only.
2015-11-10 08:08:41 +11:00
hiker
36ebe29649
Fixed typo.
2015-11-10 08:08:22 +11:00
hiker
cdbc5cf15d
One more linux compilation fix.
2015-11-09 21:51:05 +11:00
hiker
d4856f6d64
Added missing #include for memcpy.
2015-11-09 21:38:18 +11:00
hiker
453ce8cf60
Added LAN server discovery.
2015-11-09 20:51:00 +11:00
Marianne Gagnon
b1803b8dff
Apply fix by Benau
2015-11-07 21:48:12 -05:00
Marianne Gagnon
35316c447d
Merge remote-tracking branch 'Benau/ftcleanup#2'
2015-11-07 21:37:47 -05:00
Benau
09a6b9b502
Remove unneeded variable
2015-11-08 10:34:48 +08:00
Benau
cee7cf0b37
Implement better error detection
2015-11-08 10:24:31 +08:00
Benau
0b5a916980
Remove unused header
...
Also fix some spacing
2015-11-08 01:36:40 +08:00
Benau
09101e923c
More clean up freetype-related code
...
1. Remove useless get font properties class
2. Pre-set the face dpi
3. Make all freetype related code to have a better coding style
2015-11-07 16:24:31 +08:00
hiker
9d9b83059d
Fixed deadlock (when while handing a request another request was queued).
2015-11-07 00:19:16 +11:00
hiker
60f550e9d1
Fixed coding style, removed unnecessary #include in hpp file.
2015-11-06 16:50:58 +11:00
hiker
47a7bd1caf
Print correct protocol name in 'has been terminated" message.
2015-11-06 16:32:18 +11:00
hiker
00843b8685
Fixed typos.
2015-11-06 16:30:34 +11:00
hiker
541509f29a
Added new requestPause and requestUnpause commands for protocols,
...
minor code cleanups and improvements.
2015-11-06 16:11:12 +11:00
hiker
e14bc572b6
Fixed typo in comment (thanks to leyyin).
2015-11-05 23:35:37 +11:00
hiker
847a788a9c
Removed server creation request (which is now down automatically
...
from STKHost).
2015-11-05 23:34:27 +11:00
hiker
bec317b9ed
Added documentation to the table use and protocol between
...
game server/client and the stk server.
2015-11-05 08:03:06 +11:00
hiker
c99ad34cb0
Coding style changes.
2015-11-05 08:02:17 +11:00
hiker
73c59db858
Reverted to previous version of protocol (since it is not yet
...
supported by the server).
2015-11-05 08:01:37 +11:00
hiker
4fc46c510f
Fixed too early release of objects, and some state changes in finite state machine.
2015-11-05 08:00:45 +11:00
hiker
b7b37b9ec9
Updated documentation.
2015-11-05 07:59:28 +11:00
hiker
35793d99c8
Create an STKHost client instance if a connection to client is
...
requested. The rest of the protocol is handled from STKHost.
2015-11-05 07:57:49 +11:00
hiker
f2aa1ddea6
Code cleanup.
2015-11-05 07:55:59 +11:00
hiker
bdf34edc00
Removed --client command line option (since this command needs a
...
server id to work).
2015-11-05 07:54:58 +11:00
Elderme
8d91ab5105
merge with master
2015-11-04 21:24:25 +01:00
Marianne Gagnon
78fd0e373f
#2360 fix attempt
2015-11-03 19:15:55 -05:00
Deve
795f3148dc
Revert "Added default precision qualifier in fragment shaders"
...
This reverts commit c23da9e855
.
2015-11-02 18:20:07 +01:00
Elderme
b70fa22d23
Define default precision in fragment shaders after #extension
2015-11-02 18:14:01 +01:00
hiker
dc80fb1c11
Updated docs.
2015-11-02 16:24:05 +11:00
hiker
eab07b31dd
Hide RefreshRequest class.
2015-11-02 16:14:38 +11:00
auriamg
08e3a9ea13
Merge pull request #2367 from CruzR/memory_leaks
...
Fix a couple of memory leaks.
2015-11-01 20:15:16 -05:00
auriamg
9d456c5459
Merge pull request #2365 from Elderme/shader_precision
...
Add default precision qualifier in fragment shaders
2015-11-01 20:02:18 -05:00
Thomas Glamsch
a5a9b9f6c1
Fix a memory leak in PhysicalObject::init().
2015-11-02 01:43:54 +01:00
hiker
6946306c4c
Fixed memory leak (thanks to CruzR).
2015-11-02 10:55:17 +11:00
hiker
7c51be7724
Removed need for m_fake_refrehs, some coding style improvements.
2015-11-02 09:16:39 +11:00
hiker
c0817d29d3
Minor coding style update.
2015-11-02 09:16:09 +11:00
hiker
d7d2115abd
Removed setupClient (which is now done in the constructor).
2015-11-02 09:14:35 +11:00
hiker
0b62d2f82b
Created two different constructors for STKHost - one for server, one for client.
2015-11-02 08:11:51 +11:00
hiker
6add49b065
Allow WAN server creation from GUI.
2015-11-01 23:42:24 +11:00
hiker
f05ee47e2b
Moved lan/wan setting to static functions in STKHost.
2015-11-01 22:16:57 +11:00
hiker
15e3ac021f
Fix ending STK when no STKHost exists.
2015-11-01 21:28:39 +11:00
hiker
0d84239cd2
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-11-01 19:46:00 +11:00
hiker
1334a467e3
Don't start a STKHost if neither client nor server is requested.
2015-11-01 19:45:28 +11:00
hiker
4aea491ed0
Merge remote-tracking branch 'origin/master' into refactor_networking
2015-10-31 11:41:43 +11:00
hiker
f2ae36fc65
Simplified ConnectToPeer (no more fsm).
2015-10-31 11:40:41 +11:00
auriamg
4762658a88
Merge pull request #2364 from Benau/freetype_cleanup
...
Clean up freetype code
2015-10-30 20:33:51 -04:00
Deve
8a288f05ff
Implement lightning effect using shaders
2015-10-31 01:00:48 +01:00
Elderme
c23da9e855
Added default precision qualifier in fragment shaders
2015-10-30 22:05:08 +01:00
Benau
b9b2b538fa
Clean up freetype code
...
1. Remove all ifdef of freetype
2. Require freetype in CMake
3. Clean up declaration
4. Add leak check
5. Make script language display better in title
2015-10-30 18:08:02 +08:00
hiker
8585afb713
Minor code cleanup.
2015-10-30 17:00:57 +11:00
hiker
94bc18df52
Removed ShowPublicAddress protocol, instead submit blocking
...
request in ConnectToServer.
2015-10-30 16:45:43 +11:00
hiker
dd289dc1cd
Removed polling for GetPublicAddress with callback.
2015-10-29 18:58:18 +11:00
hiker
ef310a5666
Renamed types.hpp to transport_address.hpp.
2015-10-29 18:39:01 +11:00
hiker
83154ae3a7
Converted the CallbackObject to actually call a function. This
...
means that if protocol A starts protocol B and needs a result from B,
previously B would set a (potential private) variable in A. Now
B calls a callback in A, where the result can be set.
2015-10-29 18:27:55 +11:00
hiker
966d31dc45
Cosmetic changes, removed unused and unimplemented 'stop protocol' support.
2015-10-28 17:22:09 +11:00
hiker
cf9ce6674c
Removed unused class.
2015-10-28 17:08:01 +11:00
Marianne Gagnon
66909086fd
Scripting : allow smoothly animating lights
2015-10-27 19:08:12 -04:00
Marianne Gagnon
953c29089e
Scripting : start adding features to control light objects
2015-10-27 18:33:54 -04:00
hiker
5df6c225ef
Cosmetic changes only.
2015-10-28 08:57:05 +11:00
hiker
e919b97037
Removed unnecessary getProtocolState functions.
2015-10-28 08:24:05 +11:00
hiker
2909e42a25
Minor code cleanup for ConnectToPeer handling.
2015-10-28 08:21:35 +11:00
hiker
7e202d94a8
Removed hardcoded maximum number of players.
2015-10-28 08:03:05 +11:00
hiker
60bbfe3ab3
Remved StartServer protocol, and used executeNow() in ServerLobby instead.
2015-10-28 08:01:46 +11:00
hiker
e212276dd2
Move enet initialisation into STKHost.
2015-10-27 16:58:40 +11:00
hiker
10f8f6b3a5
Removed unnecessary function, added some docs.
2015-10-27 16:46:26 +11:00
hiker
f7f12d5431
Renmated ServerConsole to NetworkConsole.
2015-10-27 16:38:22 +11:00
hiker
d2e6a10026
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-10-27 15:00:13 +11:00
hiker
c5b8c3e3e9
Try to improve performance for sfx ( #2154 ).
2015-10-27 14:59:20 +11:00
hiker
c511fc48af
Added leak checking.
2015-10-27 08:44:28 +11:00
hiker
b47b8bd196
Removed empty file.
2015-10-27 08:25:52 +11:00
hiker
6297d8c65d
Removed NetworkManager and ClientNetworkManager.
2015-10-27 08:23:59 +11:00
Benau
2096532d0e
Make stk more-i18n friendly
...
Now supertuxkart can do:
Windows (fully test in win8 and win7 built with vs2015, mingw not tested):
Input characters using ime (CJK tested).
Fix crashes when try to paste unicode text into editbox in stk.
Linux:
Different keymap can be used in stk now, ie typing russian,hebrew (not bidi-aware) is now possible.
IME not supported.
Mac:
No work has been done, sorry mac fanboys/girls:( Though testing is welcome, esp when pasting words into stk.
Limitation:
No ime box is shown in fullscreen
(Windows)Only the used language in current setting of non-Unicode programs can be typed with its supported IME.
2015-10-27 02:34:46 +08:00
hiker
7d04cc78de
Fixed printing of type name.
2015-10-27 00:26:14 +11:00
hiker
90b8db9993
Start to remove ClientNetworkManager.
2015-10-27 00:23:20 +11:00
hiker
a58f408a99
Merge branch 'refactor_networking' of https://github.com/supertuxkart/stk-code into refactor_networking
2015-10-26 21:31:11 +11:00
hiker
1e9afd473d
Removed isClient/isServer from NetworkManager.
2015-10-26 21:30:41 +11:00
hiker
5564239773
Removed NetworkManager::run().
2015-10-26 18:33:23 +11:00
hiker
b788aa6e95
Removed NetworkManager::isConnectedTO
2015-10-26 18:31:32 +11:00
hiker
d45d5a1051
Fixed type name debug print.
2015-10-26 18:29:28 +11:00
hiker
334780b5d7
Moved sendPacket from NetworkManager to STKHost.
2015-10-26 18:26:53 +11:00
hiker
51d39879b4
Moved NetworkManager::connect and STKPeer::connextTo functions into STKHost.
2015-10-26 18:01:07 +11:00
hiker
0bd2b48ea0
Removed sendPacket function and destructor.
2015-10-26 17:55:19 +11:00
hiker
cf51d2f0e0
Added missing object deletions.
2015-10-26 17:54:19 +11:00
Marianne Gagnon
af68319da7
Add profiler marker to measure material handling in Kart::update
2015-10-25 21:22:45 -04:00
Marianne Gagnon
f9f9b660d3
Rename profiler marker to clarify what it measures
2015-10-25 21:21:05 -04:00
hiker
4c0a195fdd
Moved handling of peers from NetworkManager to STKHost.
2015-10-26 08:33:07 +11:00
hiker
c273e709eb
Fixed linux compilation.
2015-10-26 08:25:43 +11:00
hiker
f610573295
Removed unnecessary function.
2015-10-25 20:28:35 +11:00
hiker
85cca69113
Moved GameSetup handling from NetworkManager to STKHost.
2015-10-25 00:19:30 +11:00
hiker
34f0d1b349
Moved public address data from NetworkManager to STKHost.
2015-10-24 23:30:34 +11:00
hiker
350f434c37
Started to refactor network code.
2015-10-24 12:39:17 +11:00
hiker
b8cd9cfb81
Removed unused functions.
2015-10-22 23:41:49 +11:00
hiker
e6ae208b4f
Removed many unnecessary copies of NetworkString.
2015-10-22 21:43:06 +11:00
hiker
c59f958c2f
Removed unnecessary #include, and disabled copying of STKPeer.
2015-10-22 18:46:01 +11:00
hiker
a102d97e3a
Cosmetic changes, some minor refactoring.
2015-10-22 18:40:52 +11:00
hiker
1f4f2bce86
Coding style changes.
2015-10-22 16:03:11 +11:00
hiker
b8837d5d59
Coding style changes.
2015-10-22 14:54:12 +11:00
hiker
9b9fc2ee35
Fixed --no-graphics option.
2015-10-22 11:53:52 +11:00
hiker
4833659085
Added --stdout= command line option to change the name of
...
the stdout.log file.
2015-10-22 11:51:18 +11:00
hiker
65454db0ce
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-22 11:04:07 +11:00
hiker
6213959f31
Cosmetic/coding style changes.
2015-10-22 11:03:41 +11:00
Deve
8bfe048f0f
Remember race type in saved GP.
...
Continue standard race as follow the leader and vice versa doesn't have a sense.
2015-10-21 22:42:59 +02:00
Deve
4049722677
Don't crash if selection is larger than number of items in ribbon widget
2015-10-21 22:37:38 +02:00
hiker
25ca5646ff
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-22 00:03:11 +11:00
hiker
d6e7ddf000
Avoid copying STK Events for networking.
2015-10-22 00:02:40 +11:00
hiker
f297c92039
Removed more includes of event.hpp in hpp files.
2015-10-21 17:39:53 +11:00
hiker
841d9b248e
Removed some unnecessary #includes.
2015-10-21 17:31:33 +11:00
hiker
1a0fb9fa4c
Renamed notifyEvent to propagateEvent for the manager to avoid
...
'duplicated' name (notifyEvent also exists in each protocol).
2015-10-21 17:18:27 +11:00
hiker
cce4793fa3
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-21 08:43:32 +11:00
hiker
40629d9816
Changed Event's m_peer from STKPeer** to STKPeer *. Fixes some minor memory leaks.
2015-10-21 08:11:35 +11:00
hiker
814f248cbd
Fixed linux compilation.
2015-10-21 08:09:24 +11:00
hiker
9cdf7058a7
More coding style fixes.
2015-10-21 08:07:00 +11:00
hiker
94e87796f5
Coding style fixes.
2015-10-21 07:51:53 +11:00
Deve
054d9251bb
Don't sort karts after loading saved GP.
...
This causes issues in follow the leader races, because after sorting the leader is not leader anymore.
This sorting function is most probably not needed because the list is sorted in startNextRace function (where the leader is properly skipped).
2015-10-20 19:52:57 +02:00
hiker
54a0e50fe3
Try to fix linux compilation.
2015-10-21 00:18:51 +11:00
hiker
10c612a0f6
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-20 22:44:26 +11:00
hiker
0dfa05227e
Cosmetic changes mostly, removed unused functions.
2015-10-20 22:42:57 +11:00
Marianne Gagnon
cc7f7b9b4c
Use SigmarOne font for digits
2015-10-19 21:02:25 -04:00
Marianne Gagnon
2dfc493adf
Minor FreeType cleanup
2015-10-19 19:25:51 -04:00
hiker
6fc4b9c19d
Prevent crash in case of issues creating the server.
2015-10-20 09:37:51 +11:00
hiker
46b4d275a9
Minor refactoring and coding style fixes.
2015-10-20 09:34:14 +11:00
hiker
d5a9364ece
Minor cosmetic changes.
2015-10-19 17:06:14 +11:00
hiker
3a544b69eb
Merge branch 'freetype_lazyloadchar' of github.com:supertuxkart/stk-code into freetype_lazyloadchar
2015-10-19 13:31:39 +11:00
hiker
52b5b7c8d1
Fixed crash caused by using a char pointer to a temporary string only (which can get
...
overwritten/freed before the pointer is used).
2015-10-19 13:29:52 +11:00
Marianne Gagnon
fcd402b538
Merge remote-tracking branch 'Benau/lazyloadchar' into freetype_lazyloadchar
2015-10-18 21:47:16 -04:00
Benau
109d6b91ce
Choose the correct title font smartly
2015-10-19 09:39:57 +08:00
Marianne Gagnon
06fb6d4eb2
Delete old fonts and related code
2015-10-18 20:15:05 -04:00
Marianne Gagnon
6d365032f3
A few minor bugfixes, a little cleanup in TTF font code. Add Ubuntu font for latin languages since it generally looks better than Freesans for a game
2015-10-18 20:07:11 -04:00
Marianne Gagnon
1a58df0696
Fix issue in language selection screen (improper utf-8 decoding)
2015-10-18 19:53:20 -04:00
hiker
8d0c22346d
Cosmetic changes only.
2015-10-19 08:15:43 +11:00
hiker
e535afc9d8
Cosmetic changes only.
2015-10-19 08:11:28 +11:00
hiker
faf697ef5d
Made access to the public address thread safe, and simplified setting
...
of the public address.
2015-10-19 08:02:44 +11:00
Benau
218f94d181
Silence warning
2015-10-18 10:10:03 +08:00
Marianne Gagnon
d0d6476feb
Merge remote-tracking branch 'Benau/lazyloadchar' into freetype_lazyloadchar
2015-10-17 21:41:56 -04:00