Jun 20, 2010 at 1:47 AM
Cold Agony of Resolute Vacuum
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jan 1, 2008
Location: Elsewhere
Posts: 1973
Suppose I proposed a way to do this really, really effeciently.
What I'm thinking is to modify the Skipflags to act as the runtime variables.
Seeing as people only use a handful of skipflags as a time, reserve, say... 0000 - 0010 for normal use, then use all others as the runtime variables.
So the command set needed would be:
<VARXXXX:YYYY:ZZZZ- Put Y into variable form starting at skipflag X via method Z (0000 - Set, 0001 - Add, 0002 - Subtract, 0003 - Multiply, 0004 - Divide and trunicate)
<VAPXXXX:YYYY:ZZZZ - Put skipflag range X to flag range starting at Y if Z = 0, else vice versa
<VAJXXXX:YYYY:ZZZZ:WWWW - Check skipflag range starting at X, compare to Y via method Z (0000 - Equal, 0001 - Greater than, 0002 - Less than, 0003 - Greater than or equal to, 0004 - Less than or equal to), if true jump to W
This would mean no need to allocate additional RAM and no need to add a new patch of data for variables (as well as quite a lot less changes overall).
Thoughts?
What I'm thinking is to modify the Skipflags to act as the runtime variables.
Seeing as people only use a handful of skipflags as a time, reserve, say... 0000 - 0010 for normal use, then use all others as the runtime variables.
So the command set needed would be:
<VARXXXX:YYYY:ZZZZ- Put Y into variable form starting at skipflag X via method Z (0000 - Set, 0001 - Add, 0002 - Subtract, 0003 - Multiply, 0004 - Divide and trunicate)
<VAPXXXX:YYYY:ZZZZ - Put skipflag range X to flag range starting at Y if Z = 0, else vice versa
<VAJXXXX:YYYY:ZZZZ:WWWW - Check skipflag range starting at X, compare to Y via method Z (0000 - Equal, 0001 - Greater than, 0002 - Less than, 0003 - Greater than or equal to, 0004 - Less than or equal to), if true jump to W
This would mean no need to allocate additional RAM and no need to add a new patch of data for variables (as well as quite a lot less changes overall).
Thoughts?