Commit Graph

491 Commits

Author SHA1 Message Date
Benau
8c5c85245f Use full detail default 2016-12-27 18:31:06 +08:00
Benau
15469e555d Allow track loading to take care of geometry details 2016-12-27 11:15:24 +08:00
samuncle
e62edcc89a Ground work for geometry detail option 2016-12-24 19:16:39 -05:00
Deve
7b76804354 Allow to unlock all tracks in config.xml.
Can be used on android when only some tracks are included in the apk.
2016-12-23 23:36:39 +01:00
Deve
f314c1ff2a Some improvements for multitouch steering GUI
- move it to separate class, so that it can be displayed in Overworld too
- add a possibility to scale the interface (atm. only in config.xml)
- touch steering buttons are created only for single player races

I removed unused drawEnergyMeter function from Overworld GUI. The reason was that I use this function from race_gui.cpp for nitro button and this function in overworld breaks it. And still the proper drawEnergyMeter function is available in race_gui.cpp and can be moved to RaceGuiBase if it will be needed in Overworld in future.

I moved the font size computation to the top of constructor because I use it to check available space for minimap.
2016-12-17 23:28:22 +01:00
hiker
746bac00ce Merge remote-tracking branch 'origin/new-pi' into nw 2016-12-06 09:26:07 +11:00
Deve
952bed5672 Few minor fixes for multitouch steering:
- don't update a button that is already not pressed
- use full axis range, which means higher sensitivity in the center
- make sure that we don't divide by 0
2016-11-18 01:22:32 +01:00
hiker
73182863df Fixed linking problems - will probably not run ;) 2016-11-14 09:59:08 +11:00
hiker
ddcddf4a0a Compile SERVER_ONLY (by #ifdef'ing out all graphics related code).
Does not link yet!!
2016-11-11 23:46:22 +11:00
deve
4bb0405a32 Added support for multitouch steering.
It will be used for steering on Android.

There are some limitations:
- currently it works only in single player mode (but I don't see any reason to make it working for multiplayer)
- speedometer is not available in race GUI because there is no place for it

TODO:
- add DPI support (race GUI should have probably different proportions on smaller devices for comfortable playing)
- make nice button images
- make nitro button that changes its look depending on collected nitro (a kind of nitro bar)

Touch input events must be handled in android device to make use of it. It can be simulated for debugging on non-android devices using standard mouse.
2016-11-10 02:42:56 +01:00
Deve
ed5a957a64 Fixed typo in config.xml 2016-08-20 23:39:31 +02:00
Deve
d320df749f Allow to set max texture size in config file.
It gives much lower memory usage when it's set for example to 128.
2016-08-12 23:30:10 +02:00
Deve
5cfed1bc1c Allow to set lower RTTs resolution.
It allows to increase performance on devices that have only one available resolution.

It also allows to draw GUI elements in full resolution while rendering the scene with slightly lower resolution, which gives you few additional FPS.

Note that particles don't work as expected yet with this feature.
2016-08-11 02:04:35 +02:00
Benau
637e468f18 Use uniform copyright header for source 2016-07-29 11:50:37 +08:00
qwertychouskie
277a4b9262 Fix #2542. Also update copyright year. (#2585)
* Fix #2542.  Also update copyright year.

* Update header
2016-07-27 18:31:39 -04:00
Benau
5b4d8e1f8a Remove old font settings 2016-07-23 10:48:48 +08:00
Benau
744a4705b6 Auto embolden glyph of bold face, without fallback font 2016-07-21 12:26:19 +08:00
Benau
05419cd555 Initial work on new font rendering engine 2016-07-18 16:03:11 +08:00
hiker
59a64625fa Use references instead of copying the string. 2016-06-28 17:43:25 +10:00
auria.mg
f90703beb6 Move hardcoded cutscene FOV to a config file 2016-06-23 19:10:56 -04:00
Benau
bbde4659c1 Allow arena ai profiling 2016-05-05 16:25:54 +08:00
hiker
f59ea0f258 Moved the camera debug parameter from UserConfig to a static value
in camera. Added proper names for the debug modes instead of int.
2016-04-14 09:30:26 +10:00
Benau
a42ee39240 Merge remote-tracking branch 'origin/master' into random_arena_item 2016-03-19 08:58:25 +08:00
Tobias Markus
8ae746f330 Properly free memory for m_story_mode_status and m_achievements_status 2016-03-17 15:48:24 +01:00
Benau
5b7161710d Add GUI option in track info screen for random item location. 2016-03-17 12:16:19 +08:00
hiker
ab641b0dad Replaced the filename for packet log file in the UserConfig with a
flag to enable/disable this debug output in the file STDOUT.packets
(where stdout is the final set at startup).
2016-03-03 17:10:18 +11:00
Benau
ea05f4b6ba Allow saving default time limit option too 2016-01-22 12:27:09 +08:00
Benau
95f6f910b8 Allow saving selected team in single player soccer mode. 2016-01-22 11:32:06 +08:00
Benau
7fccddb734 Show "Fribidized" user name and enable input for it 2015-12-14 02:56:42 +08:00
Flakebi
ffa85d2206 Merge remote-tracking branch 'upstream/master' into kart-properties 2015-11-21 23:03:58 +01:00
Benau
7cf4d662ee Allow configurable fonts file names in stk-config 2015-11-13 02:25:52 +08: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
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
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
Flakebi
5e6e85ab79 Merge branch master into kart-properties 2015-10-03 15:20:06 +02:00
hiker
449e754849 Fixed #2327. 2015-09-29 07:58:24 +10:00
Flakebi
b51eadae28 Merge branch 'master' into kart-properties 2015-08-16 16:45:47 +02:00
hiker
6f11156c04 Fixed crash if a player kart in a saved GP is deleted. 2015-08-03 22:02:13 +10:00
hiker
085627364c Fix #2162 (switch kart when loading a GP). 2015-08-03 07:53:21 +10: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
hiker
2f51406e3d Made field-of-view configurable in the config file. 2015-07-22 08:12:44 +10:00
Flakebi
ffca848a33 Remove more outdated variables 2015-07-12 01:29:17 +02:00
Flakebi
db13a1fae6 Remove data from stk_config.xml 2015-07-11 19:33:13 +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
hiker
369ed86380 Added 'behind kart' camera which helps debugging graphical
vs physical chassis position issues.
2015-07-02 16:39:13 +10:00
hiker
aaf20dc919 Fixed #2118. 2015-04-27 17:14:23 +10:00
hiker
50acbea315 Fix crash in case of invalid kart types (e.g. 'default', which the
exporter actually writes if 'default' is selected).
2015-04-16 07:56:41 +10:00
hiker
8d07d26c25 Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
Deve
5828dddde8 Allow to disable popup messages about too old drivers in config.xml 2015-03-25 18:53:09 +01:00