summaryrefslogtreecommitdiffstats
path: root/nebu/include/base/nebu_types.h
blob: 825bde67f50df033448a3503e81c8829df5c92ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef NEBU_BASIC_TYPES_H
#define NEBU_BASIC_TYPES_H

typedef struct List List;
struct List {
  void *data;
  List* next;
};

typedef struct {
  unsigned int current;
  unsigned int lastFrame;
  unsigned int offset; /* from SystemGetElapsedTime() */
  unsigned int dt; /* current - lastFrame */

  /* float timeScale; */
} SystemTime;

#endif