Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Naming Variables

Name: Anonymous 2011-04-06 21:07

I just name them as they come. For example the first one will be something like int one;, the second int two;, etc, etc...
I think it's a pretty good system.

Name: Anonymous 2011-04-06 21:33


spawnMissile m o src dst pl
 -> u:[@(newUnit o m) "owner"=0 "tile"=src "disp"=32src "payload"=pl]
    v:(dst-src)*32 s:3*u."speed" ttl:v.abs%%s
 -> u."anim"=:['missile ttl]
 -> u."dir"=:v%%(max ttl 1)
 -> order "die" u."id"
 -> unitSay "shot" u -> u.placeUnit -> [u@!newUnits]

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List