mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 17:17:09 -04:00
See if this fixes NT 3.5
This commit is contained in:
parent
cba495bd88
commit
9d5783c203
@ -26,7 +26,7 @@ static void Animations_Update(int loc, struct Bitmap* bmp, int stride);
|
|||||||
|
|
||||||
#ifndef CC_BUILD_WEB
|
#ifndef CC_BUILD_WEB
|
||||||
/* Based off the incredible work from https://dl.dropboxusercontent.com/u/12694594/lava.txt
|
/* Based off the incredible work from https://dl.dropboxusercontent.com/u/12694594/lava.txt
|
||||||
mirrored at https://github.com/UnknownShadow200/ClassiCube/wiki/Minecraft-Classic-lava-animation-algorithm
|
mirrored at https://github.com/ClassiCube/ClassiCube/wiki/Minecraft-Classic-lava-animation-algorithm
|
||||||
Water animation originally written by cybertoon, big thanks!
|
Water animation originally written by cybertoon, big thanks!
|
||||||
*/
|
*/
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
@ -118,7 +118,7 @@ static void OnProjectionChanged(void* obj) {
|
|||||||
https://dl.dropboxusercontent.com/s/pdq79gkzntquld1/slowBreakRotate2.gif
|
https://dl.dropboxusercontent.com/s/pdq79gkzntquld1/slowBreakRotate2.gif
|
||||||
https://dl.dropboxusercontent.com/s/w1ego7cy7e5nrk1/slowBreakFull.gif
|
https://dl.dropboxusercontent.com/s/w1ego7cy7e5nrk1/slowBreakFull.gif
|
||||||
|
|
||||||
https://github.com/UnknownShadow200/ClassicalSharp/wiki/Dig-animation-details
|
https://github.com/ClassiCube/ClassicalSharp/wiki/Dig-animation-details
|
||||||
*/
|
*/
|
||||||
static void HeldBlockRenderer_DigAnimation(void) {
|
static void HeldBlockRenderer_DigAnimation(void) {
|
||||||
float sinHalfCircle, sinHalfCircleWeird;
|
float sinHalfCircle, sinHalfCircleWeird;
|
||||||
|
@ -362,7 +362,13 @@ static ATOM DoRegisterClass(void) {
|
|||||||
/* Windows 9x does not support W API functions */
|
/* Windows 9x does not support W API functions */
|
||||||
if ((atom = RegisterClassExA((const WNDCLASSEXA*)&wc))) return atom;
|
if ((atom = RegisterClassExA((const WNDCLASSEXA*)&wc))) return atom;
|
||||||
|
|
||||||
|
/* Windows NT 3.5 does not support RegisterClassExA function */
|
||||||
res = GetLastError();
|
res = GetLastError();
|
||||||
|
if (res == ERROR_CALL_NOT_IMPLEMENTED) {
|
||||||
|
if ((atom = RegisterClassA((const WNDCLASSA*)&wc))) return atom;
|
||||||
|
res = GetLastError();
|
||||||
|
}
|
||||||
|
|
||||||
Logger_Abort2(res, "Failed to register window class");
|
Logger_Abort2(res, "Failed to register window class");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user