DEADSOFTWARE

d2df-sdl.git
7 years agocode cleanup for headless mode (nothing interesting, just unused vars)
Ketmar Dark [Tue, 19 Sep 2017 04:31:08 +0000 (07:31 +0300)]
code cleanup for headless mode (nothing interesting, just unused vars)

7 years agopascal `{}` comment support in parser
Ketmar Dark [Tue, 19 Sep 2017 04:24:27 +0000 (07:24 +0300)]
pascal `{}` comment support in parser

7 years agomoved some geometry functions to shared/geom.pas; TODO: move most of g_basic.pas...
Ketmar Dark [Tue, 19 Sep 2017 01:37:37 +0000 (04:37 +0300)]
moved some geometry functions to shared/geom.pas; TODO: move most of g_basic.pas there

7 years agoRevert previous commit (yes, I'm dumb)
Dmitry D. Chernov [Sun, 17 Sep 2017 11:50:02 +0000 (21:50 +1000)]
Revert previous commit (yes, I'm dumb)

7 years agoGame: Fix tiny typo
Dmitry D. Chernov [Sun, 17 Sep 2017 11:43:55 +0000 (21:43 +1000)]
Game: Fix tiny typo

7 years agotypos
Ketmar Dark [Sun, 17 Sep 2017 10:04:44 +0000 (13:04 +0300)]
typos

7 years agodo not forbid selecting invalid saves; report "you idiot" instead
Ketmar Dark [Sun, 17 Sep 2017 07:46:41 +0000 (10:46 +0300)]
do not forbid selecting invalid saves; report "you idiot" instead

7 years agohashtable cosmetic updates
Ketmar Dark [Sun, 17 Sep 2017 06:10:35 +0000 (09:10 +0300)]
hashtable cosmetic updates

7 years agoparser and parser-dependent modules cosmetix
Ketmar Dark [Sun, 17 Sep 2017 03:15:50 +0000 (06:15 +0300)]
parser and parser-dependent modules cosmetix

7 years agoturned on "SCOPEDENUMS" fpc option
Ketmar Dark [Sun, 17 Sep 2017 03:01:36 +0000 (06:01 +0300)]
turned on "SCOPEDENUMS" fpc option

7 years agofixed build bug in headless server (lol, i am dumb)
Ketmar Dark [Thu, 14 Sep 2017 09:10:28 +0000 (12:10 +0300)]
fixed build bug in headless server (lol, i am dumb)

7 years agoless OpenGL calls for headless server
Ketmar Dark [Wed, 13 Sep 2017 22:25:17 +0000 (01:25 +0300)]
less OpenGL calls for headless server

7 years agocheats are active in single/coop now ('cause Wyoming Knotts, you know)
Ketmar Dark [Wed, 13 Sep 2017 04:13:16 +0000 (07:13 +0300)]
cheats are active in single/coop now ('cause Wyoming Knotts, you know)

7 years agodynamic light convars
Ketmar Dark [Wed, 13 Sep 2017 01:45:11 +0000 (04:45 +0300)]
dynamic light convars

7 years ago"holmes pause" mode
Ketmar Dark [Wed, 13 Sep 2017 01:40:33 +0000 (04:40 +0300)]
"holmes pause" mode

7 years agosave/load UI cosmetix
Ketmar Dark [Tue, 12 Sep 2017 21:16:55 +0000 (00:16 +0300)]
save/load UI cosmetix

7 years agocompiler hint fix
Ketmar Dark [Tue, 12 Sep 2017 20:48:50 +0000 (23:48 +0300)]
compiler hint fix

7 years agobye-bye, bineditor, we won't miss you
Ketmar Dark [Tue, 12 Sep 2017 20:46:24 +0000 (23:46 +0300)]
bye-bye, bineditor, we won't miss you

7 years agomore help for "d_monster"
Ketmar Dark [Tue, 12 Sep 2017 07:50:48 +0000 (10:50 +0300)]
more help for "d_monster"

7 years agobineditor: switched from old-style `File` i/o to new-style `TStream` i/o; should...
Ketmar Dark [Tue, 12 Sep 2017 05:39:04 +0000 (08:39 +0300)]
bineditor: switched from old-style `File` i/o to new-style `TStream` i/o; should fix some windows problems (or not)

7 years agoslightly faster map reloading on restart; enabled "--game-scale" cli arg in non-debug...
Ketmar Dark [Mon, 11 Sep 2017 22:20:04 +0000 (01:20 +0300)]
slightly faster map reloading on restart; enabled "--game-scale" cli arg in non-debug builds

7 years agohashtable changes (preparation to exoma scripting)
Ketmar Dark [Mon, 11 Sep 2017 22:05:50 +0000 (01:05 +0300)]
hashtable changes (preparation to exoma scripting)

7 years agorender monster drop after monsters, so monster corpses will not obscure ammo clips...
Ketmar Dark [Mon, 11 Sep 2017 19:30:44 +0000 (22:30 +0300)]
render monster drop after monsters, so monster corpses will not obscure ammo clips, for example

7 years agotools can be compiled again
Ketmar Dark [Mon, 11 Sep 2017 19:29:49 +0000 (22:29 +0300)]
tools can be compiled again

7 years agoxdynrec: some code cleanup
Ketmar Dark [Mon, 11 Sep 2017 19:14:24 +0000 (22:14 +0300)]
xdynrec: some code cleanup

7 years agosimple allocation counter for classes
Ketmar Dark [Mon, 11 Sep 2017 18:30:12 +0000 (21:30 +0300)]
simple allocation counter for classes

7 years agoadded d_mem command
fgsfds [Mon, 11 Sep 2017 17:57:11 +0000 (20:57 +0300)]
added d_mem command

7 years agoadded `glFlush()` and `glFinish()` to texture uploader: this should make buggy driver...
Ketmar Dark [Mon, 11 Sep 2017 16:41:16 +0000 (19:41 +0300)]
added `glFlush()` and `glFinish()` to texture uploader: this should make buggy drivers happier (i hope)

7 years agomade "dbg_scale" non-restricted
Ketmar Dark [Mon, 11 Sep 2017 14:13:28 +0000 (17:13 +0300)]
made "dbg_scale" non-restricted

7 years agodo not bilinear anything except sky
Ketmar Dark [Mon, 11 Sep 2017 14:03:29 +0000 (17:03 +0300)]
do not bilinear anything except sky

7 years agodbg_scale fixes; made non-sky textures always NEAREST
Ketmar Dark [Mon, 11 Sep 2017 13:45:30 +0000 (16:45 +0300)]
dbg_scale fixes; made non-sky textures always NEAREST

7 years agocosmetix: `curTime*` -> `getTime*`
Ketmar Dark [Sun, 10 Sep 2017 12:36:16 +0000 (15:36 +0300)]
cosmetix: `curTime*` -> `getTime*`

7 years agosome more exoma code
Ketmar Dark [Sat, 9 Sep 2017 10:56:33 +0000 (13:56 +0300)]
some more exoma code

7 years agoexoma fixes
Ketmar Dark [Sat, 9 Sep 2017 08:14:50 +0000 (11:14 +0300)]
exoma fixes

7 years agosave/load fixes
Ketmar Dark [Fri, 8 Sep 2017 20:29:10 +0000 (23:29 +0300)]
save/load fixes

  plus one very experimental feature, do not touch!

7 years agohacked new ray tracer: it is complete shit, but at least it seems to work; i'll rewri...
Ketmar Dark [Fri, 8 Sep 2017 11:30:52 +0000 (14:30 +0300)]
hacked new ray tracer: it is complete shit, but at least it seems to work; i'll rewrite it later... maybe

7 years agoreplaced line-vs-aabb test with floating point one: it seems to be both faster and...
Ketmar Dark [Fri, 8 Sep 2017 08:17:42 +0000 (11:17 +0300)]
replaced line-vs-aabb test with floating point one: it seems to be both faster and more precise

7 years agoberserk autoswitch is cheat now
Ketmar Dark [Thu, 7 Sep 2017 20:01:43 +0000 (23:01 +0300)]
berserk autoswitch is cheat now

7 years agoambient light for level (doesn't work with dynamic lights; I. WANT. SHADERS!)
Ketmar Dark [Thu, 7 Sep 2017 07:00:39 +0000 (10:00 +0300)]
ambient light for level (doesn't work with dynamic lights; I. WANT. SHADERS!)

7 years agolighting now works in scaled mode
Ketmar Dark [Thu, 7 Sep 2017 05:56:44 +0000 (08:56 +0300)]
lighting now works in scaled mode

7 years agoxdynrec: TColor type (rgb, and optional a)
Ketmar Dark [Thu, 7 Sep 2017 05:33:14 +0000 (08:33 +0300)]
xdynrec: TColor type (rgb, and optional a)

7 years agosimplified trigger loading code
Ketmar Dark [Thu, 7 Sep 2017 04:56:51 +0000 (07:56 +0300)]
simplified trigger loading code

7 years agomap records and fields can have optional tooltips ("tip") and help ("help") in mapdef...
Ketmar Dark [Thu, 7 Sep 2017 04:09:58 +0000 (07:09 +0300)]
map records and fields can have optional tooltips ("tip") and help ("help") in mapdef.txt; somebody should write 'em...

7 years agofixed typo in trigger caching; Anower Station is REALLY working now
Ketmar Dark [Thu, 7 Sep 2017 03:50:20 +0000 (06:50 +0300)]
fixed typo in trigger caching; Anower Station is REALLY working now

7 years agotrigger data now cached on map loading (so it should be as fast as the previous trigg...
Ketmar Dark [Thu, 7 Sep 2017 03:29:40 +0000 (06:29 +0300)]
trigger data now cached on map loading (so it should be as fast as the previous trigger data structure)

7 years agomplat triggers can make sound now
Ketmar Dark [Thu, 7 Sep 2017 02:38:30 +0000 (05:38 +0300)]
mplat triggers can make sound now

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

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

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

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

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

7 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

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

7 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

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

7 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

7 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

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

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

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

7 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

7 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()`

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

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

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

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

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

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

7 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

7 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

7 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

7 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

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

7 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

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

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

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

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

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

7 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

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

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

7 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

7 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

7 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

7 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`

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

7 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

7 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

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

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

7 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

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

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

7 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

7 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

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

7 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

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

7 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