DEADSOFTWARE

d2df-sdl.git
4 years agohow 2 spell
fgsfds [Sun, 27 Oct 2019 02:40:22 +0000 (05:40 +0300)]
how 2 spell

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

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

4 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

4 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

4 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

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

4 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

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

4 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

4 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

4 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)

4 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

4 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)

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

4 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

4 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

4 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

4 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)

4 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

4 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

4 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

4 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

4 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

4 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)

4 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

4 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

4 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)

4 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)

4 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!

4 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

4 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

4 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

4 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

4 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)

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

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

4 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.

4 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

4 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)

4 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

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

4 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.

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

4 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

4 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

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

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

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

4 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

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

4 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

4 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

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

4 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

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

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

4 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

4 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

4 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

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

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

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

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

4 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!)

4 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.

4 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

4 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

4 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"

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

4 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

4 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

4 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

4 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

4 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

4 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)

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

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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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...

4 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

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

4 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

4 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

4 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)

4 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

4 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.

4 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

4 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)

4 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.

4 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

4 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.

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