DEADSOFTWARE

d2df-sdl.git
5 years agofix crash when cancell map downloding
DeaDDooMER [Sun, 10 Nov 2019 13:19:40 +0000 (16:19 +0300)]
fix crash when cancell map downloding

5 years agomove game settings to dfconfig.cfg
DeaDDooMER [Sat, 9 Nov 2019 12:35:33 +0000 (15:35 +0300)]
move game settings to dfconfig.cfg

5 years agomove video, sound and language options to dfconfig.cfg
DeaDDooMER [Fri, 8 Nov 2019 14:14:55 +0000 (17:14 +0300)]
move video, sound and language options to dfconfig.cfg

5 years agofix empty githash
DeaDDooMER [Thu, 7 Nov 2019 21:08:37 +0000 (00:08 +0300)]
fix empty githash

5 years agoadd cvar d_eres
DeaDDooMER [Thu, 7 Nov 2019 21:08:05 +0000 (00:08 +0300)]
add cvar d_eres

5 years agoengine: yet another attempt to fix map downloading (YAATFMD); "no time to loose!"
Ketmar Dark [Thu, 7 Nov 2019 20:32:07 +0000 (22:32 +0200)]
engine: yet another attempt to fix map downloading (YAATFMD); "no time to loose!"

5 years agodownloader: cosmetix
Ketmar Dark [Thu, 7 Nov 2019 20:31:56 +0000 (22:31 +0200)]
downloader: cosmetix

5 years agoengine: hack for missing anims
Ketmar Dark [Thu, 7 Nov 2019 20:31:31 +0000 (22:31 +0200)]
engine: hack for missing anims

5 years agoreadme typo
Ketmar Dark [Sat, 2 Nov 2019 06:09:27 +0000 (08:09 +0200)]
readme typo

5 years agodo not save/receive absolute paths in saves/network
DeaDDooMER [Thu, 7 Nov 2019 14:57:23 +0000 (17:57 +0300)]
do not save/receive absolute paths in saves/network

5 years agoadd more info about game build to log and window title
DeaDDooMER [Wed, 6 Nov 2019 14:50:28 +0000 (17:50 +0300)]
add more info about game build to log and window title

5 years agobetter line wrapping for map description
DeaDDooMER [Sat, 2 Nov 2019 22:25:04 +0000 (01:25 +0300)]
better line wrapping for map description

5 years agoflush screenshot after writing
DeaDDooMER [Sat, 2 Nov 2019 19:47:05 +0000 (22:47 +0300)]
flush screenshot after writing

5 years agoutils: game: backslash is windoze-specific path separator
Ketmar Dark [Sat, 2 Nov 2019 06:06:27 +0000 (08:06 +0200)]
utils: game: backslash is windoze-specific path separator

5 years agofix question char
DeaDDooMER [Wed, 30 Oct 2019 15:40:28 +0000 (18:40 +0300)]
fix question char

5 years agoautodetect portable installation. --cwd -> --like-windoze
DeaDDooMER [Sun, 27 Oct 2019 22:17:32 +0000 (01:17 +0300)]
autodetect portable installation. --cwd -> --like-windoze

5 years agohow 2 spell
fgsfds [Sun, 27 Oct 2019 02:40:22 +0000 (05:40 +0300)]
how 2 spell

5 years agoadd build instructions for macosx
DeaDDooMER [Sat, 26 Oct 2019 17:53:48 +0000 (20:53 +0300)]
add build instructions for macosx

5 years agoadd paths for osx
DeaDDooMER [Fri, 25 Oct 2019 11:08:16 +0000 (14:08 +0300)]
add paths for osx

5 years agofix log flush when game.wad not found
DeaDDooMER [Mon, 21 Oct 2019 21:09:28 +0000 (00:09 +0300)]
fix log flush when game.wad not found

5 years agodo not show message box in headless mode
DeaDDooMER [Mon, 21 Oct 2019 20:10:15 +0000 (23:10 +0300)]
do not show message box in headless mode

5 years agoadd default dirs for linux and android
DeaDDooMER [Mon, 21 Oct 2019 20:01:27 +0000 (23:01 +0300)]
add default dirs for linux and android

5 years agoremove assert from e_GetResourcePath
DeaDDooMER [Mon, 21 Oct 2019 16:49:24 +0000 (19:49 +0300)]
remove assert from e_GetResourcePath

5 years agogame: do not force CLI pathes to cwd
Ketmar Dark [Mon, 21 Oct 2019 03:24:43 +0000 (06:24 +0300)]
game: do not force CLI pathes to cwd

5 years agoutils: more useless APIs
Ketmar Dark [Mon, 21 Oct 2019 03:23:58 +0000 (06:23 +0300)]
utils: more useless APIs

5 years agogame: try to guess binary directory, and use it as game dir, so the game can be run...
Ketmar Dark [Mon, 21 Oct 2019 02:44:26 +0000 (05:44 +0300)]
game: try to guess binary directory, and use it as game dir, so the game can be run with arbitrary cwd; use '--cwd' to avoid this

5 years agoi18n: localizing arrow key names wasn't the brightest idea
Ketmar Dark [Mon, 21 Oct 2019 00:07:04 +0000 (03:07 +0300)]
i18n: localizing arrow key names wasn't the brightest idea

5 years agogame: do not use absolute path in wad selection widgets (it looks ugly, and [almost...
Ketmar Dark [Sun, 20 Oct 2019 23:40:49 +0000 (02:40 +0300)]
game: do not use absolute path in wad selection widgets (it looks ugly, and [almost] not necessary)

5 years agonet: game: other: hash database and resource downloader converted to new dirsys
Ketmar Dark [Sun, 20 Oct 2019 23:15:06 +0000 (02:15 +0300)]
net: game: other: hash database and resource downloader converted to new dirsys

5 years agogame: better map wad lookup (it doesn't need to receive a full on-disk wad name)
Ketmar Dark [Sun, 20 Oct 2019 22:07:27 +0000 (01:07 +0300)]
game: better map wad lookup (it doesn't need to receive a full on-disk wad name)

5 years agoutils: better `isWadPath()`
Ketmar Dark [Sun, 20 Oct 2019 22:06:34 +0000 (01:06 +0300)]
utils: better `isWadPath()`

5 years agogame: `e_GetDir()` -> `e_GetWriteableDir()`, with slight changes in logic
Ketmar Dark [Sun, 20 Oct 2019 21:49:53 +0000 (00:49 +0300)]
game: `e_GetDir()` -> `e_GetWriteableDir()`, with slight changes in logic

5 years agogame: better (somewhat) scanning for player models
Ketmar Dark [Sun, 20 Oct 2019 21:11:50 +0000 (00:11 +0300)]
game: better (somewhat) scanning for player models

5 years agoutils: made `wadExtensions` array public, because we may need it elsewhere
Ketmar Dark [Sun, 20 Oct 2019 21:07:53 +0000 (00:07 +0300)]
utils: made `wadExtensions` array public, because we may need it elsewhere

5 years agoallow resources in non current directory (warning: res downloader are broken)
DeaDDooMER [Sun, 20 Oct 2019 20:01:40 +0000 (23:01 +0300)]
allow resources in non current directory (warning: res downloader are broken)

5 years agogfx: fixed OpenGL extension checks; fixed NPOT emulation detection
Ketmar Dark [Fri, 18 Oct 2019 04:41:42 +0000 (07:41 +0300)]
gfx: fixed OpenGL extension checks; fixed NPOT emulation detection

5 years agonet: i really love to break things by fixing other things! fixed endless loop in...
Ketmar Dark [Fri, 18 Oct 2019 03:17:45 +0000 (06:17 +0300)]
net: i really love to break things by fixing other things! fixed endless loop in server list query

5 years agonet: call sfs gc collect in resource downloader
Ketmar Dark [Fri, 18 Oct 2019 03:17:42 +0000 (06:17 +0300)]
net: call sfs gc collect in resource downloader

5 years agonet: some cosmetic logging in resource downloader
Ketmar Dark [Fri, 18 Oct 2019 00:04:39 +0000 (03:04 +0300)]
net: some cosmetic logging in resource downloader

5 years agonet: oops; reconnection to failed master was totally broken
Ketmar Dark [Thu, 17 Oct 2019 23:20:10 +0000 (02:20 +0300)]
net: oops; reconnection to failed master was totally broken

5 years agonet: enet+shitdoze == clusterfuck; added workaround for `enet_host_service()` (and...
Ketmar Dark [Wed, 16 Oct 2019 19:10:30 +0000 (22:10 +0300)]
net: enet+shitdoze == clusterfuck; added workaround for `enet_host_service()` (and comment about it)

5 years agonet: fix master comms on pindoze
fgsfds [Wed, 16 Oct 2019 18:57:35 +0000 (21:57 +0300)]
net: fix master comms on pindoze

5 years agonet: added second master server to default config
Ketmar Dark [Wed, 16 Oct 2019 17:33:45 +0000 (20:33 +0300)]
net: added second master server to default config

5 years agonet: server list works again (i hope)
Ketmar Dark [Wed, 16 Oct 2019 02:47:05 +0000 (05:47 +0300)]
net: server list works again (i hope)

5 years agonet: it is now possible to use more than one master (use "List=host:port,host:port...
Ketmar Dark [Wed, 16 Oct 2019 01:08:47 +0000 (04:08 +0300)]
net: it is now possible to use more than one master (use "List=host:port,host:port" syntax in ini)

5 years agonet: i love to log it, log it!
Ketmar Dark [Tue, 15 Oct 2019 21:10:07 +0000 (00:10 +0300)]
net: i love to log it, log it!

5 years agonet: mostly restored master-comm logic
Ketmar Dark [Tue, 15 Oct 2019 21:07:00 +0000 (00:07 +0300)]
net: mostly restored master-comm logic

5 years agonet: more callbacks and still-non-working crap for master-comm
Ketmar Dark [Tue, 15 Oct 2019 20:16:42 +0000 (23:16 +0300)]
net: more callbacks and still-non-working crap for master-comm

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