diff --git a/src/Animations.c b/src/Animations.c index 75a29f3a9..a73a4579e 100644 --- a/src/Animations.c +++ b/src/Animations.c @@ -26,7 +26,7 @@ static void Animations_Update(int loc, struct Bitmap* bmp, int stride); #ifndef CC_BUILD_WEB /* 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! */ /*########################################################################################################################* diff --git a/src/HeldBlockRenderer.c b/src/HeldBlockRenderer.c index 585fa405c..4b5dcdf70 100644 --- a/src/HeldBlockRenderer.c +++ b/src/HeldBlockRenderer.c @@ -118,7 +118,7 @@ static void OnProjectionChanged(void* obj) { https://dl.dropboxusercontent.com/s/pdq79gkzntquld1/slowBreakRotate2.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) { float sinHalfCircle, sinHalfCircleWeird; diff --git a/src/Window_Win.c b/src/Window_Win.c index 515fb7d2a..4d83cdd71 100644 --- a/src/Window_Win.c +++ b/src/Window_Win.c @@ -362,7 +362,13 @@ static ATOM DoRegisterClass(void) { /* Windows 9x does not support W API functions */ if ((atom = RegisterClassExA((const WNDCLASSEXA*)&wc))) return atom; + /* Windows NT 3.5 does not support RegisterClassExA function */ 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"); return NULL; }