GIRakaCHEEZER said:
If you know what you need to do, you could pull it off faster with just assembly (heck you could even CALL functions in assembly, a completely foreign concept
).
The main point being what DB said about not expanding the TSC buffer. If you had both a TSC version and an ASM version, the ASM version would run faster and would likely take up less space than the TSC version in binary.
The only issue here is that DB doesn't know ASM (or hasn't bothered to get off his lazy butt to learn it, it's really simple once you do and with his apparent grasp of programming languages should be pretty simple), so he wants lace to make the TSC so that he can "code" (script) in the language he is familiar in.
But yeah you can write and call functions in assembly (you knew this, right?), so it isn't like that would be an issue.
It just feels like you're
overdoing the whole TSC thing, since the modifications you guys are suggesting would change it from a scripting language to a mini-programming language. Plus I keep seeing posts that are 2-3 screens long, and I am amazed at how complex you want it to be.
Yeah, I'm aware the entire game could be written in assembly (in as sense already is).
Heck, gimme a couple weeks of nothing but poking around and experimenting and I could probably do it.
But there is other things to it as well.
For starters, I intend to release the TSC-modified EXE as a modding tool; something for people to try out more advanced scripting (otherwise impossible).
And granted maybe the discussion of variables is taking it a little far, but no denying they would be useful.
I really don't see this division you're seeing, Gir, between assembly-modding and assembly-assisted TSC-modding.
Anyways, if you don't buy any of that, my final point is this: I've anticipated the problems I will encounter and devised the most effecient series of tools to deal with them.
And they just happen to take the form of the following commands:
<*NJ - 5 Negation jumps (Flag, Arms, Items, Equipment, Map (Optional, really))
<MIM - Mimiga Mask expansion
<BUL - Draw a bullet
<SMY - Spawn NPC at player location
And two others I don't recall. ^^;
Everything else being discussed currently is purely hypothetical and would just add extra icing to the cake.
EDIT: Also, if I expand the TSC buffer more than a couple hundred bytes, it starts to degrade performance on my computer, lousy piece of crap it is.
So the reason behind my reason is so I can actually play my own mod at reasonable speeds. ^^;