Merge pull request #30 from GabrielRavier/improveAToE
Improve files starting with A to E
This commit is contained in:
commit
106f81130c
4 changed files with 17 additions and 18 deletions
|
@ -36,8 +36,7 @@ BOOL InitBack(const char *fName, int type)
|
|||
|
||||
#ifdef NONPORTABLE
|
||||
// This is ridiculously platform-dependant:
|
||||
// It should break on big-endian CPUs, and platforms
|
||||
// where short isn't 16-bit and long isn't 32-bit.
|
||||
// It should break on big-endian CPUs, and platforms where short isn't 16-bit and long isn't 32-bit.
|
||||
unsigned short bmp_header_buffer[7]; // These names aren't the original. This ruins the stack frame layout.
|
||||
unsigned long bmp_header_buffer2[10];
|
||||
|
||||
|
|
|
@ -523,7 +523,7 @@ void ActBossChar_MonstX(void)
|
|||
gBoss[2].direct = 2;
|
||||
gBoss[3].cond = 0x80;
|
||||
gBoss[3].life = 60;
|
||||
gBoss[3].size = 3; // Redundant: this get overwriten a few lines later
|
||||
gBoss[3].size = 3; // Redundant: this get overwritten a few lines later
|
||||
gBoss[3].hit_voice = 54;
|
||||
gBoss[3].destroy_voice = 71;
|
||||
gBoss[3].size = 2;
|
||||
|
|
|
@ -16,7 +16,7 @@ static const char* const config_magic = "DOUKUTSU20041206"; // Not the original
|
|||
|
||||
BOOL LoadConfigData(CONFIG *conf)
|
||||
{
|
||||
//Clear old config data
|
||||
// Clear old configuration data
|
||||
memset(conf, 0, sizeof(CONFIG));
|
||||
|
||||
// Get path
|
||||
|
@ -69,7 +69,7 @@ BOOL LoadConfigData(CONFIG *conf)
|
|||
|
||||
void DefaultConfigData(CONFIG *conf)
|
||||
{
|
||||
//Clear old config data
|
||||
// Clear old configuration data
|
||||
memset(conf, 0, sizeof(CONFIG));
|
||||
|
||||
// Fun fact: The Linux port added this line:
|
||||
|
|
|
@ -443,7 +443,7 @@ static void DrawBitmap(RECT *rcView, int x, int y, RECT *rect, Surface_Ids surf_
|
|||
SDL_Rect clipRect = RectToSDLRectScaled(rcView);
|
||||
SDL_Rect frameRect = RectToSDLRectScaled(rect);
|
||||
|
||||
// Get dest rect
|
||||
// Get destination rect
|
||||
SDL_Rect destRect = {x * magnification, y * magnification, frameRect.w, frameRect.h};
|
||||
|
||||
// Set cliprect
|
||||
|
|
Loading…
Add table
Reference in a new issue