* Fixed problem with glitchy black lines during screen transitions * (Bugfix) Fixed issue with playmidi and filenames that start with numbers over 1000, this fixed a problem with 1812over.mid not playing in Mayhem * Added 1920X1080 screen mode selector in the Options menu * No longer applying Dan's checkboard fix to tile screens (they don't need it I think..), and also added a hack so it will ignore main-02 through main-04.bpm (the dialog box) as it made it look weird (it looks perfect in 640X480, but other resolutions have slight artifacts due to sub-pixel accuracy issues * Fixed some issues related to dynamic 8 bit to 32 bit surface changes (this can happen if you turn on the new shadows after starting to play or the game suddenly hits a 32 bit image) - Note: Just to be safe, save state version has changed, so old save states won't load git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1490 353e56fe-9613-0410-8469-b96ad8e6f29c
22 lines
No EOL
790 B
C
22 lines
No EOL
790 B
C
#ifndef misc_util_h__
|
|
#define misc_util_h__
|
|
|
|
#include "PlatformSetup.h"
|
|
|
|
|
|
const int32 C_DINK_SCREENSIZE_X = 640;
|
|
const int32 C_DINK_SCREENSIZE_Y = 480;
|
|
|
|
void getdir(char final[]);
|
|
|
|
void dink_decompress (unsigned char *in, char * destBuf);
|
|
void decompress_nocomp (byte *in, char destBuf[]);
|
|
#ifndef SAFE_RELEASE
|
|
#define SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=NULL; } }
|
|
#endif
|
|
void strchar(char *string, char ch) /* This acts in the same way as strcat except it combines a string and a single character, updating the null at the end. */;
|
|
bool separate_string (const char str[255], int num, char liney, char *return1);
|
|
void replace(const char *this1, char *that, char *line);
|
|
char * lmon(int money, char *dest);
|
|
void reverse(char *st);
|
|
#endif // misc_util_h__
|