Commit Graph

15465 Commits

Author SHA1 Message Date
Benau
8a0cbea933 Merge remote-tracking branch 'origin/master' into battleAI 2015-12-05 16:27:06 +08:00
Benau
ed41b7c805 Proper fix for reverse and unstuck 2015-12-05 16:21:12 +08:00
deve
ea581e0909 Try to support more mingw versions for wiiuse build.
This function has been already added to the header in mingw-w64 5.1 and newer.
2015-12-04 10:47:56 +01:00
Benau
9ad438b945 Try to fix too fast reverse and unstuck issue 2015-12-04 16:32:33 +08: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
92248399d0 Update project version :P 2015-12-03 14:48:03 +01:00
deve
cbc8d84fc4 Allow to enable wiiuse build for mingw in cmake.
Still disabled by default because it only works with mingw-w64. It won't work with other compiler versions due to some inconsistencies in header files. But at least it's possible now to enable it without modifying cmake file.
2015-12-03 14:47:08 +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
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
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
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
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
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
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
Deve
b78d4a0c3d Merge pull request #2372 from rugk/patch-1
Readme and Install.md improvments
2015-11-18 09:32:00 +01:00
Deve
a69eb99094 Merge pull request #2380 from nado/clang-fix
Fixes few warnings at compilation
2015-11-17 15:23:55 +01: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
auriamg
794908681d Merge pull request #2379 from Benau/skin_color_font
Color the text base on current skin
2015-11-15 18:13:25 -05:00
Benau
f4b723de82 Merge remote-tracking branch 'origin/battleAI' into battleAI 2015-11-15 12:29:01 +08:00
Benau
f1982c1bee Fix coloring 2015-11-15 01:24:06 +08:00
Benau
0deb065fe9 Two new skin (Ruby and Forest)
Also fix some alignment issue when the multiplayer selection boxes.
2015-11-14 16:28:37 +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
auriamg
bc712b5a44 Merge pull request #2378 from Benau/custom_font
Allow configurable fonts file names in stk-config
2015-11-12 19:59:26 -05:00
Benau
7cf4d662ee Allow configurable fonts file names in stk-config 2015-11-13 02:25:52 +08: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
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
4ea8bfd4ab Fixed typo. 2015-11-09 09:17:45 +11:00
hiker
a7547dff23 Try to fix compilation by reducing number of threads. 2015-11-09 09:14:44 +11:00
hiker
a6ea57d09a Used leyyins code to dynamically adjust number of threads. 2015-11-09 09:07:12 +11:00
hiker
ce219f2fd4 Merge branch 'master' of github.com:supertuxkart/stk-code 2015-11-09 09:04:43 +11:00
hiker
fbff4db589 Increase number of threads to 32. 2015-11-09 09:03:59 +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
auriamg
32e54d4f87 Merge pull request #2374 from Benau/ftcleanup#2
More clean up freetype-related code
2015-11-07 20:21:55 -05:00