Jabka666 / scpcb-ue-my

SCP - Containment Breach Ultimate Edition
31 stars 11 forks source link

IniControler! #47

Closed ZiYueCommentary closed 1 year ago

ZiYueCommentary commented 1 year ago

Finally i made this :DDDD

This pr removed scpcb's ini system, and replaced them with inicontroler.

i also add StringToBoolean function and overridden IniGetInt and IniGetBufferInt functions, now game can parse "true/false" to 1 or 0.

for scp294's weird construction, I made a special inicontroler for scpcb-ue, this problem is solved perfectly. https://github.com/ZiYueCommentary/BlitzToolbox/blob/ziyue/BlitzToolbox/BlitzToolbox.cpp

maybe this pr need more check, especially for scp294.

Jabka666 commented 1 year ago

Good job fella! Thank you very much!

Jabka666 commented 1 year ago

Can you explain why SCP294.ini uses UTF-8 with BOM?

ZiYueCommentary commented 1 year ago

Can you explain why SCP294.ini uses UTF-8 with BOM?

i didn't change any encoding, maybe github desktop changed encoding when I solving conflicts

Jabka666 commented 1 year ago

Alright, I will fix that

ZiYueCommentary commented 1 year ago

my forum being stored phishing pages by some wordpress plugin, and now my domain is server hold. :((

for a time the language selector will be unable to use, but for a little time only