DEADSOFTWARE

d2df-sdl.git
6 years agostarted `conRegVar()` API (only for booleans for now)
Ketmar Dark [Fri, 25 Aug 2017 01:42:59 +0000 (04:42 +0300)]
started `conRegVar()` API (only for booleans for now)

6 years agoturned on typeinfo (preparing for text-mode maps magic)
Ketmar Dark [Fri, 25 Aug 2017 00:43:43 +0000 (03:43 +0300)]
turned on typeinfo (preparing for text-mode maps magic)

6 years agotemporarily turned off raytracing ortho-accelerator (it is buggy)
Ketmar Dark [Thu, 24 Aug 2017 22:00:49 +0000 (01:00 +0300)]
temporarily turned off raytracing ortho-accelerator (it is buggy)

6 years agoremoved unused code; optimized horizontal and vertical traces should work (i hope)
Ketmar Dark [Thu, 24 Aug 2017 18:25:04 +0000 (21:25 +0300)]
removed unused code; optimized horizontal and vertical traces should work (i hope)

6 years agooptimized horizontal and vertical traces
Ketmar Dark [Thu, 24 Aug 2017 18:24:19 +0000 (21:24 +0300)]
optimized horizontal and vertical traces

6 years agooptimized horizontal grid traces
Ketmar Dark [Thu, 24 Aug 2017 17:41:53 +0000 (20:41 +0300)]
optimized horizontal grid traces

6 years agoforcing centering of small maps (BlackDoomer request)
Ketmar Dark [Thu, 24 Aug 2017 16:16:34 +0000 (19:16 +0300)]
forcing centering of small maps (BlackDoomer request)

6 years ago`conwriteln()` and `conwritefln()` API
Ketmar Dark [Thu, 24 Aug 2017 16:07:48 +0000 (19:07 +0300)]
`conwriteln()` and `conwritefln()` API

6 years agoadded "--safe-log" cli arg: log writer will be slower, but should not loose log entri...
Ketmar Dark [Thu, 24 Aug 2017 15:58:38 +0000 (18:58 +0300)]
added "--safe-log" cli arg: log writer will be slower, but should not loose log entries on crash

6 years agoadded `utils.formatstrf()`; added `e_LogWritefln()`; made logging system slightly...
Ketmar Dark [Thu, 24 Aug 2017 15:52:34 +0000 (18:52 +0300)]
added `utils.formatstrf()`; added `e_LogWritefln()`; made logging system slightly faster

6 years agofaster blood particles
Ketmar Dark [Thu, 24 Aug 2017 02:41:03 +0000 (05:41 +0300)]
faster blood particles

6 years agoslightly better water particles
Ketmar Dark [Thu, 24 Aug 2017 02:23:12 +0000 (05:23 +0300)]
slightly better water particles

6 years agoparticle code uglyfying; more gitiks in holmes
Ketmar Dark [Thu, 24 Aug 2017 01:06:38 +0000 (04:06 +0300)]
particle code uglyfying; more gitiks in holmes

6 years agofixed another bug in grid raytracer
Ketmar Dark [Thu, 24 Aug 2017 01:06:24 +0000 (04:06 +0300)]
fixed another bug in grid raytracer

6 years agoparticles refucktoring
Ketmar Dark [Wed, 23 Aug 2017 23:52:12 +0000 (02:52 +0300)]
particles refucktoring

6 years agocosmetix
Ketmar Dark [Wed, 23 Aug 2017 22:20:08 +0000 (01:20 +0300)]
cosmetix

6 years agofixed grid updates; another station now working (kinda)
Ketmar Dark [Wed, 23 Aug 2017 22:07:18 +0000 (01:07 +0300)]
fixed grid updates; another station now working (kinda)

6 years agono more raycasting thru the walls if the wall is in the starting cell
Ketmar Dark [Wed, 23 Aug 2017 21:07:32 +0000 (00:07 +0300)]
no more raycasting thru the walls if the wall is in the starting cell

6 years agofixed passing thru disabled walls
Ketmar Dark [Wed, 23 Aug 2017 20:30:15 +0000 (23:30 +0300)]
fixed passing thru disabled walls

  i completely fucked up map grid creation by inserting walls and
  doors twice (or even thrice). what a moron i am!

6 years agoskip disabled panels in map rendering collector
Ketmar Dark [Wed, 23 Aug 2017 19:11:50 +0000 (22:11 +0300)]
skip disabled panels in map rendering collector

6 years agodon't skip drawing disabled panels
Ketmar Dark [Wed, 23 Aug 2017 19:11:11 +0000 (22:11 +0300)]
don't skip drawing disabled panels

6 years agoholmes now can work without lasersight
Ketmar Dark [Wed, 23 Aug 2017 19:06:13 +0000 (22:06 +0300)]
holmes now can work without lasersight

6 years ago"--holmes" now turns on debug mode too (and it really works now)
Ketmar Dark [Wed, 23 Aug 2017 18:45:28 +0000 (21:45 +0300)]
"--holmes" now turns on debug mode too (and it really works now)

6 years agofixed build in non-debug mode
Ketmar Dark [Wed, 23 Aug 2017 18:28:01 +0000 (21:28 +0300)]
fixed build in non-debug mode

6 years agofixed bug in grid update; one more mode for Holmes
Ketmar Dark [Wed, 23 Aug 2017 18:22:58 +0000 (21:22 +0300)]
fixed bug in grid update; one more mode for Holmes

6 years agofixed bug in grid raytracer: use `const`, Luke!
Ketmar Dark [Wed, 23 Aug 2017 17:42:46 +0000 (20:42 +0300)]
fixed bug in grid raytracer: use `const`, Luke!

6 years agofixed bug in grid updates for moving objects
Ketmar Dark [Wed, 23 Aug 2017 16:45:57 +0000 (19:45 +0300)]
fixed bug in grid updates for moving objects

  and God says: thou should check all corners!

6 years agomore debug code in grid and holmes
Ketmar Dark [Wed, 23 Aug 2017 14:44:19 +0000 (17:44 +0300)]
more debug code in grid and holmes

6 years ago"dbg_holmes" console command; draw line to monster target
Ketmar Dark [Wed, 23 Aug 2017 13:53:45 +0000 (16:53 +0300)]
"dbg_holmes" console command; draw line to monster target

6 years agomore holmes code
Ketmar Dark [Wed, 23 Aug 2017 13:40:08 +0000 (16:40 +0300)]
more holmes code

6 years agomoved debug inspector to g_holmes.pas
Ketmar Dark [Wed, 23 Aug 2017 11:08:20 +0000 (14:08 +0300)]
moved debug inspector to g_holmes.pas

6 years agoalot of debugging code
Ketmar Dark [Wed, 23 Aug 2017 00:20:27 +0000 (03:20 +0300)]
alot of debugging code

6 years agoraycast jumper (bad)
Ketmar Dark [Tue, 22 Aug 2017 19:54:19 +0000 (22:54 +0300)]
raycast jumper (bad)

6 years agomonsters in grid now works
Ketmar Dark [Tue, 22 Aug 2017 19:21:55 +0000 (22:21 +0300)]
monsters in grid now works

6 years agosome cosmetic cleanup
Ketmar Dark [Tue, 22 Aug 2017 19:15:15 +0000 (22:15 +0300)]
some cosmetic cleanup

6 years agodebug cosmetix
Ketmar Dark [Tue, 22 Aug 2017 19:00:16 +0000 (22:00 +0300)]
debug cosmetix

6 years agoremoved some unused code in `lineAABBIntersects()`
Ketmar Dark [Tue, 22 Aug 2017 18:58:45 +0000 (21:58 +0300)]
removed some unused code in `lineAABBIntersects()`

6 years agoremoved more debug code
Ketmar Dark [Tue, 22 Aug 2017 18:55:55 +0000 (21:55 +0300)]
removed more debug code

6 years agoremoved old tracer code
Ketmar Dark [Tue, 22 Aug 2017 18:55:16 +0000 (21:55 +0300)]
removed old tracer code

6 years agonew tracer seems to work
Ketmar Dark [Tue, 22 Aug 2017 18:33:54 +0000 (21:33 +0300)]
new tracer seems to work

6 years agono more tree traces (i hope); still not working right
Ketmar Dark [Tue, 22 Aug 2017 17:45:18 +0000 (20:45 +0300)]
no more tree traces (i hope); still not working right

6 years agoremoved all mentions of dynaabb tree from the sources; WARNING! EVERYTHING IS BROKEN!
Ketmar Dark [Tue, 22 Aug 2017 17:16:22 +0000 (20:16 +0300)]
removed all mentions of dynaabb tree from the sources; WARNING! EVERYTHING IS BROKEN!

6 years agogrid now has fixed tile size
Ketmar Dark [Tue, 22 Aug 2017 15:27:17 +0000 (18:27 +0300)]
grid now has fixed tile size

6 years agoraycaster code cleanup
Ketmar Dark [Tue, 22 Aug 2017 15:23:11 +0000 (18:23 +0300)]
raycaster code cleanup

6 years agomore code for tracing and other shit; NOTHING IS WORKING YET
Ketmar Dark [Tue, 22 Aug 2017 15:03:00 +0000 (18:03 +0300)]
more code for tracing and other shit; NOTHING IS WORKING YET

6 years agomore grid code uglification -- should be a little faster now
Ketmar Dark [Tue, 22 Aug 2017 12:12:24 +0000 (15:12 +0300)]
more grid code uglification -- should be a little faster now

  uglified grid code even more: each proxy now has "enabled" flag,
  and traces without callbacks (most "did collide with anything?"
  traces aren't interested in exact collision info) will return
  simple true/false flag, so we can avoid expensive callback
  invocation.

  not working yet, tho: i fucked up flag checking somewhere

6 years agono more "correct offsets" in particle engine
Ketmar Dark [Tue, 22 Aug 2017 11:16:06 +0000 (14:16 +0300)]
no more "correct offsets" in particle engine

  previous ray tracer was bugged: it could return position inside wall,
  so particles were trying to "compensate" for that (wrongly). and they
  were doing it on *each*(!) think step.

  as particles are pure eye candy (and i rewrote ray tracer), i removed
  that "compensator" altogether.

6 years agomore particle control options
Ketmar Dark [Tue, 22 Aug 2017 10:47:40 +0000 (13:47 +0300)]
more particle control options

6 years agoalternate sky scaling
fgsfds [Tue, 22 Aug 2017 15:26:01 +0000 (18:26 +0300)]
alternate sky scaling

6 years agomore fixes to grid; dunno, seems to work again
Ketmar Dark [Tue, 22 Aug 2017 00:57:58 +0000 (03:57 +0300)]
more fixes to grid; dunno, seems to work again

6 years agogrid code uglification; particles are great again (i hope)
Ketmar Dark [Mon, 21 Aug 2017 23:58:26 +0000 (02:58 +0300)]
grid code uglification; particles are great again (i hope)

6 years agono more tree for map
Ketmar Dark [Mon, 21 Aug 2017 23:21:29 +0000 (02:21 +0300)]
no more tree for map

6 years agomap ray tracer now using grid instead of tree
Ketmar Dark [Mon, 21 Aug 2017 23:07:27 +0000 (02:07 +0300)]
map ray tracer now using grid instead of tree

6 years agofaster hash clears
Ketmar Dark [Mon, 21 Aug 2017 21:49:45 +0000 (00:49 +0300)]
faster hash clears

6 years agoremoved some unused code
Ketmar Dark [Mon, 21 Aug 2017 21:01:24 +0000 (00:01 +0300)]
removed some unused code

6 years agoremoved some unused code
Ketmar Dark [Mon, 21 Aug 2017 20:59:03 +0000 (23:59 +0300)]
removed some unused code

6 years agorestored particles
Ketmar Dark [Mon, 21 Aug 2017 20:56:25 +0000 (23:56 +0300)]
restored particles

6 years agobetter wall tracer
Ketmar Dark [Mon, 21 Aug 2017 20:17:26 +0000 (23:17 +0300)]
better wall tracer

6 years agobetter hitscan tracer; no more level trace bitmap (but no more particles too, alas)
Ketmar Dark [Mon, 21 Aug 2017 20:11:19 +0000 (23:11 +0300)]
better hitscan tracer; no more level trace bitmap (but no more particles too, alas)

6 years agonew tree-based weapon hitscan tracer (sometimes it is faster than the old one, someti...
Ketmar Dark [Mon, 21 Aug 2017 19:28:08 +0000 (22:28 +0300)]
new tree-based weapon hitscan tracer (sometimes it is faster than the old one, sometimes it is slower...)

6 years agoxprofiler: made curtime getters public
Ketmar Dark [Mon, 21 Aug 2017 18:41:51 +0000 (21:41 +0300)]
xprofiler: made curtime getters public

6 years agog_weapons.g_Weapon_gun: faster traces (i hope)
Ketmar Dark [Mon, 21 Aug 2017 17:01:41 +0000 (20:01 +0300)]
g_weapons.g_Weapon_gun: faster traces (i hope)

6 years agoadded simple hash table tester
Ketmar Dark [Mon, 21 Aug 2017 14:49:04 +0000 (17:49 +0300)]
added simple hash table tester

6 years agohashtable: resize bugfix; `forEach()` iterator
Ketmar Dark [Mon, 21 Aug 2017 14:39:41 +0000 (17:39 +0300)]
hashtable: resize bugfix; `forEach()` iterator

6 years agoconsole commands can have help strings (somebody, please, add 'em! ;-)
Ketmar Dark [Mon, 21 Aug 2017 13:15:44 +0000 (16:15 +0300)]
console commands can have help strings (somebody, please, add 'em! ;-)

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