schep wrote:
Hmm. On my computer, when DROD is at the main menu screen, it uses about 67% CPU, as opposed to ~1.3% when idle in gameplay. Is that just because the sliding map takes so much redrawing?
I'd say so, yes - but most of this time is probably spent waiting for vsync.
(Also, both of those numbers are halved when the window loses focus, maybe because the music stops playing.)
I think the game just doesn't update the map as often as it does when the window has focus - I guess there's some amount of time the game sleeps between map updates that gets increased if the window doesn't have focus.
EDIT: Ummm... like coppro said...
That's just my impressions; I didn't actually look at the code...
____________________________
"
I'm not anti-anything, I'm anti-everything, it fits better."
- Sole
R.I.P. Robert Feldhoff (1962-2009)
[Last edited by Briareos at 01-11-2007 08:07 AM]