- Joined
- Mar 17, 2008
- Messages
- 179
- Reaction score
- 116
- Points
- 43
- Location
- Southwest Pennsylginia
- Website
- sites.google.com
I thought I'd have a hand at converting the ShuttleA to Lua with the goal of adding a tank and srb's.
Some of the code has me stumped. This for example:
It's for the "squat" feature. I don't know of any alternative to "memcpy" or "sizeof" in Lua5.1
Is there a way to do it?
Some of the code has me stumped. This for example:
Code:
SetAnimation (anim_gear, gear_proc);
TOUCHDOWNVTX tdv[ntdvtx];
memcpy(tdv, tdvtx, ntdvtx*sizeof(TOUCHDOWNVTX));
for (int i = 0; i < 4; i++)
tdv[i].pos.y += gear_proc*0.555;
SetTouchdownPoints (tdv, ntdvtx);
Is there a way to do it?