DEADSOFTWARE

d2df-sdl.git
5 years agonet: some more code for master-comm; init/deinit enet on engine startup/shutdown
Ketmar Dark [Tue, 15 Oct 2019 19:44:57 +0000 (22:44 +0300)]
net: some more code for master-comm; init/deinit enet on engine startup/shutdown

5 years agonet: more master-comm code mutilation; very primitive support for multiple masters...
Ketmar Dark [Tue, 15 Oct 2019 19:07:19 +0000 (22:07 +0300)]
net: more master-comm code mutilation; very primitive support for multiple masters in server list fetching

5 years agonet: started master-server communication rewrite (phase 1: master i/o moved to separa...
Ketmar Dark [Tue, 15 Oct 2019 16:22:01 +0000 (19:22 +0300)]
net: started master-server communication rewrite (phase 1: master i/o moved to separate object)

5 years agooops. add vampimg.inc.
DeaDDooMER [Sun, 13 Oct 2019 18:33:11 +0000 (21:33 +0300)]
oops. add vampimg.inc.

5 years agofix building holmes and tools
DeaDDooMER [Sun, 13 Oct 2019 18:25:10 +0000 (21:25 +0300)]
fix building holmes and tools

5 years agonet: added useless wall of text into initial player spawning packet handler. writing...
Ketmar Dark [Sun, 13 Oct 2019 17:56:22 +0000 (20:56 +0300)]
net: added useless wall of text into initial player spawning packet handler. writing comments is way easier than writing the real code.

5 years agoupdate README. vampimg paths now are specified in Doom2DF.lpr
DeaDDooMER [Sun, 13 Oct 2019 17:48:18 +0000 (20:48 +0300)]
update README. vampimg paths now are specified in Doom2DF.lpr

5 years agosdl2sys: removed compiler warning (fpc warnings sux)
Ketmar Dark [Sun, 13 Oct 2019 16:36:59 +0000 (19:36 +0300)]
sdl2sys: removed compiler warning (fpc warnings sux)

5 years agofix building with USE_SYSSTUB + USE_SDLMIXER
DeaDDooMER [Sun, 13 Oct 2019 15:30:18 +0000 (18:30 +0300)]
fix building with USE_SYSSTUB + USE_SDLMIXER

5 years agofix building tools
DeaDDooMER [Sun, 13 Oct 2019 15:03:50 +0000 (18:03 +0300)]
fix building tools

5 years agoadd stub opengl wrapper and remove nanogl wrapper.
DeaDDooMER [Sun, 13 Oct 2019 00:31:05 +0000 (03:31 +0300)]
add stub opengl wrapper and remove nanogl wrapper.

5 years agouse sdl2 as default driver
DeaDDooMER [Sat, 12 Oct 2019 23:11:41 +0000 (02:11 +0300)]
use sdl2 as default driver

5 years agoforce stub system driver for headless mode
DeaDDooMER [Sat, 12 Oct 2019 20:45:09 +0000 (23:45 +0300)]
force stub system driver for headless mode

5 years agofix stub system driver and some warnings
DeaDDooMER [Sat, 12 Oct 2019 20:26:16 +0000 (23:26 +0300)]
fix stub system driver and some warnings

5 years agofix android
DeaDDooMER [Sat, 12 Oct 2019 19:33:23 +0000 (22:33 +0300)]
fix android

5 years agofix regresion: holmes with sdl2
DeaDDooMER [Wed, 9 Oct 2019 19:52:33 +0000 (22:52 +0300)]
fix regresion: holmes with sdl2

5 years agofix regression: check gl extensions
DeaDDooMER [Wed, 9 Oct 2019 15:40:26 +0000 (18:40 +0300)]
fix regression: check gl extensions

5 years agoadd joysticks for sdl 1.2
DeaDDooMER [Tue, 8 Oct 2019 21:13:08 +0000 (00:13 +0300)]
add joysticks for sdl 1.2

5 years agorevive sdl2 system driver
DeaDDooMER [Tue, 8 Oct 2019 19:59:52 +0000 (22:59 +0300)]
revive sdl2 system driver

5 years agofix inf loop in GetLines on game start
DeaDDooMER [Tue, 8 Oct 2019 16:04:31 +0000 (19:04 +0300)]
fix inf loop in GetLines on game start

5 years agofix 16-bit wav sounds on big-endian machines
DeaDDooMER [Mon, 7 Oct 2019 20:27:05 +0000 (23:27 +0300)]
fix 16-bit wav sounds on big-endian machines

5 years agofix link libraries on osx
DeaDDooMER [Mon, 7 Oct 2019 19:07:11 +0000 (22:07 +0300)]
fix link libraries on osx

5 years agoadd cvars that allows window resizing
DeaDDooMER [Mon, 7 Oct 2019 16:15:02 +0000 (19:15 +0300)]
add cvars that allows window resizing

5 years agoread dfconfig.cfg before init
DeaDDooMER [Mon, 7 Oct 2019 16:13:44 +0000 (19:13 +0300)]
read dfconfig.cfg before init

5 years agoimprove text input
DeaDDooMER [Sun, 6 Oct 2019 22:03:09 +0000 (01:03 +0300)]
improve text input

5 years agofix network on big-endian machines
DeaDDooMER [Sun, 6 Oct 2019 20:41:59 +0000 (23:41 +0300)]
fix network on big-endian machines

5 years agoadd text input for SDL 1.2
DeaDDooMER [Sun, 6 Oct 2019 20:06:45 +0000 (23:06 +0300)]
add text input for SDL 1.2

5 years agosound stub driver: disable error messages in log
DeaDDooMER [Sun, 6 Oct 2019 16:30:08 +0000 (19:30 +0300)]
sound stub driver: disable error messages in log

5 years agovampimg endianess fixes
DeaDDooMER [Sun, 6 Oct 2019 14:03:22 +0000 (17:03 +0300)]
vampimg endianess fixes

5 years agofix building for osx
DeaDDooMER [Sun, 6 Oct 2019 10:14:43 +0000 (13:14 +0300)]
fix building for osx

5 years agoadd stub sound driver
DeaDDooMER [Sun, 6 Oct 2019 09:58:15 +0000 (12:58 +0300)]
add stub sound driver

5 years agoimplement SDL1.2 system driver
DeaDDooMER [Sat, 5 Oct 2019 22:43:33 +0000 (01:43 +0300)]
implement SDL1.2 system driver

5 years agonet: tried to spawn a "real" player only after it requested the first full state...
Ketmar Dark [Sun, 13 Oct 2019 02:57:50 +0000 (05:57 +0300)]
net: tried to spawn a "real" player only after it requested the first full state packet (NEEDS HEAVY TESTING!)

5 years agonet: better masterserver communication
Ketmar Dark [Sun, 13 Oct 2019 01:32:38 +0000 (04:32 +0300)]
net: better masterserver communication

  use blocking connections only in server list query. we don't need
  to block at map loading, or in any other place, because we can
  simply schedule update, and send them when master is available.

5 years agogame: create/refresh hash databases only when the game is going to conntect to any...
Ketmar Dark [Sun, 13 Oct 2019 00:41:07 +0000 (03:41 +0300)]
game: create/refresh hash databases only when the game is going to conntect to any server

5 years agomap: look for replacement resource wads only for network client mode
Ketmar Dark [Sun, 13 Oct 2019 00:27:32 +0000 (03:27 +0300)]
map: look for replacement resource wads only for network client mode

5 years agonet: game: better hash management; calculate resource hashes only once, send all...
Ketmar Dark [Sun, 13 Oct 2019 00:21:57 +0000 (03:21 +0300)]
net: game: better hash management; calculate resource hashes only once, send all resource hashes in "map info reply"

5 years agoutils: added `GetDiskFileInfo()` function
Ketmar Dark [Sun, 13 Oct 2019 00:21:38 +0000 (03:21 +0300)]
utils: added `GetDiskFileInfo()` function

5 years agonet: some useless code motion and small cleanups in file transfers
Ketmar Dark [Sat, 12 Oct 2019 23:33:00 +0000 (02:33 +0300)]
net: some useless code motion and small cleanups in file transfers

5 years agonet: append part of md5 file hash to downloaded wads, so wads with the same names...
Ketmar Dark [Sat, 12 Oct 2019 22:04:56 +0000 (01:04 +0300)]
net: append part of md5 file hash to downloaded wads, so wads with the same names won't conflict

5 years agogame: net: use hash database to quickly find wad by hash; do not recalculate hashes...
Ketmar Dark [Sat, 12 Oct 2019 21:52:24 +0000 (00:52 +0300)]
game: net: use hash database to quickly find wad by hash; do not recalculate hashes each time

5 years agogame: added simple database for storing md5 file hashes
Ketmar Dark [Sat, 12 Oct 2019 21:52:02 +0000 (00:52 +0300)]
game: added simple database for storing md5 file hashes

5 years agohashtable: fixed bug in case-insensitive string hash
Ketmar Dark [Sat, 12 Oct 2019 21:51:21 +0000 (00:51 +0300)]
hashtable: fixed bug in case-insensitive string hash

5 years agonet: resource ignore code works now (see "rdl_" cvars in the source)
Ketmar Dark [Sat, 12 Oct 2019 17:51:30 +0000 (20:51 +0300)]
net: resource ignore code works now (see "rdl_" cvars in the source)

5 years agogame: slightly better debug logs
Ketmar Dark [Sat, 12 Oct 2019 17:50:31 +0000 (20:50 +0300)]
game: slightly better debug logs

5 years agomaploader: slightly better debug logs
Ketmar Dark [Sat, 12 Oct 2019 17:50:15 +0000 (20:50 +0300)]
maploader: slightly better debug logs

5 years agoutils: use common wad extension list instead of several hard-coded extensions in...
Ketmar Dark [Sat, 12 Oct 2019 17:49:12 +0000 (20:49 +0300)]
utils: use common wad extension list instead of several hard-coded extensions in some utility functions

5 years agonet: cosmetix and code cleanup in resource downloader
Ketmar Dark [Sat, 12 Oct 2019 16:24:09 +0000 (19:24 +0300)]
net: cosmetix and code cleanup in resource downloader

5 years agowindow: touch: some fixes for headless
Ketmar Dark [Sat, 12 Oct 2019 02:35:55 +0000 (05:35 +0300)]
window: touch: some fixes for headless

5 years agonet: nuked old commented out downloader code
Ketmar Dark [Sat, 12 Oct 2019 02:29:16 +0000 (05:29 +0300)]
net: nuked old commented out downloader code

5 years agonet: removed some bullshit i introduced; commented out more unused code
Ketmar Dark [Sat, 12 Oct 2019 02:27:27 +0000 (05:27 +0300)]
net: removed some bullshit i introduced; commented out more unused code

5 years agonet: slightly better detection of "map change" event in resource downloader
Ketmar Dark [Sat, 12 Oct 2019 02:21:14 +0000 (05:21 +0300)]
net: slightly better detection of "map change" event in resource downloader

5 years agonet: implemented (half-assed) download resuming
Ketmar Dark [Sat, 12 Oct 2019 01:47:26 +0000 (04:47 +0300)]
net: implemented (half-assed) download resuming

5 years agonet: commented out old-style resource downloading handlers
Ketmar Dark [Sat, 12 Oct 2019 01:21:42 +0000 (04:21 +0300)]
net: commented out old-style resource downloading handlers

5 years agonet: i like to move the comment, move it...
Ketmar Dark [Sat, 12 Oct 2019 01:15:28 +0000 (04:15 +0300)]
net: i like to move the comment, move it...

5 years agonet: do not create download directories when there is nothing to download
Ketmar Dark [Sat, 12 Oct 2019 01:01:00 +0000 (04:01 +0300)]
net: do not create download directories when there is nothing to download

5 years agonet: bumped network protocol version
Ketmar Dark [Sat, 12 Oct 2019 00:56:45 +0000 (03:56 +0300)]
net: bumped network protocol version

5 years agonet: map downloading seems to work
Ketmar Dark [Sat, 12 Oct 2019 00:55:59 +0000 (03:55 +0300)]
net: map downloading seems to work

5 years agonet: more code for file transfers
Ketmar Dark [Sat, 12 Oct 2019 00:21:58 +0000 (03:21 +0300)]
net: more code for file transfers

5 years agogfx: cleaned up and fixed progress update code (it was broken; oops)
Ketmar Dark [Sat, 12 Oct 2019 00:21:04 +0000 (03:21 +0300)]
gfx: cleaned up and fixed progress update code (it was broken; oops)

5 years agonet: more code for file transfers; it was able to transfer a map, and even substiture...
Ketmar Dark [Fri, 11 Oct 2019 22:27:25 +0000 (01:27 +0300)]
net: more code for file transfers; it was able to transfer a map, and even substiture resource wads

5 years agonet: try to abort map downloading when client received "map change" event
Ketmar Dark [Fri, 11 Oct 2019 21:09:23 +0000 (00:09 +0300)]
net: try to abort map downloading when client received "map change" event

  we could restart downloading with the new map hash instead, but meh...
  anyway, aborting is better than trying to download some obsolete crap.

5 years agonet: some Preliminary (but half-working) code for new map/resource download scheme
Ketmar Dark [Fri, 11 Oct 2019 20:41:48 +0000 (23:41 +0300)]
net: some Preliminary (but half-working) code for new map/resource download scheme

5 years agogame: restored external resource registering in map loader (lol)
Ketmar Dark [Fri, 11 Oct 2019 15:36:12 +0000 (18:36 +0300)]
game: restored external resource registering in map loader (lol)

5 years agonet: do not hiccup when the game is in progress, and master server is not available
Ketmar Dark [Thu, 10 Oct 2019 09:01:53 +0000 (12:01 +0300)]
net: do not hiccup when the game is in progress, and master server is not available

  the game repeatedly tries to connect to master server while the match is going on, and
  the master is not available. connection routine is blocking, so the whole game freezes
  for 3 seconds once a minute. definitely not a very pleasant expirience.

  i made connection to master optionally non-blocking. the game will still hang for 3 secs
  when loading a new map (this can be changed too, but i don't think that it really matters),
  but in-game hangups should be gone.

5 years agoImplemented out-of-map player indication
Joseph Stalin [Sun, 22 Sep 2019 15:00:44 +0000 (20:00 +0500)]
Implemented out-of-map player indication

5 years agoAdded textual player indicator
Joseph Stalin [Sat, 14 Sep 2019 17:02:49 +0000 (22:02 +0500)]
Added textual player indicator

Menu options and localization strings included.
Also moved stuff to dfconfig.

5 years agoUpdated indicator options
Joseph Stalin [Sat, 14 Sep 2019 09:39:17 +0000 (14:39 +0500)]
Updated indicator options

5 years agoAdded teammate indication
Joseph Stalin [Thu, 12 Sep 2019 19:28:12 +0000 (00:28 +0500)]
Added teammate indication

5 years agofix non portable pointer conversion
DeaDDooMER [Sat, 21 Sep 2019 11:59:11 +0000 (14:59 +0300)]
fix non portable pointer conversion

5 years agoengine: game: hack-killed some warnings
Ketmar Dark [Fri, 20 Sep 2019 03:47:36 +0000 (06:47 +0300)]
engine: game: hack-killed some warnings

5 years agofixed ogg/vorbis reader for 32-bit SSE2-enabled systems
Ketmar Dark [Fri, 20 Sep 2019 03:26:25 +0000 (06:26 +0300)]
fixed ogg/vorbis reader for 32-bit SSE2-enabled systems

5 years agochanged license to GPLv3 only; sorry, no trust to FSF anymore
Ketmar Dark [Tue, 17 Sep 2019 15:09:16 +0000 (18:09 +0300)]
changed license to GPLv3 only; sorry, no trust to FSF anymore

5 years agoallow to bind joystick button zero in menu
DeaDDooMER [Thu, 5 Sep 2019 22:17:26 +0000 (01:17 +0300)]
allow to bind joystick button zero in menu

5 years agoSound: OpenAL: Add module interp setting
fgsfds [Wed, 4 Sep 2019 16:19:10 +0000 (19:19 +0300)]
Sound: OpenAL: Add module interp setting

5 years agoOpenAL: Add EAXEFXREVERBPROPERTIES
fgsfds [Wed, 4 Sep 2019 14:35:29 +0000 (17:35 +0300)]
OpenAL: Add EAXEFXREVERBPROPERTIES

5 years agoHacked-in main menu logo
Joseph Stalin [Wed, 4 Sep 2019 12:05:36 +0000 (17:05 +0500)]
Hacked-in main menu logo

5 years agoSound: OpenAL: Add Opus support
fgsfds [Tue, 3 Sep 2019 17:13:38 +0000 (20:13 +0300)]
Sound: OpenAL: Add Opus support

5 years ago`fix` static libvorbis
fgsfds [Tue, 3 Sep 2019 03:55:11 +0000 (06:55 +0300)]
`fix` static libvorbis

5 years agoSound: OpenAL: OGG/Vorbis support
fgsfds [Tue, 3 Sep 2019 01:28:35 +0000 (04:28 +0300)]
Sound: OpenAL: OGG/Vorbis support

5 years agosave string cvars to dfconfig.cfg
DeaDDooMER [Mon, 2 Sep 2019 19:50:29 +0000 (22:50 +0300)]
save string cvars to dfconfig.cfg

5 years agofix building on linux; USE_XMP_FULL -> USE_XMP_LITE
DeaDDooMER [Mon, 2 Sep 2019 19:15:49 +0000 (22:15 +0300)]
fix building on linux; USE_XMP_FULL -> USE_XMP_LITE

5 years agooops
fgsfds [Mon, 2 Sep 2019 19:15:08 +0000 (22:15 +0300)]
oops

5 years agoSound: OpenAL: Free the sound buffer after load
fgsfds [Mon, 2 Sep 2019 19:13:36 +0000 (22:13 +0300)]
Sound: OpenAL: Free the sound buffer after load

5 years agoadd cvar for soundfont selection
fgsfds [Mon, 2 Sep 2019 18:53:56 +0000 (21:53 +0300)]
add cvar for soundfont selection

5 years agoadd string cvars
fgsfds [Mon, 2 Sep 2019 18:53:47 +0000 (21:53 +0300)]
add string cvars

5 years agoSound: OpenAL: Expose some vars;
fgsfds [Mon, 2 Sep 2019 18:29:30 +0000 (21:29 +0300)]
Sound: OpenAL: Expose some vars;

use 1 for fluid cpu-cores;

disable reverb and chorus by default

5 years agoSound: FluidSynth: Stop the player before freeing
fgsfds [Mon, 2 Sep 2019 17:41:56 +0000 (20:41 +0300)]
Sound: FluidSynth: Stop the player before freeing

5 years agoSound: OpenAL: Reclaim stream buffers on stream change
fgsfds [Mon, 2 Sep 2019 17:41:31 +0000 (20:41 +0300)]
Sound: OpenAL: Reclaim stream buffers on stream change

5 years agolibmodplug.dll => libmodplug-1.dll
fgsfds [Mon, 2 Sep 2019 16:35:47 +0000 (19:35 +0300)]
libmodplug.dll => libmodplug-1.dll

5 years agoSound: OpenAL: Add MIDI support via FluidSynth
fgsfds [Mon, 2 Sep 2019 16:16:17 +0000 (19:16 +0300)]
Sound: OpenAL: Add MIDI support via FluidSynth

5 years agomisc header fixes
fgsfds [Sun, 1 Sep 2019 22:56:27 +0000 (01:56 +0300)]
misc header fixes

5 years agoSound: OpenAL: Half-assed manual MP3 detection
fgsfds [Sun, 1 Sep 2019 22:56:13 +0000 (01:56 +0300)]
Sound: OpenAL: Half-assed manual MP3 detection

because mpg123 is a bitch

5 years agoadd options USE_XMP and USE_MPG123
DeaDDooMER [Sun, 1 Sep 2019 22:21:07 +0000 (01:21 +0300)]
add options USE_XMP and USE_MPG123

5 years agofix building on linux with mpg123
DeaDDooMER [Sun, 1 Sep 2019 20:34:22 +0000 (23:34 +0300)]
fix building on linux with mpg123

5 years agofix round up
fgsfds [Sun, 1 Sep 2019 18:38:22 +0000 (21:38 +0300)]
fix round up

5 years agoNet: Realloc outgoing message buffer on overflow
fgsfds [Sun, 1 Sep 2019 18:33:35 +0000 (21:33 +0300)]
Net: Realloc outgoing message buffer on overflow

5 years agoSound: OpenAL: Add mp3 support via libmpg123
fgsfds [Sun, 1 Sep 2019 14:57:51 +0000 (17:57 +0300)]
Sound: OpenAL: Add mp3 support via libmpg123

5 years agofix random sound volume with OpenAL
DeaDDooMER [Sun, 1 Sep 2019 09:33:16 +0000 (12:33 +0300)]
fix random sound volume with OpenAL

5 years agoSound: OpenAL: Streams can now be non-looping; XMP tweaks
fgsfds [Sun, 1 Sep 2019 00:01:27 +0000 (03:01 +0300)]
Sound: OpenAL: Streams can now be non-looping; XMP tweaks