Benau
d8007c4518
Update server for new xml code
...
And initial work for starting a complete stk server
2018-02-26 14:23:34 +08:00
hiker
95f0bf9e3b
Used functions in stk_config to convert between ticks and times.
2018-02-23 23:22:49 +11:00
hiker
27b5409487
Use ticks (at the physics frame rate) for time measurement, which
...
avoids potential floating point errors (in networking).
2018-02-21 22:18:45 +11:00
hiker
26401972d2
Merge branch 'fix-timestep' into game_protocol
2018-02-13 08:41:49 +11:00
hiker
4d03fbd1fb
Made the physics time step size configurable in the config file.
2018-02-12 08:23:06 +11:00
hiker
37d81be033
Made the physics time step size configurable in the config file.
2018-02-10 17:55:45 +11:00
Benau
9a5ce54c4f
Merge remote-tracking branch 'origin/master' into game_protocol
2018-02-09 00:53:02 +08:00
Deve
f101c9e366
Fixed android compilation
2018-02-06 23:17:34 +01:00
Ben Krajancic
0f3518e71b
Unlimited Split-Screen ( #3104 )
...
* Initial SplitScreen
All are upside down and player 1, 5 player does 6 even...
* Working version of splitscreen
* black screen fix
* te fix
* Update race_gui.cpp
* Change item
* wrong way fix and refactorings
* Fix icon scale, cleaning code for lap count
* Remove tabs
* Add settings option
* Fix FOV
Right now the FOV gradually decreases when going from 1,2,3,4 players. Then after 4 players it wont drop any lower. This behaviour can easily be replaced in the future
* Prevent overflow
* Unlimited splitscreen
* Space out duplicate skins across additional players
* Update stk_config.cpp
* Update irr_driver.cpp
* Update options_screen_ui.cpp
* Update irr_driver.cpp
* Update options_screen_ui.cpp
* Update race_gui.cpp
* Update irr_driver.cpp
* Fix for empty pixels at edges
* Fix referring to template not int
* Fix compile errors
* Progress towards fixing selection screen
* Begin process for selections
* Fix selection screen for >4 people
Important GUI changes included
* Disable changing rows/cols ingame
* fix sp related crash
* Styling fixes
2018-02-05 20:01:32 -05:00
Benau
6bcee60a1c
Merge remote-tracking branch 'origin/master' into game_protocol
2018-01-24 10:20:06 +08:00
Benau
bb0cf72635
Add required code and color selector for rainbow karts
2018-01-13 00:38:46 +08:00
Benau
6071d2f983
Remove all unused / unstable opengl-related code
2018-01-12 13:04:40 +08:00
Benau
9ccb34c2a1
Adjust graphics presets for SP
2018-01-12 12:03:31 +08:00
Benau
7797115867
Add SP for correct normal and easier shader system
2017-12-25 14:00:10 +08:00
hiker
c1a3d281f6
Merge remote-tracking branch 'origin/master' into game_protocol
2017-12-19 11:57:31 +11:00
hiker
4d02e736f7
Started to add smoothing of errors - atm only for position, not angle.
2017-12-18 23:13:59 +11:00
Benau
f70af4677c
Add direct conversion to map for xml nodes
2017-12-09 16:06:43 +08:00
hiker
825deed8dd
Merge remote-tracking branch 'origin/master' into game_protocol
...
Fixed various conflicts.
2017-12-09 00:56:30 +11:00
hiker
b08e2f56e1
Make the number of state updated the server sends configurable.
2017-11-24 18:33:26 +11:00
auria.mg
c59af9136c
Merge branch 'KartPerGamemode'
...
# Conflicts:
# src/states_screens/gp_info_screen.cpp
2017-11-21 19:20:49 -05:00
hiker
4fced331fe
Merge remote-tracking branch 'origin/master' into game_protocol
2017-11-10 16:08:03 +11:00
hiker
54b32ba6b1
Merge branch 'master' into game_protocol
2017-11-05 13:03:15 +11:00
QwertyChouskie
b13a502f50
Prevent upgrades to 0.9.3 causing all particles to be disabled
...
Older version's "false" in the config file translates to "0", which disables all particles in 0.9.3. Mitigate this by renaming the variable.
See https://forum.freegamedev.net/viewtopic.php?f=17&t=7662&sid=71b18d47f0b9d436d4bd17c2da8cbb86#p74823 for an example of this causing confusion.
2017-11-02 18:49:57 -07:00
Fantasmos
98231956fb
rename to more appropriate variable
2017-11-01 08:38:34 +11:00
Fantasmos
a094a5a3d6
Fix non newline brackets
2017-10-31 11:15:38 +11:00
Fantasmos
702d7f71c5
Replaced pair with temporary struct, to ensure POD-typing
2017-10-28 18:41:26 +11:00
Fantasmos
7fff73afa6
Clarifies the cause of compiler errors for some systems
2017-10-28 14:13:57 +11:00
Fantasmos
e50d295c87
Remvoe redundancy
2017-10-28 13:05:08 +11:00
Fantasmos
d366dd84cd
Updated to naming conventions
2017-10-28 12:59:04 +11:00
Fantasmos
cb1a2b1e25
Rename m_num_karts to be more appropriate, removed redundant variables I've made
2017-10-28 12:51:49 +11:00
Fantasmos
4a0db1926d
Highlighted issue that needs resolving
2017-10-28 12:09:23 +11:00
Fantasmos
4fbc39572b
Removed Tab, first working version!
2017-10-28 11:56:52 +11:00
Fantasmos
ca330b1ac0
Map compiles now and can be set
2017-10-28 11:35:11 +11:00
Fantasmos
f10feb77fd
Can now load a map type
2017-10-28 09:16:28 +11:00
Fantasmos
823d3112ad
Begun making template for dictionary
2017-10-27 22:31:54 +11:00
Fantasmos
df69a684a3
Identified cause of compile error
2017-10-26 09:39:48 +11:00
Fantasmos
74cdd07ba7
Added string array for karts per gamemode, and references to it to replace num_karts
2017-10-26 09:11:57 +11:00
Benau
e61eb3415a
Remove hardcoded max 1024 bones for skinning
2017-10-20 17:10:08 +08:00
Benau
88e15147b8
Merge remote-tracking branch 'origin/win-64bit'
2017-10-17 00:55:22 +08:00
Deve
48d94e10a7
Use separate os name for android stats
2017-10-07 21:37:59 +02:00
Deve
f96863c421
Add a possibility to totally disable particles.
...
Particles cause a crash on some radeon devices, so people can at least disable it to make the game working.
Also tfb causes quite big slowdown on slow devices even if there is no particles displayed, so it can give few more fps.
2017-09-08 00:33:46 +02:00
Deve
b820a60e98
Tweak default accelerometer sensitivity.
...
Also move it to the config file.
2017-09-03 23:39:03 +02:00
Deve
2fdb33990e
Tweak some touch device params.
...
Better on 5'', worse on 10''... Can be changed in options anyway.
2017-08-28 22:25:32 +02:00
hiker
f3d56b37df
Merge branch 'master' into win-64bit
2017-08-16 17:29:57 +10:00
hiker
379a9db3c9
Merge remote-tracking branch 'origin/fix-profiler' into game_protocol
2017-08-09 17:43:14 +10:00
hiker
28890aad33
Merge branch 'master' into game_protocol
...
Some minor changes to make code easier to read.
2017-08-09 09:50:46 +10:00
hiker
ea12c8f494
Very first version of profiler that supports multiple threads
...
and handles events in branches better.
2017-07-31 22:56:47 +10:00
hiker
ea3f9f8945
Merge branch 'master' into game_protocol
2017-07-24 21:12:36 +10:00
Deve
9fc1acc4c0
Allow to draw steering wheel on the right side
2017-07-05 21:21:33 +02:00
hiker
3747427c5f
ixed handling of adding states to time step info to minimise
...
rewindw by assigning new events to existing time step info events.
2017-06-05 08:54:52 +10:00
Benau
31f9acf7ed
Update config.xml with libopenglrecorder
...
Consider use mjpeg / h264 (DIY compile) for HQ video
2017-04-18 14:08:30 +08:00
hiker
668fdd3b49
Fixed some 64-bit related compiler warnings.
2017-04-07 23:25:52 +10:00
Benau
b2d3817de3
Merge remote-tracking branch 'origin/master' into advanced_recording
2017-04-06 09:43:36 +08:00
Benau
ab554315b5
Remove non-supported video format
2017-04-06 09:37:32 +08:00
hiker
00bba293ad
Merge remote-tracking branch 'origin/master' into physics-tweaks
2017-04-05 23:59:34 +10:00
Benau
ea6719990a
Move all recording code into recorder folder
2017-04-04 10:04:55 +08:00
Benau
29d0839162
Move libvpx parameters to user config
2017-03-31 12:22:21 +08:00
Deve
0f9151e5d2
Move recording settings to separate group
2017-03-27 00:31:55 +02:00
deve
a3a8289836
Fixed a hang on startup under cygwin
2017-03-22 13:17:04 +01:00
hiker
f55c39b3b1
Support setting of friction for karts, moveable and track in stk_config.xml
...
and kart_characteristics.xml (for now no changed settings, all are at
tbe default of 0.5).
2017-03-22 19:52:03 +11:00
Benau
668b28f632
Allow to config whether to limit game framerate with recordings
2017-03-22 07:43:00 +08:00
Benau
449d63c0d8
Save record option in user config
2017-03-21 13:08:08 +08:00
Benau
d08d2cc9c7
Avoid compling useless code in server only or gles
2017-03-15 12:45:35 +08:00
Benau
76aa38e5b4
Try HQMipmapGenerator
2017-03-13 10:28:43 +08:00
Benau
ed9b16fe7b
Don't use std::thread library
2017-03-10 15:02:21 +08:00
auria.mg
eb9f656b44
Add config flag to persist GUI visibility state at samuncle's request
2017-02-20 19:16:49 -05:00
Benau
ea95ffe424
Remove compiler warning
2017-02-10 18:21:27 +08:00
Alayan-stk-2
0293dabfd3
New GP point system ( #2765 )
...
* Change grand-prix node for the new GP point system
* New GP point system
* Typo fix
2017-02-07 19:31:53 -05:00
Deve
4852664143
Allow to use accelerometer for turning left/right.
...
It should be much more comfortable on small devices.
Though it's not possible to get default screen orientation (and real device orientation) using NDK functions, so at this stage user has to manually choose if he needs "tablet" or "phone" accelerometer.
2017-02-07 13:48:08 +01:00
Deve
49a77a8f48
Add a possibility to disable touch steering in options.
...
It may be useful if someone wants to play with external keyboard.
The multitouch_mode parameter will be also used to choose between steering with buttons and using accelerometer.
2017-01-25 21:50:11 +01:00
deve
8c8d2ac8c4
Add a screen keyboard that can be used on touch screens
2017-01-23 07:14:09 +01:00
Deve
527132b6c8
Allow to enforce default player using a config variable.
...
It can be used on Android until screen keyboard will be done.
2017-01-10 22:10:43 +01:00
auria.mg
ebf3893f73
Minor : add a little documentation to user config
2017-01-09 20:29:41 -05:00
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
hiker
98671b620d
Added some support to enable a legacy (2.1) opengl context. Many
...
things don't work with that atm (rtt, some transparent textures).
Needs to be manually set in the user's config file.
2015-03-11 16:45:20 +11:00
Flakebi
2aef246897
Fix #1824 - Hardware stats sends duplicate data
2015-03-08 01:04:30 +01:00
Vincent Lejeune
13a2f9f597
First part of #1988 fix
2015-02-22 20:31:14 +01:00
hiker
359582d0e6
Added support for "Easter Bunny Ears" easter egg.
2015-02-21 11:19:15 +11:00
Marianne Gagnon
e6aea6e0b6
Improve tools and usage of XML encoding, fixes #1982
2015-02-14 18:30:23 -05:00
hiker
e17add7bc8
Allow users to enable high res textures, even if their default
...
value stats that they should be disabled.
2015-01-22 11:38:15 +11:00
Vincent Lejeune
b5243089a5
Enable dynamic lights by default
2015-01-20 03:20:33 +01:00
Vincent Lejeune
019ec344fe
Allow to reduce shadow resolution
2015-01-11 00:45:38 +01:00
hiker
526b38fc2a
Added some kind of unit testing for version numbers in graphics
...
restrictions. It's only doing asserts for the tests :) Use
--unit-testing command line switch.
2015-01-08 10:05:19 +11:00
hiker
1eb51db5ea
Added command line option for keyboard debugging.
2015-01-08 09:05:04 +11:00
Vincent Lejeune
3451d4e9a0
Add a ESM/PCF switch
2015-01-01 20:06:34 +01:00
Vincent Lejeune
f644543bc1
Move all gfx related config to a separate file
2014-12-27 03:14:16 +01:00
hiker
0e569d1c7f
Give the first player tux as icon (instead of sara). Fixes #1771 for now.
2014-12-15 16:49:12 +11:00
Deve
7114657c02
Merge pull request #1781 from thamlett/master
...
Fix some typos
2014-12-13 18:07:18 +01:00
hiker
c0c4357331
Switch from IP address to addons.supertuxkart.net (including new
...
certificate).
2014-12-10 23:53:47 +11:00
hiker
f0ddaa50a5
Removed option to disable CURLOPT_SSL_VERIFYPEER, since it's not needed
...
anymore.
2014-12-10 12:55:32 +11:00
hiker
b592e5224b
Updated the URL to work with new server configuration.
2014-12-10 11:35:43 +11:00
hiker
83f49ec319
Merge remote-tracking branch 'origin/master' into new_server
...
Conflicts:
src/online/http_request.cpp
2014-12-10 11:25:16 +11:00
Timothy Hamlett
e473b656d2
Fix some typos
2014-12-07 16:49:17 -06:00
hiker
60cde7e63d
Added option to disable peer verification in curl. This might help
...
on some platforms (osx) with authentication problems.
2014-12-04 16:43:57 +11:00
hiker
abb486b640
Fixed server version to be 2.
2014-12-04 16:27:29 +11:00
hiker
cc17d8e0b2
Set our vps as new online server.
2014-12-04 16:23:21 +11:00
Timothy Hamlett
263d072c98
Fix some coding conventions
...
Thanks to hiker for the info
2014-12-01 12:49:15 -06:00
Timothy Hamlett
0a3d71aead
Add Windows 8.1 to the hardware reports
2014-11-30 22:27:39 -06:00
Vincent Lejeune
0aa6b9fcd1
Make sdsm optionnal
...
scene manager is not ready yet
2014-11-29 01:33:10 +01:00
hiker
020c129691
Specify the replay buffer size as time value (i.e. how many seconds),
...
not how many frames.
2014-11-27 16:15:53 +11:00
hiker
d4ea2e8786
Merge branch 'fixes' of https://github.com/Flakebi/stk-code into Flakebi-fixes
2014-11-26 23:56:33 +11:00