Commit Graph

24 Commits

Author SHA1 Message Date
thetaepsilon-gamedev
fd978204dd new flow logic: abms.lua: use directional callback function for direcional nodes to obtain neighbour list 2017-10-16 23:27:04 +01:00
thetaepsilon-gamedev
30bedbfecc new flow logic: abms.lua: hoist simple flowable neighbour calculation into if-block in preparation for directional flowables support 2017-10-15 18:18:48 +01:00
thetaepsilon-gamedev
d5e3f1cf68 new flow logic: implement post-transition hook with mesecons support, add mesecons transition rules for flow sensor 2017-10-08 17:38:28 +01:00
thetaepsilon-gamedev
eaf6c33bae new flow logic: abms.lua: implement node transitions 2017-10-08 16:19:51 +01:00
thetaepsilon-gamedev
6a25e56336 new flow logic: algorithmic and value tuning for non-finite mode 2017-10-08 11:32:08 +01:00
thetaepsilon-gamedev
f94c93bb59 new flow logic: abms.lua: implement non-finite mode cleanupfn invocation in run_output() 2017-10-07 22:35:08 +01:00
thetaepsilon-gamedev
d4346919bc new flow logic: abms.lua: pass initial pressure to run_output() to allow falling-level event detection 2017-10-07 22:29:17 +01:00
thetaepsilon-gamedev
9ab197af2f new flow logic: abms.lua: implement non-finite mode behaviour for neighbour output helper 2017-10-07 22:21:54 +01:00
thetaepsilon-gamedev
07e769d1b9 new flow logic: abms.lua: pass finite mod flag to output handler callbacks in flowlogic.run_output() 2017-10-07 22:07:30 +01:00
thetaepsilon-gamedev
bd32b4fca2 new flow logic: abms.lua: pass finite mode flag to run_output() 2017-10-07 22:03:53 +01:00
thetaepsilon-gamedev
187e755aa5 new flow logic: abms.lua: don't unpack outputdef variables in flowlogic.run(), leave to flowlogic.run_output() 2017-10-07 21:44:33 +01:00
thetaepsilon-gamedev
9c770532e6 new flow logic: abms.lua: refactor run_input to run as part of master run() ABM 2017-10-07 19:19:09 +01:00
thetaepsilon-gamedev
65b3448796 new flow logic: abms.lua: refactor flowlogic.run_output() into a processing stage of flowlogic.run() 2017-10-07 17:55:14 +01:00
thetaepsilon-gamedev
016f9de82f new flow logic: abms.lua: refactor ABM logic into new master ABM, make balance_pressure() take current pressure and return new pressure 2017-10-07 17:33:42 +01:00
thetaepsilon-gamedev
608a9a6980 new flow logic: abms.lua: wrap up pressure value accesses behind accessor object 2017-10-07 17:14:50 +01:00
thetaepsilon-gamedev
6f90ee0875 new flow logic: abms.lua: add companion cleaner helper for neighbour output 2017-10-07 13:24:46 +01:00
thetaepsilon-gamedev
8e53526b54 new flow logic: abms.lua: rename neighbour output helper to better indicate lack of rotation support 2017-10-01 21:20:30 +01:00
thetaepsilon-gamedev
667eeb7d09 new flow logic: abms.lua: generalise spigot output code to support arbitary neighbour lists 2017-10-01 21:04:07 +01:00
thetaepsilon-gamedev
dc13ec619f new flow logic: abms.lua: remove intake limit coercion causing water to be vanished 2017-10-01 20:27:30 +01:00
thetaepsilon-gamedev
9abdeb3d62 new flow logic: abms.lua: use flowable nodes registry to determine viable neighbours 2017-10-01 20:12:19 +01:00
thetaepsilon-gamedev
463e7a206a new flow logic: abms.lua: start splitting apart spigot code into generalised output ABM 2017-10-01 12:25:43 +01:00
thetaepsilon-gamedev
3486ee319e abms.lua: refactor and generalise run_pump_intake() to allow passing custom intake functions 2017-10-01 00:44:14 +01:00
thetaepsilon-gamedev
31741e33e2 new_flow_logic/abms.lua: run_pump_intake(): use passed-in maxpressure instead of table lookup, pass through in abm_register.lua 2017-10-01 00:00:33 +01:00
thetaepsilon-gamedev
c3627551b0 move all current new_flow_logic code to dedicated sub-directory 2017-09-30 23:42:26 +01:00