summaryrefslogtreecommitdiff
path: root/src/SSystem/SComponent/c_counter.cpp
blob: 7da967f25f0e3cd6c50d5d9477c0d251789ceb17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * c_counter.cpp
 *
 */

#include "SSystem/SComponent/c_counter.h"

counter_class g_Counter;

void cCt_Counter(int resetCounter1) {
    if (resetCounter1 == 1) {
        g_Counter.mCounter1 = 0;
    } else {
        g_Counter.mCounter1++;
    }

    g_Counter.mCounter0++;
}