melex750

Results 57 comments of melex750

Maybe message() and variable list should show the binary representation, like ```0b01001011```, if the argument given is ```byte```.

It should be pointed out that there's currently a lack of unit tests confirming correctness of various conversions and operations. It looks like it's working correctly and using Two's Complement....

So far I haven't reproduce the crash. ------------ In ```FetchOre()```, ```object ec = radar(EnergyCell);``` should be ```object ec = radar(PowerCell);```

There are various overloads in C++ for ```log()``` and ```log10()``` to handle more data types than just ```float```, we can make a kind of polymorphic function to selectively call one...

https://www.moddb.com/games/colobot-gold-edition/addons https://www.moddb.com/mods/returbot/addons/returbot https://github.com/colobot/colobot/files/7993711/MazesOnMarsV02.zip

For ```flag()``` you use TraceColor values ```Blue```, ```Red```, ```Green```, ```Yellow```, or ```Violet``` or 0, 1, 2, 3, or 4.

Can you run the test binary with --CBotUT_TestSaveState command line argument. And because there are new tests is good to check for leaks with valgrind too.

% also works for the other undocumented numeric types; ```byte``` ```short``` ```char``` ```long``` ```double```

I'm just curious if you can reproduce this at a lower resolution or different aspect ratio.

> Will write up the description you requested later. I didn't request a description.