05-30-2015, 04:25 PM
The new scene parser that was added some time ago supports a new way of defining boolean values.
In original colobot, there was no real boolean values, just numbers - 0 for false, 1 for true.
Now, you can actually use true/false for these values.
My only question now is: Should the true/false become the new recommended standard used in default Colobot scene files, or should we keep using 1/0?
In original colobot, there was no real boolean values, just numbers - 0 for false, 1 for true.
Now, you can actually use true/false for these values.
Code:
CreateObject selectable=0 // old syntax
CreateObject selectable=false // new syntax
My only question now is: Should the true/false become the new recommended standard used in default Colobot scene files, or should we keep using 1/0?