DEADSOFTWARE

d2df-sdl.git
11 months agomaster: disconnect clients immediately when appropriate
fgsfds [Mon, 5 Jun 2023 17:33:57 +0000 (17:33 +0000)]
master: disconnect clients immediately when appropriate

11 months agomaster: check client timeouts manually; fix channel processing
fgsfds [Mon, 5 Jun 2023 16:52:12 +0000 (16:52 +0000)]
master: check client timeouts manually; fix channel processing

11 months agomaster: add preprocessing for enet packets and more timeouts
fgsfds [Sat, 3 Jun 2023 09:44:24 +0000 (09:44 +0000)]
master: add preprocessing for enet packets and more timeouts

11 months agomaster: another iteration
fgsfds [Fri, 2 Jun 2023 20:53:21 +0000 (20:53 +0000)]
master: another iteration

11 months agomaster: validate versions, attempt to fix memory leaks on packets
fgsfds [Fri, 2 Jun 2023 19:43:26 +0000 (19:43 +0000)]
master: validate versions, attempt to fix memory leaks on packets

11 months agomaster: add banlist reload on SIGUSR1
fgsfds [Thu, 1 Jun 2023 22:19:01 +0000 (22:19 +0000)]
master: add banlist reload on SIGUSR1

11 months agomaster: rewrite
fgsfds [Thu, 1 Jun 2023 22:01:22 +0000 (22:01 +0000)]
master: rewrite

11 months agoEngine: Fix e_UpperDir() leaving a trailing backslash
Dmitry D. Chernov [Mon, 15 May 2023 12:21:33 +0000 (22:21 +1000)]
Engine: Fix e_UpperDir() leaving a trailing backslash
This fixes a bug with broken folder navigation in file lists.

11 months agoGame: Enlarge the map description textbox in the map selection menu
Dmitry D. Chernov [Mon, 15 May 2023 03:35:48 +0000 (13:35 +1000)]
Game: Enlarge the map description textbox in the map selection menu

11 months agoGame: Fix text preprocessing for the multiline text boxes
Dmitry D. Chernov [Mon, 15 May 2023 03:18:37 +0000 (13:18 +1000)]
Game: Fix text preprocessing for the multiline text boxes

12 months agoRename preserve DirType
Vasia-Assembler [Wed, 10 May 2023 13:46:50 +0000 (16:46 +0300)]
Rename preserve DirType

12 months agoAdd missing DirType to mapdef
Vasia-Assembler [Wed, 10 May 2023 13:21:31 +0000 (16:21 +0300)]
Add missing DirType to mapdef

12 months agonet: true elegant solution (by fgsfds)
TerminalHash [Sat, 6 May 2023 22:49:26 +0000 (01:49 +0300)]
net: true elegant solution (by fgsfds)

12 months agomaster: anti-overflow patch
TerminalHash [Sat, 6 May 2023 22:24:27 +0000 (01:24 +0300)]
master: anti-overflow patch

12 months agoman: add information about g_force_model
TerminalHash [Wed, 26 Apr 2023 11:10:40 +0000 (14:10 +0300)]
man: add information about g_force_model

12 months agoFix model override option not changing bots' models
Challenge9 [Tue, 25 Apr 2023 20:55:53 +0000 (23:55 +0300)]
Fix model override option not changing bots' models

12 months agogame: fix playermodel forcing
TerminalHash [Wed, 26 Apr 2023 10:44:48 +0000 (13:44 +0300)]
game: fix playermodel forcing
picked from https://github.com/Challenge9/doom2d-forever/commit/9575d93ae18fb2e7295fe44376f3621959a6463b
because the fork contains many changes that prevent the patch from being applied.

12 months agonet: a more elegant solution for d_*
TerminalHash [Wed, 26 Apr 2023 09:37:57 +0000 (12:37 +0300)]
net: a more elegant solution for d_*

12 months agonet: set values of debug commands to false when connecting to server
TerminalHash [Wed, 26 Apr 2023 09:20:26 +0000 (12:20 +0300)]
net: set values of debug commands to false when connecting to server

12 months agofix whitespace
TerminalHash [Tue, 25 Apr 2023 17:49:35 +0000 (20:49 +0300)]
fix whitespace

12 months agoAdd client-side model override option
Challenge9 [Tue, 25 Apr 2023 16:25:40 +0000 (19:25 +0300)]
Add client-side model override option

12 months agomans: update info about friendly options
TerminalHash [Thu, 13 Apr 2023 07:19:52 +0000 (10:19 +0300)]
mans: update info about friendly options

12 months agolanguage: fix friendly messages
TerminalHash [Thu, 13 Apr 2023 07:13:22 +0000 (10:13 +0300)]
language: fix friendly messages

12 months agoGame: Save 'scores' instead of 'p1_scores' to the options file
Dmitry D. Chernov [Wed, 12 Apr 2023 20:18:12 +0000 (06:18 +1000)]
Game: Save 'scores' instead of 'p1_scores' to the options file

12 months agoCosmetic: Replace "goal" with "score" everywhere in game code
Dmitry D. Chernov [Wed, 12 Apr 2023 19:19:09 +0000 (05:19 +1000)]
Cosmetic: Replace "goal" with "score" everywhere in game code

12 months agoman: update information about g_spawn_invul
TerminalHash [Mon, 10 Apr 2023 19:21:42 +0000 (22:21 +0300)]
man: update information about g_spawn_invul

12 months agoGame: Write CSV-files with round statistics in UTF-8 instead of the default ANSI...
Dmitry D. Chernov [Mon, 10 Apr 2023 19:20:43 +0000 (05:20 +1000)]
Game: Write CSV-files with round statistics in UTF-8 instead of the default ANSI codepage

13 months agoGame: Fix missing sound from the bubble effect in liquids
Dmitry D. Chernov [Mon, 10 Apr 2023 01:09:38 +0000 (11:09 +1000)]
Game: Fix missing sound from the bubble effect in liquids

13 months agoGame: Clarify more interface strings
Dmitry D. Chernov [Tue, 4 Apr 2023 09:18:45 +0000 (19:18 +1000)]
Game: Clarify more interface strings

13 months agobuild: do not force notes (fpc 3.2.x emit too many useless notes)
DeaDDooMER [Tue, 28 Mar 2023 14:11:39 +0000 (17:11 +0300)]
build: do not force notes (fpc 3.2.x emit too many useless notes)

13 months agosystem: fix stencil check
DeaDDooMER [Sun, 26 Mar 2023 12:20:54 +0000 (15:20 +0300)]
system: fix stencil check

13 months agoGame: Fixed missing check for the availability of stencil buffer
Dmitry D. Chernov [Thu, 23 Mar 2023 18:02:48 +0000 (04:02 +1000)]
Game: Fixed missing check for the availability of stencil buffer
This fixes experimental dynamic light effects ('light_enabled 1' and 'light_player_halo') which were broken by 0e101bd452c40da601236aaa2dd4106be47ddce1.
It's worth noting that they even work on my laptop's integrated video if I just set 'gwin_has_stencil' to True, even though the driver says it doesn't support stencils.
The discrete GPU on the same laptop reports it correctly.

13 months agoGame: Remove '--opengl-dump-exts' command-line switch
Dmitry D. Chernov [Thu, 23 Mar 2023 17:19:14 +0000 (03:19 +1000)]
Game: Remove '--opengl-dump-exts' command-line switch
This had no effect whatsoever since 0e101bd452c40da601236aaa2dd4106be47ddce1.

13 months agoGame: Change some interface strings
Dmitry D. Chernov [Wed, 22 Mar 2023 07:58:23 +0000 (17:58 +1000)]
Game: Change some interface strings

13 months agoGame: Swap the "Custom Game" and "Campaign Select" menu items in "New Game"
Dmitry D. Chernov [Wed, 22 Mar 2023 06:48:50 +0000 (16:48 +1000)]
Game: Swap the "Custom Game" and "Campaign Select" menu items in "New Game"

13 months agoosx: fix build with fmodex
DeaDDooMER [Wed, 15 Mar 2023 15:03:35 +0000 (18:03 +0300)]
osx: fix build with fmodex

13 months agoenet: fix build
DeaDDooMER [Wed, 15 Mar 2023 12:38:43 +0000 (15:38 +0300)]
enet: fix build

13 months agoNet: Don't process network in ProcessLoading() for client's code
Dmitry D. Chernov [Mon, 13 Mar 2023 21:43:46 +0000 (07:43 +1000)]
Net: Don't process network in ProcessLoading() for client's code
This should fix freezing problems with downloading maps and their resources from the server:
https://doom2d.org/forum/viewtopic.php?f=36&t=2366
Also performed a bit of cosmetics and unmuted some warnings.

13 months agonet: anti full state spam (by fgsfds)
TerminalHash [Sat, 11 Mar 2023 09:26:24 +0000 (12:26 +0300)]
net: anti full state spam (by fgsfds)

13 months agoman: remove some categories from d2df.2 and small update of exec commands
TerminalHash [Sat, 11 Mar 2023 08:56:11 +0000 (11:56 +0300)]
man: remove some categories from d2df.2 and small update of exec commands

13 months agog_player: Simplify weapon visibility flag in TPlayer.NetFire()
Dmitry D. Chernov [Sat, 11 Mar 2023 08:13:35 +0000 (18:13 +1000)]
g_player: Simplify weapon visibility flag in TPlayer.NetFire()

13 months agolib: Replace the modified ENet header with the original and up-to-date one as a Git...
Dmitry D. Chernov [Sat, 11 Mar 2023 06:45:21 +0000 (16:45 +1000)]
lib: Replace the modified ENet header with the original and up-to-date one as a Git submodule

14 months agoman: remove old manual (wtf these notebook?)
TerminalHash [Wed, 8 Mar 2023 12:47:11 +0000 (15:47 +0300)]
man: remove old manual (wtf these notebook?)

14 months agoman: more manuals for god of manuals!
TerminalHash [Wed, 8 Mar 2023 12:45:30 +0000 (15:45 +0300)]
man: more manuals for god of manuals!

14 months agogame: fix bullet scattering
DeaDDooMER [Tue, 28 Feb 2023 17:26:46 +0000 (20:26 +0300)]
game: fix bullet scattering

14 months agogame: fix bfg ball offset
DeaDDooMER [Mon, 27 Feb 2023 00:21:49 +0000 (03:21 +0300)]
game: fix bfg ball offset

14 months agogame: fix fireball alignment spawned by triggers
DeaDDooMER [Wed, 22 Feb 2023 12:50:49 +0000 (15:50 +0300)]
game: fix fireball alignment spawned by triggers

14 months agogame: create baron fireball with size 16x16
DeaDDooMER [Tue, 21 Feb 2023 22:09:39 +0000 (01:09 +0300)]
game: create baron fireball with size 16x16

14 months agorpm: fix wrong parameter for headless
TerminalHash [Sun, 12 Feb 2023 01:17:14 +0000 (04:17 +0300)]
rpm: fix wrong parameter for headless

15 months agomacos: change year in plist
TerminalHash [Tue, 7 Feb 2023 16:05:22 +0000 (19:05 +0300)]
macos: change year in plist

15 months agogui: do not allow rebind `togglemenu` via menu
DeaDDooMER [Tue, 7 Feb 2023 15:35:46 +0000 (18:35 +0300)]
gui: do not allow rebind `togglemenu` via menu

15 months agogui: allow to bind ENTER/PADENTER via menu
DeaDDooMER [Tue, 7 Feb 2023 15:10:55 +0000 (18:10 +0300)]
gui: allow to bind ENTER/PADENTER via menu

15 months agosdl: fix modifier keys on osx
DeaDDooMER [Mon, 6 Feb 2023 14:36:47 +0000 (17:36 +0300)]
sdl: fix modifier keys on osx

15 months agosdl: fix build on OSX 64 bit
DeaDDooMER [Thu, 2 Feb 2023 20:57:43 +0000 (23:57 +0300)]
sdl: fix build on OSX 64 bit

15 months agosdl: fix
DeaDDooMER [Thu, 2 Feb 2023 20:06:09 +0000 (23:06 +0300)]
sdl: fix

15 months agoengine: remove key Meta
DeaDDooMER [Thu, 2 Feb 2023 19:57:32 +0000 (22:57 +0300)]
engine: remove key Meta

15 months agosdl: fix player controls on OSX 10.5
DeaDDooMER [Thu, 2 Feb 2023 19:27:30 +0000 (22:27 +0300)]
sdl: fix player controls on OSX 10.5

15 months agolanguage: update year in credits (for justice!)
TerminalHash [Sun, 22 Jan 2023 23:01:46 +0000 (02:01 +0300)]
language: update year in credits (for justice!)

19 months agotools: fix build with sdl2
DeaDDooMER [Sat, 24 Sep 2022 16:42:13 +0000 (19:42 +0300)]
tools: fix build with sdl2

21 months agogame: fix screenshot size
DeaDDooMER [Fri, 29 Jul 2022 16:13:08 +0000 (19:13 +0300)]
game: fix screenshot size

21 months agoquote fix
DeaDDooMER [Mon, 18 Jul 2022 00:31:45 +0000 (03:31 +0300)]
quote fix

21 months agodebug: write build arch to log
DeaDDooMER [Mon, 18 Jul 2022 00:20:16 +0000 (03:20 +0300)]
debug: write build arch to log

21 months agosdl: disable x11 dependency on osx
DeaDDooMER [Thu, 14 Jul 2022 15:21:19 +0000 (18:21 +0300)]
sdl: disable x11 dependency on osx

21 months agosdlmixer: more midi configuration
DeaDDooMER [Thu, 14 Jul 2022 01:30:35 +0000 (04:30 +0300)]
sdlmixer: more midi configuration

21 months agosdl: fix build on linux
DeaDDooMER [Thu, 14 Jul 2022 00:16:51 +0000 (03:16 +0300)]
sdl: fix build on linux

21 months agoal: fix 16bit wav sounds on big endian with sdl 1.2
DeaDDooMER [Wed, 13 Jul 2022 14:21:04 +0000 (17:21 +0300)]
al: fix 16bit wav sounds on big endian with sdl 1.2

21 months agosdl1/2: fix invalid window title
DeaDDooMER [Wed, 13 Jul 2022 14:20:06 +0000 (17:20 +0300)]
sdl1/2: fix invalid window title

21 months agomixer: allow to use sdl 1.2 + sdl_mixer
DeaDDooMER [Wed, 13 Jul 2022 12:57:21 +0000 (15:57 +0300)]
mixer: allow to use sdl 1.2 + sdl_mixer

22 months agoMan: smol howto.
TerminalHash [Sun, 26 Jun 2022 18:58:58 +0000 (21:58 +0300)]
Man: smol howto.
And fix file modes for some rpm res.

22 months agoOptions: update third masterserv.
TerminalHash [Sun, 26 Jun 2022 18:22:26 +0000 (21:22 +0300)]
Options: update third masterserv.

22 months agoMan: update links.
TerminalHash [Sun, 26 Jun 2022 18:18:24 +0000 (21:18 +0300)]
Man: update links.

2 years agogame: add g_max_bots
fgsfds [Mon, 2 May 2022 14:05:08 +0000 (17:05 +0300)]
game: add g_max_bots

2 years agonet: add 'an' as an alias for announce
fgsfds [Mon, 2 May 2022 13:51:28 +0000 (16:51 +0300)]
net: add 'an' as an alias for announce

2 years agonet: add 'announce' command
fgsfds [Mon, 2 May 2022 13:44:59 +0000 (16:44 +0300)]
net: add 'announce' command

2 years agographics: fix screenshots when r_resolution_scale != 1
fgsfds [Mon, 2 May 2022 12:01:00 +0000 (15:01 +0300)]
graphics: fix screenshots when r_resolution_scale != 1

2 years agonet: don't ban people for timing out by default
fgsfds [Fri, 15 Apr 2022 23:42:33 +0000 (02:42 +0300)]
net: don't ban people for timing out by default

2 years agonet: make packet timeout less aggressive
fgsfds [Fri, 15 Apr 2022 23:28:12 +0000 (02:28 +0300)]
net: make packet timeout less aggressive

2 years agoFix crash in some commands
travi$ [Sun, 27 Mar 2022 18:15:40 +0000 (21:15 +0300)]
Fix crash in some commands

2 years agoAlways switch to berserk
travi$ [Sun, 27 Mar 2022 18:13:33 +0000 (21:13 +0300)]
Always switch to berserk

2 years agoweapbest: skip empty
travi$ [Sun, 27 Mar 2022 16:11:46 +0000 (19:11 +0300)]
weapbest: skip empty

2 years agoFix empty weapon switching
travi$ [Sun, 27 Mar 2022 16:07:55 +0000 (19:07 +0300)]
Fix empty weapon switching

2 years agoPlayer: Fix compiler warnings
Stas'M [Sun, 27 Mar 2022 12:58:55 +0000 (15:58 +0300)]
Player: Fix compiler warnings

Also fix some warnings in other files.

2 years agoFix preferences sync
travi$ [Sun, 27 Mar 2022 09:32:28 +0000 (12:32 +0300)]
Fix preferences sync

2 years agoFix BFG and SSG empty switching
travi$ [Sun, 27 Mar 2022 08:57:34 +0000 (11:57 +0300)]
Fix BFG and SSG empty switching

2 years agoOptions: add third masterserver (by TerminalHash) in config.
Dmitry Lyashuk [Sat, 26 Mar 2022 18:31:28 +0000 (21:31 +0300)]
Options: add third masterserver (by TerminalHash) in config.

2 years agoFix empty switching
travi$ [Sat, 26 Mar 2022 18:04:47 +0000 (21:04 +0300)]
Fix empty switching

2 years agoAdd option to skip fist switching
travi$ [Sat, 26 Mar 2022 17:41:05 +0000 (20:41 +0300)]
Add option to skip fist switching

2 years agoAdd weapbest command
travi$ [Sat, 26 Mar 2022 16:46:38 +0000 (19:46 +0300)]
Add weapbest command

2 years agoMake autoswitch server-side. Add option to skip empty weapons by travi$
Dmitry Lyashuk [Sat, 26 Mar 2022 14:20:22 +0000 (17:20 +0300)]
Make autoswitch server-side. Add option to skip empty weapons by travi$

2 years agoplayer: fix frag decrement on suicide
DeaDDooMER [Fri, 25 Mar 2022 21:03:23 +0000 (00:03 +0300)]
player: fix frag decrement on suicide

2 years agoGame: subtraction points by suicide in team
Dmitry Lyashuk [Fri, 25 Mar 2022 18:45:19 +0000 (21:45 +0300)]
Game: subtraction points by suicide in team

2 years agoFix "by priority" in russian lang.
Dmitry Lyashuk [Fri, 25 Mar 2022 17:25:15 +0000 (20:25 +0300)]
Fix "by priority" in russian lang.

2 years agoGame: improving weapon autoswitch, added rotation by travi$
Dmitry Lyashuk [Fri, 25 Mar 2022 17:22:39 +0000 (20:22 +0300)]
Game: improving weapon autoswitch, added rotation by travi$

2 years agoNet: improving anti-autism measures by travi$
Dmitry Lyashuk [Thu, 24 Mar 2022 19:46:58 +0000 (22:46 +0300)]
Net: improving anti-autism measures by travi$

2 years agoGame: Weapon autoswitch by travi$
Dmitry Lyashuk [Thu, 24 Mar 2022 19:45:38 +0000 (22:45 +0300)]
Game: Weapon autoswitch by travi$

2 years agothese are msecs, not frames
fgsfds [Mon, 21 Mar 2022 16:48:29 +0000 (19:48 +0300)]
these are msecs, not frames

2 years agonet: free peer data before disconnect
fgsfds [Mon, 21 Mar 2022 16:46:56 +0000 (19:46 +0300)]
net: free peer data before disconnect

2 years agonet: force-kick penalized clients
fgsfds [Mon, 21 Mar 2022 16:41:58 +0000 (19:41 +0300)]
net: force-kick penalized clients

2 years agonet: kick clients if they take too long to auth
fgsfds [Mon, 21 Mar 2022 16:21:11 +0000 (19:21 +0300)]
net: kick clients if they take too long to auth

2 years agonet: log connection attempts
fgsfds [Mon, 21 Mar 2022 15:56:07 +0000 (18:56 +0300)]
net: log connection attempts