Commit graph

1821 commits

Author SHA1 Message Date
Väinö Mäkelä cb84cf2216 Improve the handling of invalid skins.
CDataFileReader::Open(): Check the return status of io_read()
before reading the buffer, to avoid reading uninitialized data
in case the file was shorter than a full header.

CSkins::SkinScan(): Check that the image is high enough.
2016-01-17 10:48:21 +02:00
def ac61c8fed5 Format cl_showid a bit nicer 2016-01-10 22:35:14 +01:00
H-M-H 8e24ef8020 commanddescription can now be placed directly in
the commandparamsstring: "s[file]"
2015-12-28 16:19:52 +01:00
H-M-H 11a426c18b added (console-)command usage 2015-12-23 14:29:31 +01:00
H-M-H c38cba9bd0 Merge pull request #373 from H-M-H/eyewheel
Eyewheel (by Chairn and CytraL)
2015-12-01 14:02:22 +01:00
H-M-H b3b38dd0d3 minior cleanup of eyewheel 2015-11-16 21:15:37 +01:00
H-M-H 2fbccb8133 Merge pull request #366 from nzyuzin/master
Reset statboard after a game restart
2015-11-15 19:09:43 +01:00
heinrich5991 31d9b8d001 Cleanup of #369 2015-11-15 14:40:07 +00:00
user578 403114906a Changed comment. 2015-11-15 02:44:40 +03:00
H-M-H 0af5af2f0f fixed eyewheel (originally from Chairn) 2015-11-15 00:31:24 +01:00
H-M-H 8d9dd65f0b Merge branch 'master' into pr/317 2015-11-15 00:05:04 +01:00
user578 2c48229370 Fix wrong calculation of weapon Angle in demo player. Changed constants to pi. 2015-11-14 19:34:48 +03:00
user578 670a028815 Fix wrong calculation of weapon Angle in demo player 2015-11-13 23:38:49 +03:00
Nikita Zyuzin e63e9eed54 Replace diff > 2 with != in RoundStartTick comparison 2015-11-13 14:40:02 +04:00
Nikita Zyuzin d7f2fc95e7 Reset statboard after a game restart
Fixes #335
2015-11-12 13:06:05 +04:00
H-M-H f0d10ac62d better get dummyinput directly from CControls 2015-11-10 20:29:12 +01:00
H-M-H 50c80a1cfb classmembers shall start with m_ ! 2015-11-09 20:27:18 +01:00
timgame dc89301292 clean up intersect line code 2015-11-08 10:20:44 +01:00
timgame 988a8f591a remove colflags 2015-11-08 10:20:10 +01:00
Tim Schumacher 201782dbfc changed setting==0 to !setting 2015-11-07 20:17:41 +01:00
Tim Schumacher cbffcd4126 Merge pull request #340 from rbmz/master
cl_text_entities (show/hide text in entities) for performance
2015-11-07 20:13:21 +01:00
H-M-H bf8aea3857 Merge pull request #333 from heinrich5991/pr_ddnet_antiping_no_reset
Don't reset `cl_antiping` subconfig on restart
2015-10-22 00:01:28 +02:00
Tim Schumacher 878f8ef872 Merge pull request #343 from cinaera/pr_layer_render
Fix duplicated rendering of the game layers and cleanup outdated code
2015-10-21 02:50:03 +02:00
Henningstone 6fa6190f84 Fix menus music playing ingame, closes #349 2015-10-16 19:31:01 +02:00
Tim Schumacher edb2270ca1 removed include iostream 2015-10-07 20:10:19 +01:00
timgame fb8778c717 only reload servers when changing tab 2015-10-07 20:10:02 +01:00
BeaR 37c6454473 Fix duplicated rendering of the game layers and cleanup outdated code 2015-10-05 12:51:19 +02:00
rbmz 1e47102aef cl_text_entities (show/hide text in entities) for performance
Signed-off-by: rbmz <rbmz@users.noreply.github.com>
2015-09-28 01:04:57 -03:00
def 24f973613a Fix menu 2015-09-26 01:15:08 +02:00
Chairn 947cca37d6 Added cl_eye_duration to set the duration of eye emote. 2015-09-11 15:41:53 +02:00
heinrich5991 ba4eab1f1c Don't reset antiping subconfiguration on startup 2015-09-10 12:09:38 +01:00
def 96f2a380f6 Get rid of warning 2015-09-05 04:52:18 +02:00
def 40a36a3063 Minor fix 2015-09-04 11:22:19 +02:00
Chairn 3552e1a042 Added eye wheel. Render only on ddrace/race/ictf+/dm+/gctf+ server. 2015-08-30 21:42:16 +02:00
def ed49e3214a Some more minor settings menu fixes 2015-08-28 20:44:07 +02:00
def 865d50950d Put space more to left in editor browser 2015-08-28 20:34:19 +02:00
def ecc9cbfe99 Fix background map in settings in 5:4 resolution 2015-08-28 20:26:39 +02:00
def ecfa185601 Fix settings positioning 2015-08-28 01:18:45 +02:00
def f46767cfae Fix: Mousesens in UI independent of Dyncam 2015-08-27 22:19:25 +02:00
def 8c0febdd41 Another dyncam fix 2015-08-27 21:56:41 +02:00
def 043d718698 Fix dyncam mousesens 2015-08-27 21:52:10 +02:00
def 703f1bc99d Hopefully fix Android compilation 2015-08-27 20:52:06 +02:00
def 1dddf42cbb Simplify Dyncam and fix #311 2015-08-27 20:26:05 +02:00
east ff09eff526 arrow up/down in demo browser 2015-08-27 16:59:36 +02:00
def 1ed044fe0d Fix up and down keys in server browser 2015-08-27 16:42:21 +02:00
def 8511a4d1f4 No magic string 2015-08-27 16:32:45 +02:00
def 7693d8d9d6 Fix invalid free with %current% 2015-08-27 16:32:28 +02:00
def e662a09b7a White space cleanup, DOS->UNIX 2015-08-27 16:28:34 +02:00
def c1ca91560e Improve settings menu a bit 2015-08-27 16:20:16 +02:00
Dennis Felsing a32aca50bf Merge pull request #306 from Chairn/pr_custom_background
Added custom background in entities mod.
2015-08-27 16:08:46 +02:00
def f27ee72d2d Remove unused variables 2015-08-27 15:34:33 +02:00
def 33f20d7dd3 Indentation fixes 2015-08-27 15:33:24 +02:00
east cb4909d656 Changed Created: info 2015-08-27 15:05:24 +02:00
east 675c6eb1e0 Demo browser column listbox added 2015-08-27 15:05:24 +02:00
east da17b795c5 progress on column listbox 2015-08-27 15:05:24 +02:00
Chairn 4b270771bf Added string+box in ddnet menu. Added 10 secs protection for loading. 2015-08-27 09:13:43 +02:00
Chairn d699cbe94b Reorganized class. Does not reload current map. 2015-08-27 06:27:55 +02:00
Chairn 8b8ba7b860 Added variable for tile background. Improved a lil bit maplayers. 2015-08-27 00:52:50 +02:00
Chairn 70a2cfa4ea Added custom background in entities. 2015-08-27 00:52:31 +02:00
def d1fddc11ea Fix disabling spec window 2015-08-26 19:35:00 +02:00
def fe22edadaa Hide console window on Windows by default 2015-08-26 12:40:50 +02:00
def b32a939a9e Set more reasonable default dyncam sensitivity and rename config variables for dyncam 2015-08-24 23:22:20 +02:00
Dennis Felsing 44e7e2834f Merge pull request #284 from Chairn/upstream
Fixed double clicking on friend when friend was on top server.
2015-08-23 23:18:32 +02:00
oy 70ca6f220c fixed frozen input when leaving a server with active chat 2015-08-22 21:53:00 +02:00
def 902e4b7487 Also use map name by default for manual demo recording 2015-08-22 17:36:47 +02:00
def db2256e827 Fix a few whitespace-at-end-of-file issues 2015-08-22 15:27:41 +02:00
Dennis Felsing d4ccc4728b Merge pull request #291 from cinaera/pr_editor_scale
HSV color picker for quad points
2015-08-22 15:20:29 +02:00
def 321f0d210a Fix race recorder, make it remove tmp files consistently and clean it up a bit 2015-08-22 15:09:19 +02:00
Learath2 aa195955be Don't highlight your own messages. 2015-08-20 17:01:34 +03:00
east 8dec8d7890 Fixed chat highlighting 2015-08-17 21:35:12 +02:00
BeaR a4cfc10898 Implement an HSV picker for color of quad points 2015-08-17 20:14:23 +02:00
Chairn f3a82b0c98 Fixed double clicking on friend when friend was on top server. 2015-08-14 19:25:45 +02:00
Dennis Felsing 37256d6e2c Merge pull request #283 from savander/DDRace64
Improvements for demoplayer (pause/unpause demo is bindable) + you can hide scoreboard after death
2015-08-13 17:25:57 +02:00
def 547274b806 Add cl_chat_reset, which can be set to 0 so that chat is not reset when pressing escape 2015-08-12 17:03:27 +02:00
Adam Jaworski ab6f522aa5 Whether to show scoreboard after death or not 2015-08-12 11:30:26 +02:00
H-M-H 0086d19276 added Notifications for osx 2015-08-11 03:14:27 +02:00
Dennis Felsing a0d1d8b744 Merge pull request #275 from nzyuzin/variables_h_naming
Add prefix Cl to dummy and player variables
2015-08-06 22:28:22 +02:00
Nikita Zyuzin 0b9e2f144c Add prefix Cl to dummy and player variables 2015-08-07 00:16:33 +04:00
Dennis Felsing b122b569bd Merge pull request #274 from nzyuzin/variables_h_naming
Correct names in variables.h
2015-08-06 21:54:58 +02:00
Nikita Zyuzin 89536b10a3 Update dyncam variable names 2015-08-06 23:44:54 +04:00
def 348ac53226 Bind chat on enter/return by default as well 2015-08-05 15:34:08 +02:00
def 8203c5378d Merge branch 'master' of github.com:def-/ddnet 2015-08-01 20:16:46 +02:00
def 8d216d8de1 Only print MOTD to console when it's not empty 2015-08-01 20:16:34 +02:00
Nikita Zyuzin 06c4470081 Don't use OldMousesens if it wasn't initialized 2015-08-01 09:08:25 +04:00
Nikita Zyuzin e89843d811 Update dyncam to have special mousesens 2015-08-01 09:01:54 +04:00
def 6a2cc86d50 Sort spectators by name 2015-07-28 23:30:23 +02:00
def d9f712bfcb Print MOTD to console 2015-07-27 03:57:21 +02:00
def dfcb9beabd Visually tell tees apart that you can't spectate 2015-07-26 18:52:53 +02:00
def cd267f53d8 Improve follow button a bit 2015-07-26 18:37:31 +02:00
def 791e260e65 Fix spectating in demo viewer and add a button to choose to follow a player 2015-07-26 18:21:51 +02:00
def e6db197183 Fix scroll bar in server control votes when search bar is used 2015-07-25 18:43:54 +02:00
def d570683b5a TAB in console doesn't influence menu (fixes #239) 2015-07-24 01:28:19 +02:00
def e97c8ac08f Add foes (permanently ignored players) 2015-07-22 22:16:49 +02:00
def 1af5507b95 Allow spectating other players and freeview in demo player (especially fun with /showall and /showothers on) 2015-07-22 21:32:02 +02:00
east d12c516508 fixed highlighting in demo playback 2015-07-22 15:37:00 +02:00
def cc63e9fc89 Fix demo cutter to add .demo file ending 2015-07-14 13:43:44 +02:00
def 2077a4f83e Add a string for localization 2015-07-14 13:43:24 +02:00
def 242f47e03e Fix statboard a bit more! 2015-07-10 22:12:20 +02:00
def 4efaa85e7a Stop showing statboard after key has been released (fixes #219) 2015-07-09 20:38:23 +02:00
def 1aeea28459 Fix statboard size for 4:3 and 5:4 screens (fixes #211) 2015-07-09 20:33:26 +02:00