Commit Graph

  • c3cd7ceaa2 Merge branch 'master' into improve-xbox-gamepad-support hiker 2017-08-08 23:08:14 +10:00
  • b440511c95 Fixed incorrect right thumbstick mapping. hiker 2017-08-08 21:55:28 +10:00
  • bd5eb89cc0 Use XInput 9.1 which does not need an installer and works on most windows platforms. Move the linking to irrlicht cmake. hiker 2017-08-08 21:44:32 +10:00
  • 0acda38987 Add profiling events to sfx manager, but they are commented out by default (using preprocessor directives), since they are typically not useful. hiker 2017-08-08 16:44:55 +10:00
  • 6a0fb83209 Clear existing events when the circular buffer wraps around. hiker 2017-08-08 16:36:54 +10:00
  • d29d2b831f Only use start and end time for thread 0, since all other threads might not have valid start and end times (since they can record several identical events during one frame). Bars for all other threads can therefore not be nested. hiker 2017-08-08 16:09:49 +10:00
  • 887814ea98 Fixed incorrect start and end time setting when synchronising frames. Only use thread 0's start and end time to compute the duration (since other threads might have multiple identical events during one frame, resulting in incorrect start times). hiker 2017-08-08 16:08:15 +10:00
  • 0a715ac31a Fixed 32-bit mingw compilation Deve 2017-08-07 22:33:57 +02:00
  • 620d1f34c1 Link in xinput on windows builds. hiker 2017-08-07 23:50:09 +10:00
  • 6783ab26f8 Keep a list of all event names in the order in which they first appear. This list allows the proper ordering of events when drawing the bar chart to show nesting. Make sure that enabling the profiler starts at the next synch point (to avoid incomplete event pairs). Create a seprate output file for each thread. hiker 2017-08-07 17:53:15 +10:00
  • e6c2c3df95 Revert to using guidProduct for all existing code, but the correct guidInstance for detecting XInput devices only. hiker 2017-08-07 09:15:09 +10:00
  • b6df36fc39 Don't hardcode build-tools version Deve 2017-08-06 23:15:08 +02:00
  • bc6ff38b22 Simplify light factor when advanced lighting is disabled. Deve 2017-08-06 22:18:18 +02:00
  • 4c55ca4da9 Merge commit 'e6a134c3479ccdbaf91bb36d46ffb64b6a3b52b9' into improve-xbox-gamepad-support hiker 2017-08-06 22:58:49 +10:00
  • 891e439264 Remapped XInput to be the same as DirectInput buttons, so that existing configs works as expected. Hard-coded 6 axis for xbox controller to allow for triggers to be reported as two different axis (instead of as one axis). Updated gamepad config to use proper names for triggers. hiker 2017-08-06 22:56:59 +10:00
  • 68d41a07ba Now actually use XInput to read the joystick events for all XInput devices. hiker 2017-08-05 00:34:51 +10:00
  • f431730278 Fixed recognition of XInput devices. hiker 2017-08-05 00:12:22 +10:00
  • a73af6eb0d Save and use usernames in replay files (#2754) (#2893) Geoffrey Mon 2017-08-03 19:51:42 -04:00
  • 623bb460c6 Merge branch 'master' of github.com:supertuxkart/stk-code hiker 2017-08-03 21:23:32 +10:00
  • 04c775eead Don't measure lock time, some whitespace cleanup. hiker 2017-08-03 21:21:40 +10:00
  • d3da93f368 Try to use a Microsoft function to detect XInput devices when using DirectInput - atm not working yet :( hiker 2017-08-03 09:24:50 +10:00
  • 802d70ca8d Fix code style issues Geoffrey Mon 2017-08-02 17:21:37 -04:00
  • 1d2ff0bc47 Remove more unused files Deve 2017-08-02 22:03:01 +02:00
  • e9496caa71 Merge pull request #2892 from qwertychouskie/cleanup2 Deve 2017-08-02 21:49:58 +02:00
  • 9ec2ff5c4a Backwards compatibility: use kart name if username is not in replay Geoffrey Mon 2017-08-02 14:13:26 -04:00
  • ca5258a46c Move Controller::getName definition to avoid unnecessary #include Geoffrey Mon 2017-08-02 13:46:48 -04:00
  • ac406e1e00 Fix #2891 Benau 2017-08-03 01:34:35 +08:00
  • f3a962c391 Save and use usernames in replay files Geoffrey Mon 2017-08-02 12:49:14 -04:00
  • 14ea69dc90 Cleanup V2 Qwerty Chouskie 2017-08-02 09:29:15 -07:00
  • 203995262c Exclude the time to get the lock from profile measurements. hiker 2017-08-02 22:40:19 +10:00
  • d8fe700f64 Don't store data when the profiler is disabled. hiker 2017-08-02 08:48:01 +10:00
  • d800a8c0bc Made everything threadsafe. hiker 2017-08-02 08:34:43 +10:00
  • 22208365d2 Switch to direct input for joystick handling. hiker 2017-08-02 08:13:24 +10:00
  • 1e5d2643be Bugfix: incorrect index. hiker 2017-08-02 08:13:04 +10:00
  • cc6a1a3909 Started to add XInput support (to be able to distinguish the two triggers). hiker 2017-08-01 17:48:18 +10:00
  • 85ee217d77 Converted tab to spaces. hiker 2017-08-01 17:19:52 +10:00
  • ea12c8f494 Very first version of profiler that supports multiple threads and handles events in branches better. hiker 2017-07-31 22:56:47 +10:00
  • 47d2e30c5f Fixed compiler warnings. hiker 2017-07-31 22:56:00 +10:00
  • e6a134c347 Fix 2850 by increasing the number of axis for a gamepad to include D-pad. hiker 2017-07-30 23:05:27 +10:00
  • 65c8cb7ae1 Replaced arrays with std::vector (to get better error checking). hiker 2017-07-30 23:03:40 +10:00
  • a89b2f5df2 Minor tweak for linux icon. On freedesktop specs they suggest to use 48x48 icon. Deve 2017-07-30 12:56:25 +02:00
  • 7d4fbb8d0c Minor modification in play tutorial text. Fixes #2535 Deve 2017-07-29 00:43:17 +02:00
  • fdd551a730 Fixed debug compilation. hiker 2017-07-24 23:56:34 +10:00
  • ea3f9f8945 Merge branch 'master' into game_protocol hiker 2017-07-24 21:12:36 +10:00
  • 46bc3493b4 Coding style changes to profiler. Replaced ";" as separator with " " (which is gnuplot friendly), and also added column number to header to make it easier to know which column is what field. hiker 2017-07-24 16:54:45 +10:00
  • 48de916f68 Added non-interpolated physics position to debug output. hiker 2017-07-24 16:53:51 +10:00
  • 0be10ce448 Fix MinGW cross-compilation (#2883) QwertyChouskie 2017-07-22 17:17:31 -07:00
  • 979e1546fb Fix #2881, only create a camera when initializing Benau 2017-07-21 09:27:57 +08:00
  • 1770d01e07 Changelog, continued auria.mg 2017-07-20 19:57:42 -04:00
  • b2fd3d341a Changelog auria.mg 2017-07-20 19:50:46 -04:00
  • 09a735c25e Use key names in android device too Deve 2017-07-20 22:55:53 +02:00
  • 7a92708fd3 Use key names in wayland device Deve 2017-07-20 22:14:57 +02:00
  • 0dba3c8f67 Add a prefix to irrlicht key codes Deve 2017-07-20 21:53:37 +02:00
  • 10909b9556 Remove m_scale_rtts_factor == 1.0f in image quality for now Benau 2017-07-20 10:19:30 +08:00
  • a3d6f2f453 Start to update the changelog for the release (please add/correct if needed) samuncle 2017-07-19 19:35:04 +02:00
  • 11b2409fab Activate accelerometer only if needed Deve 2017-07-18 21:43:45 +02:00
  • 20850c9811 Remove unused cmake option Deve 2017-07-18 00:11:09 +02:00
  • bbee93dfe8 Update readme and generate_assets script. Deve 2017-07-14 22:00:47 +02:00
  • cbba2b6b7d Merge pull request #2880 from scootergrisen/patch-2 Deve 2017-07-14 06:21:38 +02:00
  • cb8e0d7b2a Add danish translation scootergrisen 2017-07-14 00:40:56 +02:00
  • d44802a482 Add a workaround for some qualcomm devices on android 4.4 Deve 2017-07-11 00:37:31 +02:00
  • 70c481cb26 Add a possibility to set android version in graphics restrictions. Deve 2017-07-10 22:54:38 +02:00
  • 1fd6a8aa86 Make sure that we are not using files from our zlib/libpng when STK is compiled with shared libraries. Deve 2017-07-10 21:14:28 +02:00
  • 8653d410f8 Option 1 for fixing android 4.4 Benau 2017-07-09 00:46:42 +08:00
  • 7b185ce2f1 Add new GPwin cutscene (#2875) QwertyChouskie 2017-07-06 17:54:42 -07:00
  • 6fc285b794 Show only native resolution in settings on android. Deve 2017-07-06 23:18:43 +02:00
  • 9b7f3d70dd One more place where we were linking with glu. Deve 2017-07-05 21:49:31 +02:00
  • 9fc1acc4c0 Allow to draw steering wheel on the right side Deve 2017-07-05 21:21:33 +02:00
  • 2cda14686d Simplify touch device settings Deve 2017-07-05 20:43:57 +02:00
  • 2bf99aef1d Remove useless gles defines from irrlicht cmake file Deve 2017-07-04 23:32:57 +02:00
  • c6ea07eacc Remove unused gles 1.0 code Deve 2017-07-04 23:30:09 +02:00
  • 2bdce1994c Minor fix in android build script Deve 2017-07-04 22:57:59 +02:00
  • 09262a606b Add missing copyright. Deve 2017-07-04 22:55:08 +02:00
  • f672088a04 Tweak closing android device Deve 2017-07-04 22:43:11 +02:00
  • f13f69851f Fixed black screen on some GLES 2.0 devices. Deve 2017-06-29 23:00:08 +02:00
  • 8462c552d1 Add a warning for very low screen resolutions. Deve 2017-06-28 21:30:27 +02:00
  • 76257f68c5 Avoid error when libopenglrecorder not found (#2871) QwertyChouskie 2017-06-27 16:56:53 -07:00
  • 076d1f2b62 Save few more mbytes in the apk Deve 2017-06-27 21:20:38 +02:00
  • 721cebc325 Added timestamp to debug output. hiker 2017-06-27 19:02:03 +10:00
  • 68cfdfbf17 Minor fix for android progress bar that probably doesn't make any difference anyway Deve 2017-06-24 21:41:36 +02:00
  • 23277066a4 Some fixes for egl config. Deve 2017-06-24 21:39:58 +02:00
  • 8f70b74db9 Some tweaks in generate assets script Deve 2017-06-24 01:11:58 +02:00
  • 78b9b92efa Fixed gles compilation. Deve 2017-06-23 22:13:19 +02:00
  • a2d831c1ea Handle missing libopenglrecorder gracefully (#2867) QwertyChouskie 2017-06-22 17:27:29 -07:00
  • 59ae3e8e63 Added documentation. hiker 2017-06-22 17:39:56 +10:00
  • 95016d03f4 Removed unnecessary loop. hiker 2017-06-22 17:32:27 +10:00
  • 60bbd4951a Added more debug output. hiker 2017-06-22 09:54:55 +10:00
  • 72358371f7 Some fixes for video mode list on android. Deve 2017-06-19 22:41:53 +02:00
  • 1d8a709e38 Fix the --cutscene=<cutscene> commandline flag (#2861) Matthew Trescott 2017-06-17 18:49:00 -04:00
  • cfc506d0cf Merge pull request #2862 from MTres19/unlock_all_cmdline Deve 2017-06-17 18:04:36 +02:00
  • 3dee6ce5dd Add option to unlock everything (and disable that option) from the command line Matthew Trescott 2017-06-17 11:45:57 -04:00
  • 10e439b6a1 Clean up output (#2856) QwertyChouskie 2017-06-13 17:50:13 -07:00
  • dd9e361289 Stop startup time being accelerated in network games (which results in client and server to become out of synch). hiker 2017-06-14 08:28:06 +10:00
  • 283f3b94d3 Fixed tiem correctoin (which was in the wrong direction). hiker 2017-06-14 08:27:34 +10:00
  • ae19ade5e5 Add gradle support to android build script Deve 2017-06-13 22:04:55 +02:00
  • be00283b2e Fix a few compiler warnings (#2854) QwertyChouskie 2017-06-11 12:59:12 -07:00
  • e11641cd43 Minor correction in generate_assets script Deve 2017-06-08 21:44:17 +02:00
  • 72e7c5a4cb Updated unit testing for latest code changes, removed old/commented out code. hiker 2017-06-08 09:29:42 +10:00
  • 08cd8bf235 Added debug output. hiker 2017-06-08 09:17:34 +10:00
  • f772c090ec If a state from the server is received in the future (which can happen if the server is forced to a rewind), make sure to still replay the state. hiker 2017-06-07 22:09:22 +10:00