DEADSOFTWARE

d2df-sdl.git
6 years agocenter player when the game is scaled (lighting is not working correctly yet, tho)
Ketmar Dark [Thu, 7 Sep 2017 01:57:22 +0000 (04:57 +0300)]
center player when the game is scaled (lighting is not working correctly yet, tho)

6 years agoallow 'mywad.wad:/map01' in '-map' and other similar places (previously, only ':...
Ketmar Dark [Thu, 7 Sep 2017 00:54:30 +0000 (03:54 +0300)]
allow 'mywad.wad:/map01' in '-map' and other similar places (previously, only ':\' was allowed)

6 years agocosmetix in dynrecs; fixed mapcvt
Ketmar Dark [Thu, 7 Sep 2017 00:37:19 +0000 (03:37 +0300)]
cosmetix in dynrecs; fixed mapcvt

6 years agoxdynrec: more API works
Ketmar Dark [Wed, 6 Sep 2017 23:10:37 +0000 (02:10 +0300)]
xdynrec: more API works

6 years agodynrec API documenting and cleanup (still has some way to go, though)
Ketmar Dark [Wed, 6 Sep 2017 22:34:04 +0000 (01:34 +0300)]
dynrec API documenting and cleanup (still has some way to go, though)

6 years ago"--write-mapdef" cli arg to write "mapdef.txt" and exit
Ketmar Dark [Wed, 6 Sep 2017 20:41:29 +0000 (23:41 +0300)]
"--write-mapdef" cli arg to write "mapdef.txt" and exit

6 years agomapdef.txt cosmetix
Ketmar Dark [Wed, 6 Sep 2017 20:29:00 +0000 (23:29 +0300)]
mapdef.txt cosmetix

6 years agomapdef cleanup; renamed some fields; mapdef.txt is RC0 now
Ketmar Dark [Wed, 6 Sep 2017 20:23:41 +0000 (23:23 +0300)]
mapdef cleanup; renamed some fields; mapdef.txt is RC0 now

6 years agotrigger field renames
Ketmar Dark [Wed, 6 Sep 2017 20:23:18 +0000 (23:23 +0300)]
trigger field renames

6 years agoremoved duplicate ucs2->1251 conversion function
Ketmar Dark [Wed, 6 Sep 2017 05:08:35 +0000 (08:08 +0300)]
removed duplicate ucs2->1251 conversion function

6 years agorender fixes for NPOT textures and mplat with size changes
Ketmar Dark [Wed, 6 Sep 2017 04:37:53 +0000 (07:37 +0300)]
render fixes for NPOT textures and mplat with size changes

6 years agonetwork/panel code cleanup
Ketmar Dark [Wed, 6 Sep 2017 04:09:04 +0000 (07:09 +0300)]
network/panel code cleanup

6 years agonetwork code for mplats: looks like it works; see commit comments for some more info
Ketmar Dark [Wed, 6 Sep 2017 00:52:18 +0000 (03:52 +0300)]
network code for mplats: looks like it works; see commit comments for some more info

  there was a bug with panel syncing on join (introduced by me earlier);
  it is fixed now.

  internally, server only sends new panel state when something "interesting"
  happens (active state changed, direction changed, etc.). in this case,
  server will also send monster positions for affected monsters (just in case).
  otherwise, dead reckoning should do it's work.

  maybe it will be better to spam network with panel/monster state constantly,
  i don't know. for now, players with huge lag can be suddenly squashed by
  unsynced mplat. this should be checked with real network games.

  note that network protocol will likely be changed again when we'll get final
  specs for mplats.

6 years agoentity now can be squashed by growing mplats (imagine lowering ceiling, for example)
Ketmar Dark [Tue, 5 Sep 2017 23:21:46 +0000 (02:21 +0300)]
entity now can be squashed by growing mplats (imagine lowering ceiling, for example)

6 years agodon't be *too* smart: `swapInt()` should not do xor trick, 'cause we may pass the...
Ketmar Dark [Tue, 5 Sep 2017 22:46:43 +0000 (01:46 +0300)]
don't be *too* smart: `swapInt()` should not do xor trick, 'cause we may pass the same var to it

6 years agogrid: clip rect outside of the loops in `forEachInAABB()`
Ketmar Dark [Tue, 5 Sep 2017 22:45:37 +0000 (01:45 +0300)]
grid: clip rect outside of the loops in `forEachInAABB()`

6 years agogrid: fixed update bug with resized bodies ('cmon, missing '-1' is *so* well-known...
Ketmar Dark [Tue, 5 Sep 2017 22:34:50 +0000 (01:34 +0300)]
grid: fixed update bug with resized bodies ('cmon, missing '-1' is *so* well-known bug, how did it.., you stupid ketmar?!)

6 years agoooops
Ketmar Dark [Tue, 5 Sep 2017 22:12:18 +0000 (01:12 +0300)]
ooops

6 years agoslightly faster(?) tile walker
Ketmar Dark [Tue, 5 Sep 2017 22:10:01 +0000 (01:10 +0300)]
slightly faster(?) tile walker

6 years agoshitfix (incorrect, but working) for lines starting out of the viewport (almost impos...
Ketmar Dark [Tue, 5 Sep 2017 22:06:24 +0000 (01:06 +0300)]
shitfix (incorrect, but working) for lines starting out of the viewport (almost impossible for us, but still...)

6 years ago`forEachAlongLine()` switched to `TLineWalker`
Ketmar Dark [Tue, 5 Sep 2017 19:53:48 +0000 (22:53 +0300)]
`forEachAlongLine()` switched to `TLineWalker`

6 years agoslightly better `traceBox()`
Ketmar Dark [Tue, 5 Sep 2017 19:41:16 +0000 (22:41 +0300)]
slightly better `traceBox()`

6 years agonew raycaster, based on seg-vs-aabb intersections; moved common line tracing code...
Ketmar Dark [Tue, 5 Sep 2017 19:14:35 +0000 (22:14 +0300)]
new raycaster, based on seg-vs-aabb intersections; moved common line tracing code to TLineWalker

6 years ago.cfg option to control autoswitching to superfist: Game/BerserkAutoswitch
Ketmar Dark [Tue, 5 Sep 2017 17:07:03 +0000 (20:07 +0300)]
.cfg option to control autoswitching to superfist: Game/BerserkAutoswitch

6 years agosome npot fixes; not really working
Ketmar Dark [Tue, 5 Sep 2017 04:13:14 +0000 (07:13 +0300)]
some npot fixes; not really working

6 years agountested code for NPOT resizing panels
Ketmar Dark [Tue, 5 Sep 2017 03:59:45 +0000 (06:59 +0300)]
untested code for NPOT resizing panels

6 years agoslightly better mplat rendering (no support for NPOT yet)
Ketmar Dark [Tue, 5 Sep 2017 03:44:06 +0000 (06:44 +0300)]
slightly better mplat rendering (no support for NPOT yet)

6 years agoxdynrec: double free on exception while parsing
Ketmar Dark [Tue, 5 Sep 2017 03:07:25 +0000 (06:07 +0300)]
xdynrec: double free on exception while parsing

6 years agocosmetix
Ketmar Dark [Tue, 5 Sep 2017 02:20:05 +0000 (05:20 +0300)]
cosmetix

6 years agomplat fixes
Ketmar Dark [Tue, 5 Sep 2017 01:48:59 +0000 (04:48 +0300)]
mplat fixes

6 years agomplat: some code for moving "steps"
Ketmar Dark [Mon, 4 Sep 2017 20:41:05 +0000 (23:41 +0300)]
mplat: some code for moving "steps"

6 years ago`traceBox()` API bugfix; squashing now works (i hope)
Ketmar Dark [Mon, 4 Sep 2017 19:25:34 +0000 (22:25 +0300)]
`traceBox()` API bugfix; squashing now works (i hope)

6 years agomplat code for monsters, corpses and gibs; see commit message for comments
Ketmar Dark [Mon, 4 Sep 2017 17:59:39 +0000 (20:59 +0300)]
mplat code for monsters, corpses and gibs; see commit message for comments

  the whole thing should work now, including squashing.
  but gibs (and corpses?) should take velocity change when they hit lift,
  and then bounces away. this is not implemented yet.

6 years agosome new code for moving platforms: only for players yet
Ketmar Dark [Mon, 4 Sep 2017 17:34:29 +0000 (20:34 +0300)]
some new code for moving platforms: only for players yet

6 years agoparticles: fixes for mplats
Ketmar Dark [Mon, 4 Sep 2017 17:34:19 +0000 (20:34 +0300)]
particles: fixes for mplats

6 years agogrid: `traceBox()` API; `sweepAABB()` API
Ketmar Dark [Mon, 4 Sep 2017 16:38:39 +0000 (19:38 +0300)]
grid: `traceBox()` API; `sweepAABB()` API

6 years agofixed segfault on loading invalid maps
Ketmar Dark [Mon, 4 Sep 2017 16:20:45 +0000 (19:20 +0300)]
fixed segfault on loading invalid maps

6 years agogibs and corpses now affected by mplats
Ketmar Dark [Sun, 3 Sep 2017 17:05:34 +0000 (20:05 +0300)]
gibs and corpses now affected by mplats

  TODO: create gib/corpse grid, to speed up spatial queries

6 years ago"suicide" console command now works in singleplayer mode
Ketmar Dark [Sun, 3 Sep 2017 17:05:07 +0000 (20:05 +0300)]
"suicide" console command now works in singleplayer mode

6 years agofield namefix: `FLive` -> `FAlive`; `live` -> `alive`
Ketmar Dark [Sun, 3 Sep 2017 16:13:09 +0000 (19:13 +0300)]
field namefix: `FLive` -> `FAlive`; `live` -> `alive`

6 years agoparticle cosmetix for mplats
Ketmar Dark [Sun, 3 Sep 2017 15:41:03 +0000 (18:41 +0300)]
particle cosmetix for mplats

6 years agomplat bug: it was EXTREMELY wise to ask monster grid for old panel position
Ketmar Dark [Sun, 3 Sep 2017 15:35:13 +0000 (18:35 +0300)]
mplat bug: it was EXTREMELY wise to ask monster grid for old panel position

6 years agoHolmes: option to highlight panel cells in grid
Ketmar Dark [Sun, 3 Sep 2017 15:26:24 +0000 (18:26 +0300)]
Holmes: option to highlight panel cells in grid

6 years agocosmetix
Ketmar Dark [Sun, 3 Sep 2017 14:44:22 +0000 (17:44 +0300)]
cosmetix

6 years agoholmes cosmetix
Ketmar Dark [Sun, 3 Sep 2017 14:05:18 +0000 (17:05 +0300)]
holmes cosmetix

6 years agogame should write stack trace on exceptions now
Ketmar Dark [Sun, 3 Sep 2017 13:59:13 +0000 (16:59 +0300)]
game should write stack trace on exceptions now

6 years ago"hlm_ui_scale" convar; "--holmes_ui_scale" cli arg; (fgsfds request)
Ketmar Dark [Sun, 3 Sep 2017 01:28:19 +0000 (04:28 +0300)]
"hlm_ui_scale" convar; "--holmes_ui_scale" cli arg; (fgsfds request)

6 years agosome code to squash monsters and players by mplats (somewhat buggy: sometimes monster...
Ketmar Dark [Sat, 2 Sep 2017 23:51:21 +0000 (02:51 +0300)]
some code to squash monsters and players by mplats (somewhat buggy: sometimes monsters are squashed when they shouldn't be)

6 years agosome accessors to publish more properties
Ketmar Dark [Sat, 2 Sep 2017 23:26:00 +0000 (02:26 +0300)]
some accessors to publish more properties

6 years agocorrectly freeing dynrecords; as a consequence, no more memory leaks in custom game...
Ketmar Dark [Sat, 2 Sep 2017 21:03:18 +0000 (00:03 +0300)]
correctly freeing dynrecords; as a consequence, no more memory leaks in custom game selector

6 years agoparticles: water cosmetix
Ketmar Dark [Sat, 2 Sep 2017 20:20:30 +0000 (23:20 +0300)]
particles: water cosmetix

6 years agoparticles: still emit water if player fell into water from a very big height; air...
Ketmar Dark [Sat, 2 Sep 2017 20:00:27 +0000 (23:00 +0300)]
particles: still emit water if player fell into water from a very big height; air stream fixes

6 years agoparticles: sparks should die in liquid (pshhhhh!)
Ketmar Dark [Sat, 2 Sep 2017 19:54:53 +0000 (22:54 +0300)]
particles: sparks should die in liquid (pshhhhh!)

6 years agoparticles: fixed "in liquid" check bug
Ketmar Dark [Sat, 2 Sep 2017 19:52:56 +0000 (22:52 +0300)]
particles: fixed "in liquid" check bug

6 years agomore particles code; still somewhat buggy with mplats, tho, but i'll take care of...
Ketmar Dark [Sat, 2 Sep 2017 19:30:46 +0000 (22:30 +0300)]
more particles code; still somewhat buggy with mplats, tho, but i'll take care of it later

6 years agoF3 at titlepic/menu will show "load game" dialog: bugfix
Ketmar Dark [Sat, 2 Sep 2017 18:59:15 +0000 (21:59 +0300)]
F3 at titlepic/menu will show "load game" dialog: bugfix

6 years agoF3 at titlepic/menu will show "load game" dialog
Ketmar Dark [Sat, 2 Sep 2017 18:53:05 +0000 (21:53 +0300)]
F3 at titlepic/menu will show "load game" dialog

6 years agodon't turn off monsters in CTF
Ketmar Dark [Sat, 2 Sep 2017 18:07:54 +0000 (21:07 +0300)]
don't turn off monsters in CTF

6 years agoparticles: removed unused water code
Ketmar Dark [Sat, 2 Sep 2017 17:48:38 +0000 (20:48 +0300)]
particles: removed unused water code

6 years agoparticles: water and bubbles
Ketmar Dark [Sat, 2 Sep 2017 17:48:01 +0000 (20:48 +0300)]
particles: water and bubbles

6 years agoparticles: new blood seems to work (albeit small raycaster bugs)
Ketmar Dark [Sat, 2 Sep 2017 17:15:00 +0000 (20:15 +0300)]
particles: new blood seems to work (albeit small raycaster bugs)

6 years agonew code for blood particles (other particles are turned off temporarily): almost...
Ketmar Dark [Sat, 2 Sep 2017 06:57:59 +0000 (09:57 +0300)]
new code for blood particles (other particles are turned off temporarily): almost there

6 years agofix build on x86_64 (fuck you, FPC)
fgsfds [Sat, 2 Sep 2017 11:31:36 +0000 (14:31 +0300)]
fix build on x86_64 (fuck you, FPC)

6 years agosaving all panels to savegame, 'cause why not
Ketmar Dark [Sat, 2 Sep 2017 00:39:31 +0000 (03:39 +0300)]
saving all panels to savegame, 'cause why not

6 years agoloading game now properly fixes enabled/disabled state for proxy
Ketmar Dark [Sat, 2 Sep 2017 00:32:43 +0000 (03:32 +0300)]
loading game now properly fixes enabled/disabled state for proxy

6 years agohacked in on/off triggers for lifts
Ketmar Dark [Sat, 2 Sep 2017 00:23:07 +0000 (03:23 +0300)]
hacked in on/off triggers for lifts

6 years agomigrating from PanelIDs to panel GUIDs; part two
Ketmar Dark [Sat, 2 Sep 2017 00:08:14 +0000 (03:08 +0300)]
migrating from PanelIDs to panel GUIDs; part two

6 years agomigrating from PanelIDs to panel GUIDs; part one
Ketmar Dark [Fri, 1 Sep 2017 23:57:34 +0000 (02:57 +0300)]
migrating from PanelIDs to panel GUIDs; part one

6 years ago"dbg_scale" debug variable
Ketmar Dark [Fri, 1 Sep 2017 19:15:52 +0000 (22:15 +0300)]
"dbg_scale" debug variable

6 years agofaster particles awakening
Ketmar Dark [Fri, 1 Sep 2017 15:54:36 +0000 (18:54 +0300)]
faster particles awakening

6 years agosaving/loading moving panels
Ketmar Dark [Fri, 1 Sep 2017 09:37:46 +0000 (12:37 +0300)]
saving/loading moving panels

6 years agomoving platforms experiment (DO NOT USE YET!)
Ketmar Dark [Fri, 1 Sep 2017 09:28:41 +0000 (12:28 +0300)]
moving platforms experiment (DO NOT USE YET!)

6 years agoslightly faster (i hope) particles
Ketmar Dark [Fri, 1 Sep 2017 07:46:21 +0000 (10:46 +0300)]
slightly faster (i hope) particles

  particles won't trace vertical movement if they are on a ground, and trying to move down

6 years agofinally fixed (i hope) orthotrace bug; turned on orthotrace acceleration
Ketmar Dark [Fri, 1 Sep 2017 05:46:31 +0000 (08:46 +0300)]
finally fixed (i hope) orthotrace bug; turned on orthotrace acceleration

6 years agoremoved unused code from particle system
Ketmar Dark [Fri, 1 Sep 2017 05:27:31 +0000 (08:27 +0300)]
removed unused code from particle system

6 years agocosmetix
Ketmar Dark [Fri, 1 Sep 2017 05:20:41 +0000 (08:20 +0300)]
cosmetix

6 years agodo not turn off mosters in DM games (Jah request)
Ketmar Dark [Fri, 1 Sep 2017 05:10:50 +0000 (08:10 +0300)]
do not turn off mosters in DM games (Jah request)

6 years agomade some class' properties published for Holmes
Ketmar Dark [Fri, 1 Sep 2017 04:21:11 +0000 (07:21 +0300)]
made some class' properties published for Holmes

6 years agoxdynrec: some hackcode cleanup
Ketmar Dark [Fri, 1 Sep 2017 03:38:00 +0000 (06:38 +0300)]
xdynrec: some hackcode cleanup

6 years agoxdynrec: Variant API
Ketmar Dark [Fri, 1 Sep 2017 03:34:48 +0000 (06:34 +0300)]
xdynrec: Variant API

6 years agoadded masterserver sources
Ketmar Dark [Fri, 1 Sep 2017 01:41:41 +0000 (04:41 +0300)]
added masterserver sources

6 years agoremoved src/sheditor (obsolete and unused code)
Ketmar Dark [Fri, 1 Sep 2017 01:29:33 +0000 (04:29 +0300)]
removed src/sheditor (obsolete and unused code)

6 years agoclearing input buffer after loading a map (fixes occasional button "sticking")
Ketmar Dark [Fri, 1 Sep 2017 00:47:04 +0000 (03:47 +0300)]
clearing input buffer after loading a map (fixes occasional button "sticking")

6 years agorestarting the same map will not reload textures (yay, quickload!); don't spam log...
Ketmar Dark [Fri, 1 Sep 2017 00:33:01 +0000 (03:33 +0300)]
restarting the same map will not reload textures (yay, quickload!); don't spam log with invalid "no file" warnings

6 years agoshow map loading update once per 300 msec; it nearly halves loading times for huge...
Ketmar Dark [Thu, 31 Aug 2017 23:00:53 +0000 (02:00 +0300)]
show map loading update once per 300 msec; it nearly halves loading times for huge maps

6 years agoremoved some debug output
Ketmar Dark [Thu, 31 Aug 2017 22:47:55 +0000 (01:47 +0300)]
removed some debug output

6 years agosave/load seems to work now
Ketmar Dark [Thu, 31 Aug 2017 22:45:38 +0000 (01:45 +0300)]
save/load seems to work now

6 years agotrigger loading now works; map loading code cleanup
Ketmar Dark [Thu, 31 Aug 2017 21:57:20 +0000 (00:57 +0300)]
trigger loading now works; map loading code cleanup

6 years agoHolmes can draw triggers now
Ketmar Dark [Thu, 31 Aug 2017 20:43:07 +0000 (23:43 +0300)]
Holmes can draw triggers now

6 years agosome triggers are working now
Ketmar Dark [Thu, 31 Aug 2017 20:17:12 +0000 (23:17 +0300)]
some triggers are working now

6 years agono more old-styled map structured; sadly, most triggers aren't working; also, save...
Ketmar Dark [Thu, 31 Aug 2017 19:28:08 +0000 (22:28 +0300)]
no more old-styled map structured; sadly, most triggers aren't working; also, save/load is completely broken

6 years agoslightly fixed README
fgsfds [Thu, 31 Aug 2017 16:44:01 +0000 (19:44 +0300)]
slightly fixed README

6 years agocosmetix in textmaps: tried to make it even faster, but failed
Ketmar Dark [Thu, 31 Aug 2017 14:17:57 +0000 (17:17 +0300)]
cosmetix in textmaps: tried to make it even faster, but failed

6 years agomade textmap parsing three times faster
Ketmar Dark [Thu, 31 Aug 2017 13:31:06 +0000 (16:31 +0300)]
made textmap parsing three times faster

6 years agoHolmes, please, there are no criminals in dedicated server!
Ketmar Dark [Thu, 31 Aug 2017 12:34:34 +0000 (15:34 +0300)]
Holmes, please, there are no criminals in dedicated server!

6 years agofixed wadcvt compiling
Ketmar Dark [Thu, 31 Aug 2017 04:02:30 +0000 (07:02 +0300)]
fixed wadcvt compiling

6 years agotextmap: dramatically increased text map parsing speed (text map now parses in the...
Ketmar Dark [Thu, 31 Aug 2017 03:59:21 +0000 (06:59 +0300)]
textmap: dramatically increased text map parsing speed (text map now parses in the (nearly) same time as binary map)

6 years agoadded "dbg_scale_half" experimental deBUG mode
Ketmar Dark [Thu, 31 Aug 2017 01:38:09 +0000 (04:38 +0300)]
added "dbg_scale_half" experimental deBUG mode

6 years agoremoved one debug message
Ketmar Dark [Thu, 31 Aug 2017 00:37:11 +0000 (03:37 +0300)]
removed one debug message

6 years agoadded some alternative texture names ==> simple zipping "game.wad" from resource...
Ketmar Dark [Thu, 31 Aug 2017 00:30:39 +0000 (03:30 +0300)]
added some alternative texture names ==> simple zipping "game.wad" from resource repository works