From 57e940f67896e0f085de23088754fe1682cd49db Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 28 Dec 2011 13:10:22 +0100 Subject: DREAMWEB: Move all saved variables to a GameVars struct The data segment is now completely unused. --- devtools/tasmrecover/tasm-recover | 62 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) (limited to 'devtools/tasmrecover') diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover index e7791c4e7d..e46b2efaa8 100755 --- a/devtools/tasmrecover/tasm-recover +++ b/devtools/tasmrecover/tasm-recover @@ -455,6 +455,66 @@ p = parser(skip_binary_data = [ 'linepointer', 'linedirection', 'linelength', + # vars.asm - saved vars + 'startvars', + 'progresspoints', + 'watchon', + 'shadeson', + 'secondcount', + 'minutecount', + 'hourcount', + 'zoomon', + 'location', + 'expos', + 'exframepos', + 'extextpos', + 'card1money', + 'listpos', + 'ryanpage', + 'watchingtime', + 'reeltowatch', + 'endwatchreel', + 'speedcount', + 'watchspeed', + 'reeltohold', + 'endofholdreel', + 'watchmode', + 'destafterhold', + 'newsitem', + 'liftflag', + 'liftpath', + 'lockstatus', + 'doorpath', + 'counttoopen', + 'counttoclose', + 'rockstardead', + 'generaldead', + 'sartaindead', + 'aidedead', + 'beenmugged', + 'gunpassflag', + 'canmovealtar', + 'talkedtoattendant', + 'talkedtosparky', + 'talkedtoboss', + 'talkedtorecep', + 'cardpassflag', + 'madmanflag', + 'keeperflag', + 'lasttrigger', + 'mandead', + 'seed', + 'seed', + 'seed', + 'needtotravel', + 'throughdoor', + 'newobs', + 'ryanon', + 'combatcount', + 'lastweapon', + 'dreamnumber', + 'roomafterdream', + 'shakecounter', # vars.asm - constants 'openinvlist', 'ryaninvlist', @@ -489,7 +549,7 @@ p = parser(skip_binary_data = [ 'tablesize', 'undertextsizex', # defined in dreambase.h 'undertextsizey', # defined in dreambase.h - #'lengthofvars', # kept to verify savegame validity + 'lengthofvars', # defined in dreambase.h 'lenofmapstore', # defined in dreambase.h 'keypadx', 'keypady', -- cgit v1.2.3