Cleanup Includes/Add PushMessage(string, string)
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
#include <map>
|
||||
#include <iostream>
|
||||
#include <renderd7/nimg.hpp>
|
||||
#include <sstream>
|
||||
|
||||
// Use an Npi simplifier cause I am lazy
|
||||
#define reca_cc(x) reinterpret_cast<const char*>(x)
|
||||
#define reca_c(x) reinterpret_cast<char*>(x)
|
||||
#define pak32(q, w, e, r) \
|
||||
((((q)&0xff) << 0) | (((w)&0xff) << 8) | (((e)&0xff) << 16) | \
|
||||
(((r)&0xff) << 24))
|
||||
#define pak32(q, w, e, r) \
|
||||
((((q) & 0xff) << 0) | (((w) & 0xff) << 8) | (((e) & 0xff) << 16) | \
|
||||
(((r) & 0xff) << 24))
|
||||
|
||||
// Stupid RLE Algorithm
|
||||
void npi_compress(std::vector<unsigned char>& ret,
|
||||
@@ -116,4 +114,4 @@ void NIMG_Save(nimg image, std::string path) {
|
||||
// Close stream
|
||||
fout.close();
|
||||
}
|
||||
} // namespace RenderD7
|
||||
} // namespace RenderD7
|
||||
|
||||
Reference in New Issue
Block a user