yay, finally osx (and likely windows) fullscreen switch works like on linux! ALL textures had to be destroyed and recreated only after the new window got created. In other news, the new window must be cleaned with glClear to skip a first frame of garbage and AddProgress is only called the first time.
Make AI use switcher when:
- it is immediately available
- switching gains +20 points score turn
- Move actions stack out of Walk procedure
- Move test for available weapons into Walk procedure
This should have been added before. add log spew if this ever happens. We should hopefully identify the various circumstances and make sure it is all cleaned up so the list becomes unnecessary.
Prefix followed by prefix issue solved. Also some slight improvements.
Fix for
issue #291 - this check should probably be in ApplyDamage though
Disable loading content.html on startup, it is fetched on pushing to top of stack already.
increase land tex size to 512, which is the current minimum required just to load a hat. On my system max fps rose from 840 to 890 - about 6% change.
also a nil check, probably not needed.
Remove a bunch of unnecessary nil checks. FreeTexture does its own nil check.