TrackManiaControl/application/FML/Script/Templates/Main.txt
Steffen Schröder 835744b0e6 - deleted test plugin
- added FML Library
2013-11-25 00:02:07 +01:00

28 lines
465 B
Plaintext

main() {
+++OnInit+++
while (True) {
yield;
foreach (Event in PendingEvents) {
switch (Event.Type) {
case CMlEvent::Type::EntrySubmit: {
+++EntrySubmit+++
}
case CMlEvent::Type::KeyPress: {
+++KeyPress+++
}
case CMlEvent::Type::MouseClick: {
+++MouseClick+++
}
case CMlEvent::Type::MouseOut: {
+++MouseOut+++
}
case CMlEvent::Type::MouseOver: {
+++MouseOver+++
}
}
}
+++Loop+++
}
}