uox3/source/osunique.hpp
Xoduz 37a76083de Rest of the changes for 0.99.6-RC1
Misc cleanup and standardization of style and naming conventions in code and scripts
Added missing code for showing race in paperdoll based on ini setting
Players can no longer use Polymorph spell while incognitoed, or while under effect of tribal paint
Players can no longer use Incognito spell while polymorphed, or while under the effects of tribal paint
Facial hair is now removed from players who are under the effects of Incognito spell that changes their gender for female
2022-10-24 18:39:33 +08:00

24 lines
892 B
C++

#ifndef __OSUNIQUE_HPP
#define __OSUNIQUE_HPP
#include <time.h>
#include <string.h>
#include <stdio.h>
#if !defined(_WIN32)
using rsize_t = size_t;
#endif
auto asciitime( char* buffer, size_t count, const struct tm& tmsource ) -> char*;
// Beware, MSVC localtime_s is not the same as the standard localtime_s
auto lcltime( const time_t& source, struct tm& dest ) -> struct tm*;
auto strcopy( char* dest, rsize_t size, const char* src ) -> void;
auto strncopy( char* dest, size_t size, const char* src, size_t count ) -> void;
auto mstrcat( char* dest, size_t size, const char* src ) -> char*;
auto mgmtime( struct tm* dest, const time_t* timer ) -> struct tm*;
auto mctime( char* buffer, size_t size, const time_t* timer ) -> char*;
auto mstrerror( char* buffer, size_t size, int errornum ) -> char*;
auto mfopen( FILE** stream, const char* filename, const char* mode ) -> FILE*;
#endif