Not logged inOpenClonk Forum
Up Topic Problem bezüglich Actions/ActMap

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Günther

> Was ist der Unterschied zwischen "DFA_FLOAT" und "FLOAT"?


Für ein wenig Erhellung, siehe System.ocg/C4.c

Die „DFA_*”-Konstanten waren mal Integer - einfach weil sie in der Engine immer schon Integer waren. Später wurde es dann einfacher, sie als Strings zu implementieren, und es ist netter, wenn GetProcedure() nicht Integer in Strings umwandeln muss und alles einheitlich ist. Zum Glück konnte ich einfach die Konstanten ändern statt alle Scripts. Es ist aber äußerst unwahrscheinlich, dass sich der Wert der Konstanten nochmal ändert, also kann man jetzt einfach „"FLOAT"” statt „DFA_FLOAT” schreiben.

Was „FLOAT” ist, weiß ich allerdings nicht.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill