-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- decompiled mess_update, but it's unstable - also partially decompiled mess_display, commented
- Loading branch information
Showing
9 changed files
with
246 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include "stdafx.h" | ||
#include "color.h" | ||
|
||
ColorRGB Color_Black() { ColorRGB c = { 0,0,0 }; return c; } | ||
ColorRGB Color_DarkGray() { ColorRGB c = { 0x40, 0x40,0x40 }; return c; } | ||
ColorRGB Color_Gray() { ColorRGB c = { 0x80,0x80,0x80 }; return c; } | ||
ColorRGB Color_LightGray() { ColorRGB c = { 0xC0,0xC0,0xC0 }; return c; } | ||
ColorRGB Color_White() { ColorRGB c = { 0xFF,0xFF,0xFF }; return c; } | ||
|
||
ColorRGB Color_Red() { ColorRGB c = { 0xFF,0,0 }; return c; } | ||
ColorRGB Color_Green() { ColorRGB c = { 0,0xFF,0 }; return c; } | ||
ColorRGB Color_Blue() { ColorRGB c = { 0,0,0xFF }; return c; } | ||
ColorRGB Color_Magenta() { ColorRGB c = { 0xFF,0,0xFF }; return c; } | ||
ColorRGB Color_Cyan() { ColorRGB c = { 0,0xFF,0xFF }; return c; } | ||
ColorRGB Color_Yellow() { ColorRGB c = { 0xFF,0xFF,0 }; return c; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
#pragma once | ||
|
||
struct ColorRGB | ||
typedef struct | ||
{ | ||
char R; | ||
char G; | ||
char B; | ||
}; | ||
} ColorRGB; | ||
|
||
struct ColorRGBA | ||
typedef struct | ||
{ | ||
char R; | ||
char G; | ||
char B; | ||
char A; | ||
}; | ||
} ColorRGBA; | ||
|
||
ColorRGB Color_Black() { ColorRGB c = {0,0,0}; return c; } | ||
ColorRGB Color_DarkGray() { ColorRGB c = {0x40,0x40,0x40}; return c; } | ||
ColorRGB Color_Gray() { ColorRGB c = {0x80,0x80,0x80}; return c; } | ||
ColorRGB Color_LightGray() { ColorRGB c = {0xC0,0xC0,0xC0}; return c; } | ||
ColorRGB Color_White() { ColorRGB c = {0xFF,0xFF,0xFF}; return c; } | ||
ColorRGB Color_Black(); | ||
ColorRGB Color_DarkGray(); | ||
ColorRGB Color_Gray(); | ||
ColorRGB Color_LightGray(); | ||
ColorRGB Color_White(); | ||
|
||
ColorRGB Color_Red() { ColorRGB c = {0xFF,0,0}; return c; } | ||
ColorRGB Color_Green() { ColorRGB c = {0,0xFF,0}; return c; } | ||
ColorRGB Color_Blue() { ColorRGB c = {0,0,0xFF}; return c; } | ||
ColorRGB Color__Magenta() { ColorRGB c = {0xFF,0,0xFF}; return c; } | ||
ColorRGB Color_Cyan() { ColorRGB c = {0,0xFF,0xFF}; return c; } | ||
ColorRGB Color_Yellow() { ColorRGB c = {0xFF,0xFF,0}; return c; } | ||
ColorRGB Color_Red(); | ||
ColorRGB Color_Green(); | ||
ColorRGB Color_Blue(); | ||
ColorRGB Color_Magenta(); | ||
ColorRGB Color_Cyan(); | ||
ColorRGB Color_Yellow(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.