VASTLY improved how I generate tiles and tiledata
This commit is contained in:
48
src/time.h
48
src/time.h
@@ -1,25 +1,25 @@
|
||||
/**
|
||||
* Copyright (c) 2022 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "libs.h"
|
||||
|
||||
#define TIME_PER_SECOND 60
|
||||
|
||||
#define TIME_FUTURE_TYPE_NULL 0x00
|
||||
#define TIME_FUTURE_TYPE_PAUSE 0x01
|
||||
#define TIME_FUTURE_TYPE_FADE_TO_BLACK 0x02
|
||||
#define TIME_FUTURE_TYPE_FADE_FROM_BLACK 0x03
|
||||
#define TIME_FUTURE_TYPE_FADE_TO_WHITE 0x04
|
||||
#define TIME_FUTURE_TYPE_FADE_FROM_WHITE 0x05
|
||||
|
||||
extern uint16_t TIME_CURRENT;
|
||||
extern uint16_t TIME_FUTURE;
|
||||
extern uint8_t TIME_FUTURE_TYPE;
|
||||
|
||||
inline void timeInit();
|
||||
/**
|
||||
* Copyright (c) 2022 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "libs.h"
|
||||
|
||||
#define TIME_PER_SECOND 60
|
||||
|
||||
#define TIME_FUTURE_TYPE_NULL 0x00
|
||||
#define TIME_FUTURE_TYPE_PAUSE 0x01
|
||||
#define TIME_FUTURE_TYPE_FADE_TO_BLACK 0x02
|
||||
#define TIME_FUTURE_TYPE_FADE_FROM_BLACK 0x03
|
||||
#define TIME_FUTURE_TYPE_FADE_TO_WHITE 0x04
|
||||
#define TIME_FUTURE_TYPE_FADE_FROM_WHITE 0x05
|
||||
|
||||
extern uint16_t TIME_CURRENT;
|
||||
extern uint16_t TIME_FUTURE;
|
||||
extern uint8_t TIME_FUTURE_TYPE;
|
||||
|
||||
inline void timeInit();
|
||||
inline void timeUpdate();
|
Reference in New Issue
Block a user