QTfrontend/AutoUpdater.h
author nemo
Sun, 03 Jun 2012 22:56:30 -0400
changeset 7172 f68d62711a5c
parent 2948 3f21a9dc93d0
child 8284 a874d00df4a4
permissions -rw-r--r--
After experimenting with a long running average at maxed out FPS and a variety of map sizes, 128 seems to actually be a good size to use if only drawing bits of world with stuff in it. 64 actually did even better in some situations, but significantly worse in others (lots of land, zoomed out).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2266
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
     1
/*
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
     2
 * Copyright (C) 2008 Remko Troncon
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
     3
 */
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
     4
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
     5
#ifndef AUTOUPDATER_H
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
     6
#define AUTOUPDATER_H
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
     7
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
     8
class AutoUpdater
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
     9
{
2948
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2266
diff changeset
    10
    public:
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2266
diff changeset
    11
        virtual ~AutoUpdater();
2266
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
    12
2948
3f21a9dc93d0 Replace tabs with spaces using 'expand -t 4' command
unc0rr
parents: 2266
diff changeset
    13
        virtual void checkForUpdates() = 0;
2266
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
    14
};
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
    15
289dc8e51210 switch to ov_fopen for simplicity
koda
parents:
diff changeset
    16
#endif