DEADSOFTWARE

d2df-sdl.git
6 years agobetter console completion
Ketmar Dark [Mon, 21 Aug 2017 13:03:49 +0000 (16:03 +0300)]
better console completion

6 years ago"mon_sq_enabled" console command
Ketmar Dark [Mon, 21 Aug 2017 12:47:28 +0000 (15:47 +0300)]
"mon_sq_enabled" console command

6 years agoremoved unnecessary indirection in hash table
Ketmar Dark [Mon, 21 Aug 2017 12:08:10 +0000 (15:08 +0300)]
removed unnecessary indirection in hash table

6 years agosome optimizations in hash table
Ketmar Dark [Mon, 21 Aug 2017 11:50:26 +0000 (14:50 +0300)]
some optimizations in hash table

6 years agohashtable cosmetix
Ketmar Dark [Mon, 21 Aug 2017 11:53:36 +0000 (14:53 +0300)]
hashtable cosmetix

6 years agoadded robin hood hash table implementation
Ketmar Dark [Mon, 21 Aug 2017 09:01:21 +0000 (12:01 +0300)]
added robin hood hash table implementation

6 years agoremoved "monidx" argument from monster spatial query callback (each monster has UIDs...
Ketmar Dark [Mon, 21 Aug 2017 05:18:32 +0000 (08:18 +0300)]
removed "monidx" argument from monster spatial query callback (each monster has UIDs, use UID to get monster object later!)

6 years agocosmetix
Ketmar Dark [Mon, 21 Aug 2017 05:12:48 +0000 (08:12 +0300)]
cosmetix

6 years agodyntree cosmetix
Ketmar Dark [Mon, 21 Aug 2017 04:37:37 +0000 (07:37 +0300)]
dyntree cosmetix

6 years agorewritten dyntree visitor; seems to fix segfaults (but i don't know why)
Ketmar Dark [Mon, 21 Aug 2017 04:25:23 +0000 (07:25 +0300)]
rewritten dyntree visitor; seems to fix segfaults (but i don't know why)

6 years agoreplaced some var args to constref args
Ketmar Dark [Sun, 20 Aug 2017 07:47:08 +0000 (10:47 +0300)]
replaced some var args to constref args

6 years agomore monster tree cosmetix
Ketmar Dark [Sun, 20 Aug 2017 06:20:15 +0000 (09:20 +0300)]
more monster tree cosmetix

6 years agomonster tree cosmetix
Ketmar Dark [Sun, 20 Aug 2017 06:17:12 +0000 (09:17 +0300)]
monster tree cosmetix

6 years agoaccelerated explosion sq
Ketmar Dark [Sun, 20 Aug 2017 05:33:19 +0000 (08:33 +0300)]
accelerated explosion sq

6 years agouse tree to check collisions with shot projectiles
Ketmar Dark [Sun, 20 Aug 2017 05:21:19 +0000 (08:21 +0300)]
use tree to check collisions with shot projectiles

6 years agofaster `g_weapons.CheckTrap()`
Ketmar Dark [Sun, 20 Aug 2017 05:13:29 +0000 (08:13 +0300)]
faster `g_weapons.CheckTrap()`

6 years agouidmap for monsters, so we don't have to do linear searches
Ketmar Dark [Sun, 20 Aug 2017 04:54:57 +0000 (07:54 +0300)]
uidmap for monsters, so we don't have to do linear searches

6 years agosome tree code for monsters
Ketmar Dark [Sun, 20 Aug 2017 03:35:37 +0000 (06:35 +0300)]
some tree code for monsters

6 years agono more tree for items (we don't need it)
Ketmar Dark [Sun, 20 Aug 2017 02:03:00 +0000 (05:03 +0300)]
no more tree for items (we don't need it)

6 years agoremoved e_writelog from g_netmaster
fgsfds [Sun, 20 Aug 2017 01:48:27 +0000 (04:48 +0300)]
removed e_writelog from g_netmaster

6 years agoreplaced e_fixedbuffer with e_msg
fgsfds [Sun, 20 Aug 2017 01:44:59 +0000 (04:44 +0300)]
replaced e_fixedbuffer with e_msg

6 years agono more public `gMonsters`
Ketmar Dark [Sun, 20 Aug 2017 00:21:14 +0000 (03:21 +0300)]
no more public `gMonsters`

6 years agoremoved unused function
Ketmar Dark [Sat, 19 Aug 2017 19:25:07 +0000 (22:25 +0300)]
removed unused function

6 years agog_language: Fix some interface strings
Dmitry D. Chernov [Sat, 19 Aug 2017 00:27:53 +0000 (10:27 +1000)]
g_language: Fix some interface strings

6 years agoconverted grid and tree to generics (fuck you, FPC! your generics fuckin' sux fuckin...
Ketmar Dark [Sat, 19 Aug 2017 19:07:36 +0000 (22:07 +0300)]
converted grid and tree to generics (fuck you, FPC! your generics fuckin' sux fuckin' balls!)

6 years agono more global `gItems[]` array; created DynTree for items (not used yet); also,...
Ketmar Dark [Sat, 19 Aug 2017 19:16:23 +0000 (22:16 +0300)]
no more global `gItems[]` array; created DynTree for items (not used yet); also, fixed FATAL bug in dyntree node manager

6 years agoadded `.positionChanged()` to (almost) all entities; don't forget to call it after...
Ketmar Dark [Sat, 19 Aug 2017 13:58:31 +0000 (16:58 +0300)]
added `.positionChanged()` to (almost) all entities; don't forget to call it after changing entity coords!

6 years agoRevert "don't flush enet every message"
fgsfds [Sat, 19 Aug 2017 16:03:35 +0000 (19:03 +0300)]
Revert "don't flush enet every message"

This reverts commit 42057f398fd17568bb3dbc00b6ffd8c97a99c5e1.

6 years ago`g_basic.g_CollideLevel()` now using accelerated coldet
Ketmar Dark [Sat, 19 Aug 2017 13:27:32 +0000 (16:27 +0300)]
`g_basic.g_CollideLevel()` now using accelerated coldet

6 years agorender code cleanup; collision code cleanup; reverted useless "speedup"
Ketmar Dark [Sat, 19 Aug 2017 13:22:00 +0000 (16:22 +0300)]
render code cleanup; collision code cleanup; reverted useless "speedup"

6 years agoprofiler cosmetix
Ketmar Dark [Sat, 19 Aug 2017 12:33:16 +0000 (15:33 +0300)]
profiler cosmetix

6 years agoslightly better memory locality
Ketmar Dark [Sat, 19 Aug 2017 12:20:45 +0000 (15:20 +0300)]
slightly better memory locality

6 years agointermediate commit (faster render and coldet; this commit won't build!)
Ketmar Dark [Sat, 19 Aug 2017 12:10:35 +0000 (15:10 +0300)]
intermediate commit (faster render and coldet; this commit won't build!)

6 years agopointer taking is typed now (it is safer this way)
Ketmar Dark [Fri, 18 Aug 2017 23:06:57 +0000 (02:06 +0300)]
pointer taking is typed now (it is safer this way)

6 years agochanged mode from DELPHI to OBJFPC (with heavy customization, see "shared/a_modes...
Ketmar Dark [Fri, 18 Aug 2017 23:04:26 +0000 (02:04 +0300)]
changed mode from DELPHI to OBJFPC (with heavy customization, see "shared/a_modes.inc")

6 years agoexperimental grid with buckets
Ketmar Dark [Fri, 18 Aug 2017 22:33:51 +0000 (01:33 +0300)]
experimental grid with buckets

6 years agotree: desperate attempts to win several microseconds...
Ketmar Dark [Fri, 18 Aug 2017 20:40:55 +0000 (23:40 +0300)]
tree: desperate attempts to win several microseconds...

6 years agoshit; "--dbg-mainwan" doesn't work; changed to "-dbg-mainwad"
Ketmar Dark [Fri, 18 Aug 2017 20:00:52 +0000 (23:00 +0300)]
shit; "--dbg-mainwan" doesn't work; changed to "-dbg-mainwad"

6 years ago"--dbg-mainwad-restore" and "--dbg-mainwad wad"
Ketmar Dark [Fri, 18 Aug 2017 19:36:27 +0000 (22:36 +0300)]
"--dbg-mainwad-restore" and "--dbg-mainwad wad"

6 years agocosmetix
Ketmar Dark [Fri, 18 Aug 2017 19:32:46 +0000 (22:32 +0300)]
cosmetix

6 years agoremoved some "try/finally" (sorry, it is FUCKIN' SLOW!)
Ketmar Dark [Fri, 18 Aug 2017 19:27:28 +0000 (22:27 +0300)]
removed some "try/finally" (sorry, it is FUCKIN' SLOW!)

6 years agocosmetic variable renamings
Ketmar Dark [Fri, 18 Aug 2017 19:18:28 +0000 (22:18 +0300)]
cosmetic variable renamings

6 years agoadded small speedup trick to gird (tree already has it)
Ketmar Dark [Fri, 18 Aug 2017 19:13:09 +0000 (22:13 +0300)]
added small speedup trick to gird (tree already has it)

6 years agomore tree/grid debug commands
Ketmar Dark [Fri, 18 Aug 2017 19:06:05 +0000 (22:06 +0300)]
more tree/grid debug commands

6 years agoREADME update
Ketmar Dark [Fri, 18 Aug 2017 18:51:27 +0000 (21:51 +0300)]
README update

6 years agocosmetix
Ketmar Dark [Fri, 18 Aug 2017 18:37:33 +0000 (21:37 +0300)]
cosmetix

6 years agoREADME repo URL fix
Ketmar Dark [Fri, 18 Aug 2017 18:33:42 +0000 (21:33 +0300)]
README repo URL fix

6 years agodon't use tree for drawing by default
Ketmar Dark [Fri, 18 Aug 2017 18:23:57 +0000 (21:23 +0300)]
don't use tree for drawing by default

6 years agocosmetix
Ketmar Dark [Fri, 18 Aug 2017 18:02:42 +0000 (21:02 +0300)]
cosmetix

6 years ago"t_dump_node_queries" (temp debug, DO NOT TOUCH)
Ketmar Dark [Fri, 18 Aug 2017 17:56:43 +0000 (20:56 +0300)]
"t_dump_node_queries" (temp debug, DO NOT TOUCH)

6 years agotree: use integers instead of floats (we don't really need floats, except for segment...
Ketmar Dark [Fri, 18 Aug 2017 17:45:19 +0000 (20:45 +0300)]
tree: use integers instead of floats (we don't really need floats, except for segment queries)

6 years agocosmetix
Ketmar Dark [Fri, 18 Aug 2017 17:36:17 +0000 (20:36 +0300)]
cosmetix

6 years agocosmetix
Ketmar Dark [Fri, 18 Aug 2017 17:07:08 +0000 (20:07 +0300)]
cosmetix

6 years agotree seems to work now
Ketmar Dark [Fri, 18 Aug 2017 16:55:14 +0000 (19:55 +0300)]
tree seems to work now

6 years ago"-dbg-mainwad" cli arg
Ketmar Dark [Fri, 18 Aug 2017 15:58:00 +0000 (18:58 +0300)]
"-dbg-mainwad" cli arg

6 years agomore tree code; still not working
Ketmar Dark [Fri, 18 Aug 2017 15:31:56 +0000 (18:31 +0300)]
more tree code; still not working

6 years agog_triggers.pas: fixed "Warning: Function result variable does not seem to initialized"
Ketmar Dark [Fri, 18 Aug 2017 15:19:12 +0000 (18:19 +0300)]
g_triggers.pas: fixed "Warning: Function result variable does not seem to initialized"

6 years agohidden "Game/DefaultMegawadStart" option to change default playing wads
Ketmar Dark [Fri, 18 Aug 2017 15:07:38 +0000 (18:07 +0300)]
hidden "Game/DefaultMegawadStart" option to change default playing wads

6 years agosome cosmetix in common compiler flags
Ketmar Dark [Fri, 18 Aug 2017 11:52:11 +0000 (14:52 +0300)]
some cosmetix in common compiler flags

6 years agosome statistics
Ketmar Dark [Fri, 18 Aug 2017 01:41:53 +0000 (04:41 +0300)]
some statistics

6 years agotree can render things (buggy)
Ketmar Dark [Fri, 18 Aug 2017 01:35:18 +0000 (04:35 +0300)]
tree can render things (buggy)

6 years agodynamic aabb tree implementation (ported from D, completely untested)
Ketmar Dark [Fri, 18 Aug 2017 01:11:37 +0000 (04:11 +0300)]
dynamic aabb tree implementation (ported from D, completely untested)

6 years agomore SAP code; still not working right
Ketmar Dark [Thu, 17 Aug 2017 20:54:05 +0000 (23:54 +0300)]
more SAP code; still not working right

6 years agoSweep-And-Prune broad phase implementation; not working yet
Ketmar Dark [Thu, 17 Aug 2017 18:25:12 +0000 (21:25 +0300)]
Sweep-And-Prune broad phase implementation; not working yet

6 years agoadded README
fgsfds [Fri, 18 Aug 2017 13:44:15 +0000 (16:44 +0300)]
added README

6 years agodon't flush enet every message
fgsfds [Thu, 17 Aug 2017 18:25:26 +0000 (21:25 +0300)]
don't flush enet every message

6 years agobetter memory locality and access patterns for grid (it is IMPORTANT for old atoms...
Ketmar Dark [Thu, 17 Aug 2017 16:34:20 +0000 (19:34 +0300)]
better memory locality and access patterns for grid (it is IMPORTANT for old atoms, for example)

6 years agoadaptive profiler history length (not really)
Ketmar Dark [Thu, 17 Aug 2017 15:39:28 +0000 (18:39 +0300)]
adaptive profiler history length (not really)

6 years ago"r_draw_grid" -> "r_gridrender"
Ketmar Dark [Thu, 17 Aug 2017 13:16:32 +0000 (16:16 +0300)]
"r_draw_grid" -> "r_gridrender"

6 years agocosmetix
Ketmar Dark [Thu, 17 Aug 2017 13:15:56 +0000 (16:15 +0300)]
cosmetix

6 years agomore profiler fixes
Ketmar Dark [Thu, 17 Aug 2017 13:09:15 +0000 (16:09 +0300)]
more profiler fixes

6 years agomore profiling code
Ketmar Dark [Thu, 17 Aug 2017 12:46:30 +0000 (15:46 +0300)]
more profiling code

6 years agonew console commands: "r_draw_grid" and "dbg_coldet_grid"
Ketmar Dark [Thu, 17 Aug 2017 10:15:24 +0000 (13:15 +0300)]
new console commands: "r_draw_grid" and "dbg_coldet_grid"

6 years agomore profiler code; smoothing values, history
Ketmar Dark [Thu, 17 Aug 2017 09:41:28 +0000 (12:41 +0300)]
more profiler code; smoothing values, history

6 years agomore profiler code
Ketmar Dark [Thu, 17 Aug 2017 08:49:23 +0000 (11:49 +0300)]
more profiler code

6 years agoprofiler
Ketmar Dark [Thu, 17 Aug 2017 08:13:03 +0000 (11:13 +0300)]
profiler

6 years agomoved compiler options to shared/a_modes.inc; turned on advanced records
Ketmar Dark [Thu, 17 Aug 2017 05:48:15 +0000 (08:48 +0300)]
moved compiler options to shared/a_modes.inc; turned on advanced records

6 years agoflamer projectiles don't push
fgsfds [Wed, 16 Aug 2017 14:35:10 +0000 (17:35 +0300)]
flamer projectiles don't push

6 years agodownloading resources...
fgsfds [Wed, 16 Aug 2017 13:09:30 +0000 (16:09 +0300)]
downloading resources...

6 years agocompatibility with older FPC
Ketmar Dark [Wed, 16 Aug 2017 12:53:13 +0000 (15:53 +0300)]
compatibility with older FPC

6 years agoadded common file with compiler flags; cosmetic fix in g_monsters.pas
Ketmar Dark [Wed, 16 Aug 2017 12:36:43 +0000 (15:36 +0300)]
added common file with compiler flags; cosmetic fix in g_monsters.pas

6 years agolight experiments integrated into main tree; use "--twinkletwinkle" to turn it on
Ketmar Dark [Wed, 16 Aug 2017 09:26:06 +0000 (12:26 +0300)]
light experiments integrated into main tree; use "--twinkletwinkle" to turn it on

6 years agomore map grid code
Ketmar Dark [Wed, 16 Aug 2017 09:17:18 +0000 (12:17 +0300)]
more map grid code

6 years agogrid now works for any map bounding box; collisions with lifts and blockmons are...
Ketmar Dark [Wed, 16 Aug 2017 09:04:00 +0000 (12:04 +0300)]
grid now works for any map bounding box; collisions with lifts and blockmons are in grid too

6 years agoreplaced "pvs" for lights with grid
Ketmar Dark [Wed, 16 Aug 2017 08:39:23 +0000 (11:39 +0300)]
replaced "pvs" for lights with grid

6 years agoremoved "potentially visible panels" code in favor of grid
Ketmar Dark [Wed, 16 Aug 2017 08:28:27 +0000 (11:28 +0300)]
removed "potentially visible panels" code in favor of grid

6 years agosimplified grid code (removed alot of pasta); rendering on Another Station now seems...
Ketmar Dark [Wed, 16 Aug 2017 08:17:46 +0000 (11:17 +0300)]
simplified grid code (removed alot of pasta); rendering on Another Station now seems to work

6 years agogrid: proxy pool (no more segfaults on reloading map); use binary heap instead of...
Ketmar Dark [Wed, 16 Aug 2017 07:43:03 +0000 (10:43 +0300)]
grid: proxy pool (no more segfaults on reloading map); use binary heap instead of sorting in renderer

6 years agogrid
Ketmar Dark [Tue, 15 Aug 2017 20:12:42 +0000 (23:12 +0300)]
grid

6 years agooptimized light drawing: process only "possible lit panels" instead of all walls
Ketmar Dark [Tue, 15 Aug 2017 14:46:33 +0000 (17:46 +0300)]
optimized light drawing: process only "possible lit panels" instead of all walls

6 years agolight: use proper scissoring instead of clearing the whole stencil buffer for each...
Ketmar Dark [Tue, 15 Aug 2017 06:07:33 +0000 (09:07 +0300)]
light: use proper scissoring instead of clearing the whole stencil buffer for each light

6 years agoshitlight experiment
Ketmar Dark [Sun, 13 Aug 2017 11:50:58 +0000 (14:50 +0300)]
shitlight experiment

  real-time lighting based on shadow volumes and stencil buffer
  basically, the same thing that is used in 3d, but simplified
  (we only need to draw shadow volumes, and unmarked area is lit)

6 years agocosmetix
Ketmar Dark [Wed, 16 Aug 2017 07:42:42 +0000 (10:42 +0300)]
cosmetix

6 years agobuild "visible panels set" before rendering the frame
Ketmar Dark [Tue, 15 Aug 2017 15:19:13 +0000 (18:19 +0300)]
build "visible panels set" before rendering the frame

  statistics for Another Station starting position:
    before: 7538*8
    after : 7538+127*8

6 years ago"--opengl-dump-exts" cli arg fix
Ketmar Dark [Mon, 14 Aug 2017 15:33:55 +0000 (18:33 +0300)]
"--opengl-dump-exts" cli arg fix

6 years agoautodetect NPOT texture support
Ketmar Dark [Mon, 14 Aug 2017 15:05:27 +0000 (18:05 +0300)]
autodetect NPOT texture support

6 years agosome refactoring (sorry, i need it for not-yet-commited-lighting-patch)
Ketmar Dark [Mon, 14 Aug 2017 13:52:29 +0000 (16:52 +0300)]
some refactoring (sorry, i need it for not-yet-commited-lighting-patch)

6 years agoMenu: Add flamethrower key binds
binarymaster [Mon, 14 Aug 2017 08:56:27 +0000 (11:56 +0300)]
Menu: Add flamethrower key binds

6 years agoPlayer: Code formatting only
binarymaster [Mon, 14 Aug 2017 08:56:10 +0000 (11:56 +0300)]
Player: Code formatting only

6 years agofixed segfault in bot ai
fgsfds [Sun, 13 Aug 2017 16:54:24 +0000 (19:54 +0300)]
fixed segfault in bot ai