NeotokyoRebuild / neo

NEOTOKYO Rebuild - Source SDK 2013 mod of NEOTOKYO
Other
11 stars 9 forks source link

Replace hud_reloadscheme hack with EditablePanel + LoadControlSettings, indirectly fixes MOTD title + layout #368

Closed nullsystem closed 2 weeks ago

nullsystem commented 1 month ago

Testing

Rainyan commented 3 weeks ago

Also seems we've a merge conflict to be resolved.

nullsystem commented 3 weeks ago

@Rainyan Actually, only the server title/contents being intact being the main fix of this regarding MOTD. So I shouldn't really have mentioned the layout stuff. Technically though, the 2nd picture's "broken" layout is the "actual" res layout of the MOTD straight from OG:NT's TextWindow.res file I think. The fix is probably more like define our own one that doesn't look so bad/closer to HL2's one and also fix that vguitextwindow class to read from the res from the beginning.

So in this case, yeah out of scope of this PR.

nullsystem commented 3 weeks ago

@Rainyan Try out with the latest commit in, I think it's just moving around SetScreenSize/SetBounds lines caused it. Don't think I see the warning after the commit (but seen before) but have a check.