nofrendo_wrapper.h 376 Bytes
#ifndef NOFRENDO_WRAPPER_H
#define NOFRENDO_WRAPPER_H

#include <stdint.h>
#include "../bitmap.h"

#ifdef __cplusplus
#define EXTERNC extern "C"
class NofrendoWrapper {
public:
  NofrendoWrapper();
  void run();
};
#else
#define EXTERNC
#endif

EXTERNC int nofrendo_ticks(void);
EXTERNC uint64_t readKeyboard();
EXTERNC void draw(bitmap_t *bitmap, uint16_t *palette);

#endif