The open source repository for the action RPG game in development by Sig Productions titled 'Adventures in Lestoria'!
https://forums.lestoria.net
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.1 KiB
26 lines
1.1 KiB
#pragma once
|
|
#include "olcUTIL_DataFile.h"
|
|
|
|
using namespace olc;
|
|
|
|
//Read a string array from the config.
|
|
utils::datafilestringdata operator ""_s(const char*key,std::size_t len);
|
|
//Read an int array from the config.
|
|
utils::datafileintdata operator ""_i(const char*key,std::size_t len);
|
|
//Read a float array from the config.
|
|
utils::datafilefloatdata operator ""_f(const char*key,std::size_t len);
|
|
//Read a double array from the config.
|
|
utils::datafiledoubledata operator ""_d(const char*key,std::size_t len);
|
|
//Read a string key from the config.
|
|
std::string operator ""_S(const char*key,std::size_t len);
|
|
//Read an integer key from the config.
|
|
int operator ""_I(const char*key,std::size_t len);
|
|
//Read a float key from the config.
|
|
float operator ""_F(const char*key,std::size_t len);
|
|
//Read a double key from the config.
|
|
double operator ""_D(const char*key,std::size_t len);
|
|
//Read a datafile indexed property from the config.
|
|
utils::datafile operator ""_A(const char*key,std::size_t len);
|
|
|
|
Pixel operator ""_Pixel(const char*key,std::size_t len);
|
|
float operator ""_FRange(const char*key,std::size_t len); |