From 570d35dbaadab887f0cb61872173e6cd8f8af528 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Wed, 12 Jun 2013 17:49:49 +0000 Subject: [PATCH] Lunatic: Propagate potentially remapped CON defines to the control module. (This is the module that implements much of the "hard-coded" functionality formerly on the C side.) git-svn-id: https://svn.eduke32.com/eduke32@3871 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/lunatic/control.lua | 146 ++++++++++----------- polymer/eduke32/source/lunatic/defs.ilua | 3 + 2 files changed, 69 insertions(+), 80 deletions(-) diff --git a/polymer/eduke32/source/lunatic/control.lua b/polymer/eduke32/source/lunatic/control.lua index 79a6b854e..939124ac7 100644 --- a/polymer/eduke32/source/lunatic/control.lua +++ b/polymer/eduke32/source/lunatic/control.lua @@ -853,44 +853,53 @@ function _showview(x, y, z, a, horiz, sect, x1, y1, x2, y2, unbiasedp) ffiC.G_ShowView(x, y, z, a, horiz, sect, x1, y1, x2, y2, unbiasedp); end -local D = { - -- TODO: dynamic tile remapping - ACTIVATOR = 2, - MASTERSWITCH = 8, - RESPAWN = 9, - APLAYER = 1405, - FIRSTAID = 53, - STEROIDS = 55, - AIRTANK = 56, - JETPACK = 57, - HEATSENSOR = 59, - BOOTS = 61, - HOLODUKE = 1348, +---=== DEFINED LABELS ===--- - STATUE = 753, - NAKED1 = 603, - PODFEM1 = 1294, - FEM1 = 1312, - FEM2 = 1317, - FEM3 = 1321, - FEM5 = 1323, - FEM4 = 1325, - FEM6 = 1334, - FEM8 = 1336, - FEM7 = 1395, - FEM9 = 3450, - FEM10 = 4864, +-- Will contain [