Marianne Gagnon
abb3465429
First attempt at animating the sun, doesn't work yet
2015-12-17 19:15:46 -05:00
Benau
12e4c76a6f
Add minimap for battle mode when it has a navigation mesh
...
TODO: update battle island arena to use only 4 vertices per poly
2015-12-15 02:32:01 +08:00
Deve
e6068923b4
Give more light in kart selection screen
2015-12-14 19:23:27 +01:00
Deve
153fabb502
Fixed a crash on start with legacy pipeline
2015-12-14 19:03:10 +01:00
Deve
bddfa43da4
One more tweak.
...
glGetFramebufferAttachmentParameteriv function is available in OpenGL 3.0 and newer.
2015-12-14 18:56:08 +01:00
deve
5f46863a19
Display pop-up message when fatal error occured on windows.
...
The reason to do it is that in release mode we don't receive any message in console. This causes that the game sometimes doesn't start and you have no idea why (for example missing supertuxkart.git file etc.).
2015-12-14 12:25:04 +01:00
deve
4531b15d5c
Check for sRGB workaround only if needed.
...
This fixes the crash for old OpenGL 2.1 drivers
2015-12-14 11:35:42 +01:00
deve
e77dbf3d9f
Totally remove wiiuse hack for mingw.
...
It breaks versions with proper header file due to redeclaration error.
You should simply use current 4.9 version or 5.0 and newer for wiimote support.
2015-12-14 10:18:08 +01:00
deve
0dbc3575a7
Fixed mingw compilation
2015-12-14 10:11:40 +01:00
Benau
9d1c9fac5a
Merge remote-tracking branch 'origin/master' into i18n
2015-12-14 03:00:07 +08:00
Benau
7fccddb734
Show "Fribidized" user name and enable input for it
2015-12-14 02:56:42 +08:00
Benau
f0abbad937
Fix plural forms
2015-12-14 02:56:16 +08:00
Deve
306ace7fd2
Keep consistency with log label in irr driver
2015-12-11 19:18:14 +01:00
Deve
7dd7f76e87
Check if we really need to re-create the device by checking if framebuffer is sRGB or not.
2015-12-11 19:18:14 +01:00
Deve
6d757326d2
Make sure that we start game with disabled GL_FRAMEBUFFER_SRGB
2015-12-11 19:18:14 +01:00
Deve
80d36208f1
Added ugly hack, which forces srgb-capable framebuffer creation for intel drivers on linux
2015-12-11 19:18:14 +01:00
Deve
b91bcaf554
Disabl sRGB framebuffer on irrlicht side to avoid modifying current user interface colors
2015-12-11 19:18:14 +01:00
Deve
0216fd9697
Request sRGB-capable visual during creating OpenGL context.
...
We need it for proper working. When it's not available, then function glEnable(GL_FRAMEBUFFER_SRGB) doesn't take any effect, and then displayed image is too dark.
It doesn't solve the issue that the screen is too dark for intel graphics cards on linux, because the driver ignores this request. But still, this is the proper way to do it and it may avoid similar issues in future.
Actually we should detect that the visual is not srgb-capable, and in this case maybe make some gamma correction or filter it on our side to get similar effect.
2015-12-11 19:18:14 +01:00
Benau
93b1b11b99
Merge remote-tracking branch 'origin/master' into i18n
2015-12-11 09:27:15 +08:00
Benau
8f6a529531
Complete fix to arena selection menu (handle random arenas)
2015-12-10 15:49:47 +08:00
Benau
cebefcf374
Fix some gui interface bugs:
...
1. Fix credits fading effect
2. Display have many no of (addons mostly) arenas are hidden due to
missing of navigation mesh
3. Fix wrong size of kart stats bar
2015-12-10 10:25:52 +08:00
Benau
ca6da8c537
Make AI smarter
...
1. Correct fire angle for bowling
2. When swapper is used, follow a closest kart instead.
2015-12-10 01:21:01 +08:00
Benau
11c4b41f13
More menu fix
2015-12-09 12:42:13 +08:00
Benau
aac5a368b8
Avoid invaild Ai karts number during switching game modes
2015-12-09 01:27:02 +08:00
Benau
140a229f71
Fix swatter issue
2015-12-08 16:47:42 +08:00
Benau
c789b1a8df
Fix compile error
2015-12-08 10:46:01 +08:00
Benau
2644b0458b
Merge remote-tracking branch 'origin/master' into battleAI
2015-12-08 10:09:35 +08:00
Marianne Gagnon
508dcdd7e8
Update credits
2015-12-07 19:07:10 -05:00
auriamg
f0fafc2651
Merge pull request #2245 from Flakebi/kart-properties
...
Kart properties
2015-12-07 18:44:14 -05:00
Benau
152dddc110
Fix potential hang after end race in temple arena
2015-12-08 00:44:28 +08:00
Benau
21c38a6c0b
Make swatter disappear after one hit in 3 strikes battle
2015-12-07 16:24:11 +08:00
Marianne Gagnon
ae916fced6
Add warning when animated texture not found
2015-12-06 20:14:55 -05:00
Benau
ba706f4476
Make swatter works better
2015-12-07 02:27:21 +08:00
Benau
b92395533e
Fix infinite loop
2015-12-06 14:43:07 +08:00
Benau
239412327a
Fix crashes when a kart has no wheels
2015-12-06 13:51:38 +08:00
Marianne Gagnon
cfc6ccf5ea
Add missing copyright
2015-12-05 21:47:50 -05:00
Marianne Gagnon
27290b4ffb
More work on scripting Property animator
2015-12-05 20:45:37 -05:00
Marianne Gagnon
840bc3df64
Make more properties animatable + fix build (oops, forgot files in previous commit)
2015-12-05 20:03:11 -05:00
Marianne Gagnon
2252495fdc
Scripting refactor : add new property animator helper, transfer light animations to this new animator class. Can be used in the future to animate more properties
2015-12-05 19:42:06 -05:00
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
Flakebi
f63c4af8be
Fix crash
2015-12-04 21:19:15 +01: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
Flakebi
c5277edc54
Change suspension-travel that was changed in master meanwhile
2015-12-03 02:15:58 +01:00
Flakebi
b3cb029087
Remove kart-type specific turn settings
2015-12-02 19:40:59 +01: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
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
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
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
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
Flakebi
6e36c223b9
Hold one kart properties object per player
2015-11-23 01:19:00 +01: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
Flakebi
4be02becac
Add skiding properties to characteristics
2015-11-21 23:02:02 +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
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
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
auriamg
c2d863888b
Merge pull request #2373 from Elderme/issue_2369
...
Fix issue 2369
2015-11-04 18:24:03 -05: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
auriamg
1cfbdd7c8c
Merge pull request #2371 from leyyin/clean-python
...
Make remove-whitespaces script more pythonic
2015-11-03 18:44:29 -05:00
rugk
d1e0564f8b
Merge pull request #4 from rugk/patch-2
...
Update INSTALL.md
2015-11-03 23:23:35 +01:00
rugk
b31464042d
Update INSTALL.md
...
* correct spaces
* proper names with a capital letter
* also use block code indentation for single-line commands to keep a consistent look (`this code style` should only be used for code/commands mentioned inside of other text)
2015-11-03 23:21:08 +01:00
rugk
ed0cf4ea34
Readme improvments
...
* added space afer `#` headline
* corrected file names of files I could find
* linked to files
However one thing I could not fix was this sentence:
"Information about the licenses for artwork are contained in
`data/licenses`."
The mentioned file or dir does not exist (anymore) and I could not find any other file, which would fit there.
2015-11-03 23:16:53 +01: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
Daniel Butum
faefad4fde
Make remove-whitespace script more pythonic
2015-11-02 16:35:59 +02:00
Daniel Butum
9df91ebd8a
Rename whitespace.py script to remove-whitespaces.py
2015-11-02 14:54:49 +02: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
0d84239cd2
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-11-01 19:46:00 +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
41bd914f7c
Fix typo
2015-10-31 00:29:53 +08: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
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
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
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
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
Marianne Gagnon
366a458a6b
Remove a few unused files, see #2066
2015-10-22 19:13:41 -04: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
Deve
4ac479cbf3
Merge pull request #2354 from hasufell/master
...
Fix compilation with system angelscript
2015-10-20 19:12:32 +02:00
hasufell
4e307522d1
Fix compilation with system angelscript
...
Upstream names the shared library angelscript_s.
In addition, add more common PATH_SUFFIXES.
2015-10-20 16:47:23 +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
9c3da791a4
Add Benau to credits, thank you :)
2015-10-19 20:56:38 -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
Deve
0d58774b54
Fixed mingw compilation
2015-10-19 20:50:39 +02: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
dd975de74f
Remove the font tool, which is no longer necessary
2015-10-18 20:10:31 -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
Marianne Gagnon
0571db6bef
Freetpye support on OSX
2015-10-18 19:44:28 -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
Benau
fad23b148b
Fix travis build
2015-10-18 09:40:37 +08:00
Marianne Gagnon
cee6d9d611
Merge branch 'master' into freetype_lazyloadchar
2015-10-17 21:34:19 -04:00
Marianne Gagnon
a84b04db66
Merge remote-tracking branch 'Benau/freetype' into freetype_lazyloadchar
2015-10-17 21:31:05 -04:00
Marianne Gagnon
f909619413
Add translation help comment, for issue #2335
2015-10-17 20:47:19 -04:00
Marianne Gagnon
fcfbd82a0e
Merge branch 'TranslatableDateTime'
2015-10-17 20:44:32 -04:00
Deve
e7e7e9e7d3
Make sure that we compile irrlicht only as static library.
...
Compiling as shared library can cause errors during linking because of GLContextDebugBit variable, which is defined in STK sources.
2015-10-17 16:02:35 +02:00
hiker
4fad614d55
Removed unnecessary copy constructor call, which makes the Synchronised
...
class work with NoCopy objects.
2015-10-17 09:33:05 +11:00
Ben
adbaa44864
Fix typo
2015-10-17 03:03:56 +08:00
Benau
d166aa620e
Add lazy load char function
...
Now less fonts are used to prevent mismatch, also include font license file
2015-10-17 02:57:27 +08:00
Benau
f557dce27e
Fix some bugs in title font and clean up more code
2015-10-17 01:20:50 +08:00
hiker
aeec90fa0d
Removed many unnecessary copies of TransportAddress.
2015-10-16 23:55:54 +11:00
Deve
9b5e4e9201
Merge pull request #2352 from leyyin/fix-compilation
...
Fix linux compilation
2015-10-16 10:43:10 +02:00
Daniel Butum
8cfa2f925a
Fix linux compilation
2015-10-16 11:22:20 +03:00
hiker
162bcced37
Make m_ip and m_port in TransportAddress private (adding setters and getters).
2015-10-16 16:59:42 +11:00
hiker
83811d2960
More compilation fixes :(
2015-10-16 10:37:20 +11:00
hiker
8183760cd9
Fix travis build.
2015-10-16 10:28:29 +11:00
hiker
aeb4ba63d0
Fixed #2350 .
2015-10-16 09:46:59 +11:00
hiker
517ba2c2df
Cosmetic changes, added some convenience functions.
2015-10-16 00:52:28 +11:00
hiker
9a55da5c2c
Reserve space for NetworkStrings (to reduce copying when reallocating).
2015-10-16 00:03:23 +11:00
hiker
e7860e1c14
Fixed compiler warnings.
2015-10-15 21:48:17 +11:00
hiker
a61506046b
Updated assets version.
2015-10-15 11:22:47 +11:00
Marianne Gagnon
0af8842767
Update translations
2015-10-14 19:52:36 -04:00
Ben
ee60eb9a68
Fix scoreboard display
2015-10-15 07:43:13 +08:00
samuncle
d80c7136e0
Add a better firework effect !
2015-10-14 02:34:23 +02:00
hiker
beca77e94f
Use NetworkString for stun response data.
2015-10-14 00:18:13 +11:00
hiker
192e2f99b5
Merge branch 'konstin-dev'
2015-10-13 22:09:11 +11:00
hiker
7356958774
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-13 21:12:22 +11:00
hiker
86574e4521
Added comments and further cosmetic changes. Removed some duplicated functions.
2015-10-13 20:53:53 +11:00
Benau
a756f9f90e
Better title font to all languages
...
I tested all language, all of the them only needs 2 glyph page
to load their needed chars.
2015-10-13 08:25:25 +08:00
Marianne Gagnon
a565c561e8
Scripting engine : add new getter Kart::getMaxSpeed
2015-10-12 19:59:17 -04:00
samuncle
4cf0b06d22
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-13 01:25:06 +02:00
samuncle
094d78e682
Minor change in gfx
2015-10-13 01:23:24 +02:00
Deve
407f29641c
Use ugly hack for compile bullet with 64-bit mingw until I will find better solution
2015-10-13 01:05:41 +02:00
Deve
375e7ea0ed
More fixes for 64-bit mingw
2015-10-13 01:05:41 +02:00
Deve
91db8620f8
Some work on support 64-bit windows compilation using mingw
2015-10-13 01:05:41 +02:00
hiker
3a023776fd
Minor style changes.
2015-10-13 09:19:40 +11:00
hiker
356588e09a
Merge branch 'dev' of https://github.com/konstin/stk-code into konstin-dev
2015-10-12 22:42:34 +11:00
hiker
45954e5881
Minor improvement.
2015-10-12 22:03:46 +11:00
hiker
c1d280eaa1
Cosmetic changes only.
2015-10-12 21:37:22 +11:00
Benau
786bc5d5b6
More detailed comments
2015-10-12 07:48:43 +08:00
Benau
f20158acd1
Merge remote-tracking branch 'mime/freetype_benau' into freetype
2015-10-12 07:38:25 +08:00
Benau
c7f20e549d
Revert widget changes
2015-10-12 07:33:09 +08:00
hiker
da73e7d9cf
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-12 10:07:04 +11:00
hiker
c0b7fec58a
Replaced another mutex with Sychronised.
2015-10-12 10:06:30 +11:00
hiker
47cb6ac2e3
Used Synchronised instead of pthread mutex.
2015-10-12 08:18:15 +11:00
hiker
124420b90a
Cosmetic changes only.
2015-10-12 08:02:20 +11:00
Benau
23e1f8fb3e
Default text wrapping in label widget
...
It should make no more text rendered out of area as stated in forum.
2015-10-12 01:48:13 +08:00
Benau
73ae81554d
Better size handling to specific languages
2015-10-12 01:14:47 +08:00
hiker
4b0d4cb853
Fixed typo in comment.
2015-10-11 21:23:39 +11:00
hiker
525cf6df62
Fixed incorrect name of stkgui file.
2015-10-11 21:22:58 +11:00
Marianne Gagnon
fbf158eaa4
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-10 20:52:18 -04:00
Marianne Gagnon
d63837260f
Remove seemingly uneeded rotation, see #2345 . Not sure I understand what is going on
2015-10-10 20:52:12 -04:00
Deve
debb238b35
Use '3' graphical level when STK is run first time instead of custom settings.
...
Degraded_IBL parameter was probably accidentally set to false because option in settings means "enable IBL if true", but variable means "disable IBL if true".
2015-10-10 16:04:33 +02:00
Benau
9fe84d3dd4
More code clean up with doxygen for freetype related file
2015-10-10 16:20:33 +08:00
hiker
f0c04a8bef
Started to support LAN servers in the GUI (wip).
2015-10-10 12:13:32 +11:00
Marianne Gagnon
e4095c03a3
Fix material manager issue
2015-10-09 19:46:53 -04:00
hiker
612ec37dbd
Updated credits.
2015-10-10 10:36:50 +11:00
Benau
a7b2c8838f
Try to fix the edged font when changing resolution
...
I add a debug function to write the glyph page png(s) too.
2015-10-10 01:59:29 +08:00
hiker
73cf58d13b
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-10 00:19:44 +11:00
Deve
500cbe2ebf
Allow to use 1280x720 resolution.
...
This is quite popular resolution and it is a kind of standard. Even the most of new monitors have it because it has the same porportion as 1920x1080. And it looks much better than 1024x768 expanded to 16:9 proportionos ;) I also didn't notice any issues in gui during using it.
2015-10-09 13:47:19 +02:00
hiker
a66af6dc91
Cosmetic changes for coding style.
2015-10-09 16:47:18 +11:00
hiker
42ea2e5819
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-09 12:53:27 +11:00
hiker
4d181d3358
Make icons visible if login status is changed.
2015-10-09 12:52:49 +11:00
Marianne Gagnon
e1a6478038
Forgotten file in previous commit
2015-10-08 21:35:18 -04:00
Marianne Gagnon
7c5d6711b9
Introduce new mechanic to create keyboard shortcuts for debug functions, and start using it for FPS camera. Fixes #2341
2015-10-08 20:06:42 -04:00
hiker
92f18d03dc
Removed unnecessary variable.
2015-10-09 09:43:50 +11:00
hiker
d687d17bfe
Added (atm not working) LAN server menu entries.
2015-10-09 09:36:08 +11:00
Benau
486495d976
More code clean up
...
Now all freetype related file are written in c++ class, which enable
better coding style with current stk
Windows build tested, the edge showing issue doesn't happen on Windows btw
Maybe driver problems?
2015-10-09 01:59:22 +08:00
Benau
ebeca35460
First version of glyph page loading supporting for freetype stk
...
Performance should be good, it cleans some unused code too.
Windows build not tested.
2015-10-08 16:41:31 +08:00
hiker
917905c779
Removed unused functions.
2015-10-08 16:28:23 +11:00
hiker
00e7c35484
Match one more .stkgui and .cpp file name.
2015-10-07 16:37:42 +11:00
hiker
d391727879
Match more .stkgui and .cpp file names.
2015-10-07 16:33:01 +11:00
hiker
a49fdca521
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-10-07 13:16:02 +11:00
hiker
3aadc019a3
Made more .stkgui name correspond to the c++ file name.
2015-10-07 12:33:36 +11:00
hiker
14e84ed96b
Minor style changes.
2015-10-07 08:22:02 +11:00
hiker
ccf8fd4e68
Renamed stkgui so that .cpp and .stkgui file names are identical.
2015-10-07 08:11:57 +11:00
Deve
2a12fa51ed
Merge pull request #2337 from Elderme/fix_2328
...
Fix global illumination bug with intel driver #2328
2015-10-06 12:18:57 +02:00
Benau
1e7e895d7f
Fix build and code clean up
...
Now billboard text should have a better alignment
2015-10-06 16:14:32 +08:00
Marianne Gagnon
ca107bf159
Translatable DateTime (see #2335 )
2015-10-05 19:36:39 -04:00
Marianne Gagnon
d47faaaa89
Fix billboard text
2015-10-05 19:22:08 -04:00
Elderme
0fc3d3336e
removed useless varying in rhpassthrough.geom shader
2015-10-05 21:22:22 +02:00
Deve
6318e8c8f8
Fixed compiler warnings
2015-10-04 16:54:14 +02:00
Benau
3a5ec83ae9
Basic render of text using freetype
...
This is a testing version of stk using freetype
It enable better arabic font display with less blurred glyph to all fonts thanks to hinting provide by freetype.
TODO: billboard text
2015-10-04 11:59:44 +08:00
Deve
ec33e92ad0
Forgot about sun
2015-10-03 21:12:41 +02:00
Deve
bac60ff126
Fixed crash on exit race with OpenGL 2.1
2015-10-03 21:06:32 +02:00
Flakebi
abc2ae54ea
Use correct cached characteristics
2015-10-03 20:14:39 +02:00
Flakebi
37ca28e868
Use cached characteristics
2015-10-03 18:15:29 +02:00
Flakebi
a789f346ad
Add comments
2015-10-03 17:45:25 +02:00
Flakebi
cb4dd91e08
Apply script
2015-10-03 17:23:40 +02:00
Flakebi
4a9bc60e93
Try to follow coding style guidelines more
2015-10-03 17:23:40 +02:00
Deve
895579cba9
Fixed starting a race on OpenGL 2.1
2015-10-03 17:02:49 +02:00
Deve
e15cd49cae
Make changing to fullscreen on linux safer.
...
Now we are waiting until window state is already changed to fullscreen. We are getting real window size at the end of creating window function and previously it was sometimes reporting size of the window in windowed mode, which could causing issues in gui. Previously this was workarounded by forcing minimal window size to be at least in screen resolution, but window managers don't like to have non-resizeable fullscreen windows. Now this workaround is not needed anymore.
2015-10-03 16:43:22 +02:00
Flakebi
5e6e85ab79
Merge branch master into kart-properties
2015-10-03 15:20:06 +02:00
Marianne Gagnon
9e6cf8ee91
Fix buggy RTL detection, see #2320
2015-10-01 19:55:41 -04:00
samuncle
71069752ba
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-09-29 20:09:55 +02:00
samuncle
26298e9e1a
Add several new particle effect and correct the bug to enable emit map & alpha testing
2015-09-29 20:08:56 +02:00
hiker
259be4c3fe
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-09-29 09:27:30 +10:00
Joerg Henrichs
4791731946
Moved update_po_authors to data/po so that we don't forget it.
2015-09-29 08:45:50 +10:00
hiker
8e3b8742df
Used smaller picture for installer (the previous one was never actually used).
2015-09-29 08:01:57 +10:00
hiker
449e754849
Fixed #2327 .
2015-09-29 07:58:24 +10:00
Joerg Henrichs
898e4c3fc7
Updated asset revision number used for the 0.9 and 0.9.1-rc1 releases.
2015-09-28 11:52:43 +10:00
hiker
344912ac2a
Updated Asian fonts.
2015-09-28 10:14:20 +10:00
hiker
63967b8a21
Fixed typo in credits.
2015-09-28 10:00:02 +10:00
Marianne Gagnon
31875565bb
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-09-27 19:41:30 -04:00
Marianne Gagnon
27be1b9013
update translations
2015-09-27 19:40:16 -04:00
hiker
3c35c15581
Updatex changelog.
2015-09-28 09:35:47 +10:00
hiker
8d45d689b7
Updated donations.
2015-09-28 09:21:30 +10:00
hiker
0e90042a0d
Fixed incorrect handling of 0x1a character in credit files
...
(which can happen in unicode, previously stk would stop
reading files after 0x1a).
2015-09-28 09:12:45 +10:00
hiker
f543ba4f7b
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-09-28 09:11:20 +10:00
Deve
11f6084fc5
Fixed crash on exit and changing resolution with old opengl.
...
Regression introduced in commit 93f24f2a74 .
Playing the real game is still not working.
2015-09-27 14:18:09 +02:00
hiker
cfbd960129
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-09-27 11:18:10 +10:00
Deve
f351c359fd
Create angelscript library in build directory instead of lib directory.
...
This solves issues with multiple build directories (every one should have its own angelscript lib). It was causing conflicts eg. 32-bit library with 64-bit STK.
Ideally it should be commited upstream to avoid this problem after updating library.
2015-09-26 23:02:18 +02:00
Deve
07b0ab0d78
Fixed disabling "remember window pos" button when fullscreen is enabled.
...
Regression since commit 9b562d31f4
2015-09-26 20:40:10 +02:00
Deve
35fa7fd272
Fixed a strange bug during changing window to fullscreen under Gnome
2015-09-26 20:32:55 +02:00
Marianne Gagnon
870a5fad3e
Update credits in master too
2015-09-25 20:44:27 -04:00
hiker
642a333e5e
Fixed kart getting stuck at doors of overworld (and other static
...
physical objects).
2015-09-26 01:08:10 +10:00
hiker
e97c4858f3
Updated supertuxkart.pot to be not sorted (see pull #2319 ).
2015-09-26 00:21:16 +10:00
hiker
165ea3d87e
Merge pull request #2319 from huftis/removestringsorting2
...
Don’t sort strings alphabetically (again)
2015-09-25 23:34:55 +10:00
Karl Ove Hufthammer
96cde24615
(Again) don’t sort strings alphabetically (makes the translators’ work much easier).
2015-09-25 10:51:31 +02:00
hiker
fc67252e78
Fix #2300 (mostly,karts get stuck there atm, but can't drive through the door).
2015-09-25 09:15:47 +10:00
Flakebi
586724c855
Merge branch 'master' into kart-properties
...
Conflicts:
src/karts/kart.cpp
2015-08-19 12:03:43 +02:00
Flakebi
b51eadae28
Merge branch 'master' into kart-properties
2015-08-16 16:45:47 +02:00
Flakebi
1c29ce7636
Fix little issues and remove wheel position from characteristics
2015-08-16 16:23:06 +02:00
Flakebi
acbc629610
Add a script that automates the code replacements
...
Various other things:
- Try to use newer c++ features
- Rename travelcm
- Remove wheel radius
2015-08-16 15:54:05 +02:00
konstin
c78abbddf7
try to fix travis CI compilation
2015-08-15 15:10:30 +02:00
konstin
1eb3b6f74e
More small improvements
2015-08-15 15:04:31 +02:00
konstin
d9697cbbe0
order functions chronologically
2015-08-15 15:04:31 +02:00
konstin
a4fa65673e
huge amount of small improvements, most thanks to leyyin
2015-08-15 15:04:31 +02:00
konstin
1ce3be98ee
Move the STUN request creating and sending from GetPublicAddress::asynchronousUpdate() into its own function
2015-08-15 15:04:30 +02:00
konstin
5ec9fa38ab
Implement a consistent error managing for GetPublicAddress::asynchronousUpdate() by moving the STUN response parsing into its own function
2015-08-15 15:04:30 +02:00
konstin
ee06cd3ba2
Improve readability and add documentation for GetPublicAddress::asynchronousUpdate()
2015-08-15 15:04:29 +02:00
Flakebi
ec3083827d
Add some documenation and try to get some backwards compatibility
2015-07-29 23:02:16 +02:00
Flakebi
5d36b95c95
Merge remote-tracking branch 'upstream/master' into kart-properties
...
Conflicts:
data/stk_config.xml
sources.cmake
src/karts/kart.cpp
src/karts/kart.hpp
src/karts/kart_properties.cpp
src/karts/kart_properties.hpp
src/tracks/track.cpp
2015-07-29 02:48:43 +02:00
Flakebi
37e78e85a6
Forgot to convert string to char*
2015-07-29 02:25:32 +02:00
Flakebi
324a93cd65
Fix karts without a type
2015-07-24 02:10:23 +02:00
Flakebi
2620a77dc1
Adjust and remove properties
2015-07-13 00:23:05 +02:00
Flakebi
a61ad88ee6
Move more properties
2015-07-13 00:08:35 +02:00
Flakebi
ffca848a33
Remove more outdated variables
2015-07-12 01:29:17 +02:00
Flakebi
1317714ba1
Adjust the speed and power values
2015-07-12 01:09:01 +02:00
Flakebi
5bfb1a2c6b
Fix some bugs
2015-07-12 00:39:38 +02:00
Flakebi
db13a1fae6
Remove data from stk_config.xml
2015-07-11 19:33:13 +02:00
Flakebi
9fc6f84545
Switch from properties to characteristics
2015-07-11 19:22:27 +02:00
Flakebi
1ceab872b1
Remove PlayerDifficulty class
2015-07-11 16:16:40 +02:00
Flakebi
eb19bf571e
Load and combine characteristics
2015-07-11 15:38:52 +02:00
Flakebi
0ecc76090b
Add kart types
2015-07-10 01:14:08 +02:00
Flakebi
a305b357a3
Change characteristics to characteristic and add player characteristics
2015-07-10 00:36:50 +02:00
Flakebi
cb797c3145
Remove unnecessary move and add a bit documentation
2015-07-08 22:07:46 +02:00
Flakebi
2272002d5c
Implement processFloat
2015-07-08 16:55:11 +02:00
Flakebi
c22d5c8e6e
Add more to xml reading
2015-07-08 16:55:11 +02:00
Flakebi
cedd816ca1
Extend InterpolationArray
2015-07-08 16:55:11 +02:00
Flakebi
35aeeea6c6
Add getName for enum
2015-07-08 16:55:10 +02:00
Flakebi
17b775959c
Change reference to pointer
2015-07-08 16:55:10 +02:00
Flakebi
c1ed8790ef
Add xml reading
2015-07-08 16:55:10 +02:00
Flakebi
ddb850b149
Add new files
2015-07-08 16:55:10 +02:00
Flakebi
2b9a7a2016
More work
2015-07-08 16:55:10 +02:00
Flakebi
78b4634363
Work
2015-07-08 16:55:10 +02:00
Flakebi
a3f94f6b67
Update abstract characteristics with script generated content
2015-07-08 16:55:10 +02:00
Flakebi
3414f7cb91
Add script to create characteristics file
2015-07-08 16:55:10 +02:00
Flakebi
483993d2d8
Start with getters
2015-07-08 16:55:10 +02:00
Flakebi
5dec3c4602
Add characteristics
2015-07-08 16:55:10 +02:00
Flakebi
fc8a726156
Add config file for kart characteristics
2015-07-08 16:54:35 +02:00
nixt
8e9d518aa2
Increase curve radius to reduce braking when kart is close.
2014-03-07 07:41:55 +05:30
nixt
28b089592d
Merge remote-tracking branch 'upstream/master'
2014-03-07 05:17:59 +05:30
nixt
a840e3a81f
Enable item collection and reduce item search radius.
2014-03-07 05:14:10 +05:30
nixt
c192d5e53d
Fix nested namespace error and some warnings
2014-03-06 06:15:09 +05:30
nixt
c3bd527b8c
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
data/shaders/ssao.frag
2014-03-06 04:25:17 +05:30
nixt
1c13034a21
Turn off item collection for the moment
2014-03-06 04:18:42 +05:30
nixt
39c3aff8ae
Add basic item collection
2014-03-06 03:51:02 +05:30
nixt
28309e0afd
Add more documentation.
2014-02-20 19:42:45 +05:30
nixt
c13b263ba0
Add lots of comments.
2014-02-16 02:52:03 +05:30
nixt
d8a1949160
Merged from main repo
2014-02-14 22:26:10 +05:30
nixt
7b8629232f
Implemented the funnel algorithm for pathfinding.
2014-02-14 21:47:32 +05:30
nixt
39ef5f1655
Merge remote-tracking branch 'origin/master' into battleAI
2014-02-09 00:37:48 +05:30
nixt
d1d83459d0
Merged from master
2014-02-07 23:40:09 +05:30
nixt
5e64f02685
Add a comment to three_strikes_battle.cpp
2014-02-07 23:13:51 +05:30
nixt
e6ba8c3b1d
Fix some errors due to merge
2014-01-23 04:05:29 +05:30
nixt
cc78233258
Merged from master
2014-01-23 03:17:32 +05:30
nixt
9e3b338965
Implemented portal extraction for string-pulling (funnel algorithm). Implemented braking but its untested.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 00:13:09 +00:00
nixt
83d91b7b07
Merge from trunk, pending.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 04:34:57 +00:00
nixt
a72175b3b7
Adding more missing files, fourth installment.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 05:09:36 +00:00
nixt
50e746eccc
Add/update missing files from trunk, third installment.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 05:05:28 +00:00
nixt
cd20059fc0
Adding missing files from trunk, in second installment, because SVN simply hates me.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 04:53:42 +00:00
nixt
8d7c867c59
Added missing files from trunk.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 04:46:09 +00:00
hikerstk
a01c98302e
On nixt's requests I removed the online subdirectory so that he can try
...
to fix his inconsistent/broken svn checkout.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 03:53:38 +00:00
hikerstk
7aee2035ea
Fixed crash.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-11 02:50:39 +00:00
nixt
ba4e573797
Merge from trunk, some files were left out.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 19:23:17 +00:00
nixt
7de27d234a
Add missing shaders to my branch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 14:12:18 +00:00
nixt
eaacb20c90
fix nested template arguments angle bracket spacing for gcc.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 12:48:30 +00:00
nixt
13ddb2bfbe
Fixed redeclaration of m_debug_sphere. Improved AI turning while reversing.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 12:38:34 +00:00
nixt
420e73d102
Improved kart reverse when stuck. Fixed a bug in ThreeStrikesBattle::updateKartNodes().
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 00:02:15 +00:00
nixt
04a5d17de3
Merge from trunk recent changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 21:15:01 +00:00
nixt
acd7a64802
Huge merge from trunk, part 2.3 (splitting commits because they keep failing)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 20:47:10 +00:00
nixt
09a966b2d7
Huge merge from trunk, part 2.2 (splitting commits because they keep failing)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 20:33:54 +00:00
nixt
65a7bd0d84
Huge merge from trunk, part 2.1 (splitting commits into small parts because they keep failing for some reason)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 20:25:11 +00:00
nixt
43f1c59a6e
Huge merge from trunk, part 1.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 03:45:57 +00:00
nixt
1c8dfb72e6
Last commit failed due to permission error. Testing to see if this commit succeeds.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14658 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 03:35:17 +00:00
nixt
a49a990a99
Improved kart localization on the nav map. The old location is mainted when a kart moves out of the nav map and cannot be found on it.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 00:11:40 +00:00
nixt
20d30bc09d
BattleAI: Karts can now get un-stuck. They will reverse while turning in the opposite direction.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 00:00:20 +00:00
nixt
96d5666a08
Code refactoring: Moved AIBaseLapController::crashed()and its associated vars to AIBaseController::crashed(). Created update() and reset() in AIBaseController which are now called from AIBaseLapController's respective update/reset. Hopefully I didn't break the skidding AI.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 17:16:35 +00:00
nixt
c23f962119
Reimplemented the Floyd-Warshall path reconstruction to fix a bug where the next poly returned would actually be a poly close to the destination instead of being close to source polygon. This ensures AI follows right path and gets stuck less often.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 13:33:36 +00:00
nixt
1f6e23ead9
Implemented another debug feature: Debug spheres (red) that show where the AI kart is aiming. http://postimg.org/image/mwhbys39p/
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14624 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 00:13:48 +00:00
nixt
fab8829cf8
Declared m_ai_debug at wrong location. fixed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14623 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 00:07:09 +00:00
nixt
c6cbf487c9
A new unified function ThreeStrikesBattle::updateKartNodes() that localizes all karts (AI and player) on the polygon map.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-03 16:43:07 +00:00
nixt
41fa68f948
Applied a pending merge.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-03 16:28:57 +00:00
nixt
a31c314cb4
Major update to Battle AI. AI can localize itself on the navigation mesh. Battle graph is now stored as adjacency matrix instead of adjacency list.
...
Implemented pathfinding (Floyd-Warshall), AI can now find a path from one sector to another. As a proof of concept: AI can almost follow a player kart. Some code refactoring is in order before further development.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-29 05:47:11 +00:00
nixt
1c75270912
merged updates from trunk to branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-25 14:21:04 +00:00
nixt
a1ee115963
Split AIBaseController to AIBaseController and AIBaseLapController. Moved the functions independent of QuadGraph to AIBaseController. Added AIBaseController as friend of AIProperties. New class for BattleAI which inherits from AIBaseController. Its messy, need hiker.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-23 01:14:08 +00:00
nixt
3f9bf2ec47
Merged changes from trunk.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-23 01:09:18 +00:00
nixt
d3f92542df
Split AIBaseController to AIBaseLapController and AIBaseController.
...
AIBaseLapController inherits from AIBaseController.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-09 07:26:55 +00:00
hikerstk
5b98a8bcf0
Fixed unnecessary type cast (since definition of IMeshSceneNode was
...
missing), fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-02 04:15:42 +00:00
nixt
6cc28c01de
Forgot to clean up debug mesh and navmesh. Also moved debug camera a bit closer to the kart.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-02 04:03:22 +00:00
hikerstk
442ceee836
Fixed compilation issues on linux.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14183 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-02 03:51:42 +00:00
hikerstk
c06e49e37e
Updated cmake build script.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14182 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-02 03:34:33 +00:00
nixt
479464ede4
fixed minor error and removed a redundant function.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-01 22:11:31 +00:00
nixt
fa3846e169
Fixed coloring in debug mesh. Each polygon distinctly visible in funky colors.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-01 22:00:10 +00:00
nixt
e0994932bf
Added preliminary class for holding the battle mode navigation graph. The navigation mesh can now be viewed in game for battleisland ( start with --track-debug --camera-debug ) , the colors are bit messed up though.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-01 21:30:58 +00:00
nixt
c5e1b1a182
minor update to last commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-28 11:13:24 +00:00
nixt
f4fe56dd31
Two new classes for holding the navigation mesh for battle maps.
...
note: proper comments will be added soon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-28 10:20:57 +00:00
nixt
5a85e11d70
Reverted previous commit that broke some things.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-24 00:11:40 +00:00
nixt
167f25734c
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14137 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-23 00:13:30 +00:00
hikerstk
3c503226d7
Created branch for nixt's work on a battle AI.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-23 00:00:51 +00:00