Hello community!
I noticed that it was Sunday Night and I didn't really committed stuff for Soldat so instead of posting right away I did some code cleanup
Zakath also did some code cleanup and Falcon worked on the scripcore leaving some "accidental" Delphi compile errors for me to fix (yeah happens like each week now
).
Besides that I tried to replace all special libraries Soldat uses for GUI stuff with default ones in order to compile Soldat with Lazarus. But as our old version of Delphi needs these units for Unicode support it didn't work out. I could compile and run it but got error popups and playing wasn't possible...
I think it's better to separate the GUI from the game, redo the GUI and port the game to Lazarus that way.
But that will take a while and I don't plan to do it for the next release.
I wanted to work on the Updater for Soldat but then I looked into the code formatter in Lazarus. It actually comes close to what I want for Soldat after changing some settings.
I'm not sure if it will work for Soldat though as it crashed last time I tried it.
I also noticed that running Soldat in the Delphi debugger can be problematic. Especially if you trigger the high CPU load bug which seems to happens when you leave and join an offline game with a certain timing. I didn't test it much but it seems like you need to be dead while leave the game. If you know more about this let me know.