Commit graph

102 commits

Author SHA1 Message Date
def 165857a5a8 Fix variable names manually 2020-11-02 22:40:40 +01:00
def b1f0fd8969 Enable modernize-loop-convert clang-tidy check
and run clang-format afterwards

https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html
2020-11-02 22:40:24 +01:00
def 3be8a592e5 Run clang-format
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:

$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
Arda Demir 35995322d7 Add +resetdummy 2020-08-13 11:19:13 +03:00
jupeyy 8a8674b545 fix min mouse pos for follow factor 2019-12-19 00:26:54 +01:00
ChillerDragon 96c9b1ab73 Rename rifle to laser
This makes it easier to copy code from/to 0.7
23df3c609e
2019-11-22 15:37:18 +01:00
heinrich5991 f31e081bd4 Remove all checking for the gametype in the game
OK, maybe not actually remove because it is kept for fallback when the
new method isn't available.

The whole gametype parsing business had the same downsides as user agent
parsing on the web, hence I removed it while keeping behavior the same.

This allows servers to explicitly opt in or out of certain bug
workarounds and other client behavior. This increases the complexity of
different configurations that are available in the client (which is a
bad thing).
2019-06-14 00:28:59 +02:00
Learath 93d14a1eca Inconvenience for windows 2019-04-26 22:36:49 +03:00
def 94f3d97ddf Remove unmaintained Android code (fixes #1575) 2019-04-10 19:40:50 +02:00
def e31561eb47 cl_mouse_min_distance as requested by Makoyuri
also cl_dyncam_min_distance
2019-04-04 20:19:37 +02:00
def f05c56d6ce Fix cl_dyncam_mousesens
should only have an effect ingame, not in menus or editor
2019-01-11 09:40:04 +01:00
def bcdec941da Update view target when spectating with chat open
Thanks to ReiTW for reporting and illustrating the bug:
https://www.youtube.com/watch?v=LKicYqtqJbQ
2018-12-29 00:05:05 +01:00
def 07460ede9e cl_control_dummy -> cl_dummy_control 2018-04-03 18:12:27 +02:00
清歌 c976e6d017
Provide more controlable command for dummy
When g_Config.m_ClControlDummy id 1, we can control dummy by toggle g_Config.m_ClDummyJump or another to 1 or 0.
2018-03-14 20:14:18 +08:00
def f352daf00d Allow moving mouse while spectating and typing (fixes #798) 2017-07-21 19:24:18 +02:00
def f3a44995cf Don't stop movement after opening player list 2017-07-15 19:53:29 +02:00
def 8b5ee98193 Handle input reset on chat correctly on DDNet servers and other servers 2017-07-10 22:24:40 +02:00
def 4125941896 Disable dbg_stress in release builds (fewer confused kids that think they hacked the server, less useless code in cache) 2017-06-02 20:45:09 +02:00
heinrich5991 e08ca70b1f Fix dummy input reset 2017-03-06 19:45:39 +01:00
heinrich5991 e3f2316106 Revert "Revert "Refactor dummy input and demo filtering""
This reverts commit 187560c8c0.
2017-02-28 10:08:14 +01:00
Dennis Felsing 187560c8c0 Revert "Refactor dummy input and demo filtering"
This reverts commit 8375f4888e.
2017-02-28 08:15:35 +01:00
heinrich5991 8375f4888e Refactor dummy input and demo filtering
Remove references to src/game/ from src/engine/
2017-02-23 14:13:14 +01:00
def 61e47422f6 Clean up debug messages a bit (lower case, no useless errors) 2016-05-02 21:35:32 +02:00
def 2cc236cb8c Make spectator work again 2016-04-30 21:28:44 +02:00
def 644fec7e55 Resize window without restarting client 2016-04-30 17:59:58 +02:00
H-M-H 50c80a1cfb classmembers shall start with m_ ! 2015-11-09 20:27:18 +01:00
def 1dddf42cbb Simplify Dyncam and fix #311 2015-08-27 20:26:05 +02:00
def 9c1e65a1f5 Clean up a bit and hopefully fix player move on dummy connect 2015-04-19 14:06:31 +02:00
Tobii b309fd41eb Added copy moves function for dummy 2015-02-16 11:19:42 +01:00
def 8b108a2311 Clean up gametype determination 2014-12-10 03:39:15 +01:00
def 71eb763e53 Fix: Don't autoswitch weapons on (dd)race(network) servers (fixes #57) 2014-10-26 02:01:03 +01:00
def 607a27718e Revert "Removed InputData Array"
This reverts commit 83f6fc70fa.
2014-10-12 17:52:53 +02:00
Tomew 83f6fc70fa Removed InputData Array 2014-10-12 17:19:09 +02:00
laxa 718e45d84d Added cl_reset_wanted_weapon_on_death 2014-09-21 14:11:27 +02:00
def 886044532b Only disable user inputs in race mods 2014-09-13 12:31:39 +02:00
def bb6c3ba951 Ignore user inputs when paused 2014-09-07 01:53:20 +02:00
def e320d2a455 New Android fix try 2014-08-27 03:57:14 +02:00
def 29ef486c55 Fix Android gamepad 2014-08-27 03:49:42 +02:00
def 91e8eed73d Don't reset wanted weapon on kill (by laxa) 2014-08-24 03:05:01 +02:00
def 5b058b9941 Disable joystick on non-android by default 2014-08-17 16:33:43 +02:00
CookieMichal 3274fca115 [Fixed] Warning C4805
Warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation
2014-07-09 00:12:32 +02:00
def bbe597ef04 Add cl_dummy_resetonswitch 2014-07-08 01:41:45 +02:00
def 7875c2ec36 Android support (by Pelya) 2014-06-16 13:29:18 +02:00
def 62c474b489 Fix: Player keeps looking at the same position when paused 2014-05-22 17:03:52 +02:00
def 50ceebee23 Fix: Weapon switching with dummy 2014-05-10 18:22:51 +02:00
def 5b1c866b35 Feature: Separate inputs for dummy and player 2014-05-10 14:31:00 +02:00
def c4118a3878 Fix: Make inputs work 100% when you're in freeze.
This was random before, now these parts are a lot more reasonable
Client-side fix so it works on all servers
2014-04-30 15:21:23 +02:00
def 832932c295 Fix: Dummy shouldn't shoot after toggling 2014-04-28 18:21:10 +02:00
def 99a086200f Only keep holding hook, reset all other keys on /pause and chat 2014-02-18 22:26:17 +01:00
def 36568b97f2 Don't stop hooking when player is chatting 2014-01-26 01:53:53 +01:00