EmperorFool
Deity
Fuyu, you nailed the dll attribute, thanks.
The dirty bit tells BUG to set a Civ4 dirty bit using Cyinterface. This in turn tells the EXE to redraw certain parts of the screen. There is a list of dirty bit constants in the BTS API, and you can pass any one of those. For example, all scoreboard options specify the scoreboard dirty bit so the whole thing is redrawn when any of those options changes, either by the user or by code (same thing really).
The dirty bit tells BUG to set a Civ4 dirty bit using Cyinterface. This in turn tells the EXE to redraw certain parts of the screen. There is a list of dirty bit constants in the BTS API, and you can pass any one of those. For example, all scoreboard options specify the scoreboard dirty bit so the whole thing is redrawn when any of those options changes, either by the user or by code (same thing really).