shithub: cstory

Download patch

ref: 182dda4dd9335704b78347f74c37f7343c4c65cd
parent: 808df2b720842d75bf88b84d9a68bf47429ef566
author: Gabriel Ravier <gabravier@gmail.com>
date: Wed May 8 04:39:55 EDT 2019

Correct comment formatting in Frame.cpp

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/src/Frame.cpp
+++ b/src/Frame.cpp
@@ -85,7 +85,7 @@
 		gFrame.y = ((map_l - 1) * 0x10 - WINDOW_HEIGHT) * 0x200;
 #endif
 
-	//Quake
+	// Quake
 	if (gFrame.quake2)
 	{
 		gFrame.x += (Random(-5, 5) * 0x200);
@@ -114,11 +114,11 @@
 
 void SetFramePosition(int fx, int fy)
 {
-	//End quake
+	// End quake
 	gFrame.quake = 0;
 	gFrame.quake2 = 0;
 
-	//Move frame position
+	// Move frame position
 	int16_t map_w, map_l;
 	GetMapData(0, &map_w, &map_l);
 
@@ -125,7 +125,7 @@
 	gFrame.x = fx;
 	gFrame.y = fy;
 
-	//Keep in bounds
+	// Keep in bounds
 	if (gFrame.x / 0x200 < 0)
 		gFrame.x = 0;
 	if (gFrame.y / 0x200 < 0)
@@ -139,7 +139,7 @@
 
 void SetFrameMyChar()
 {
-	//Move frame position
+	// Move frame position
 	int mc_x, mc_y;
 	GetMyCharPosition(&mc_x, &mc_y);
 
@@ -149,7 +149,7 @@
 	gFrame.x = mc_x - (WINDOW_WIDTH << 8);
 	gFrame.y = mc_y - (WINDOW_HEIGHT << 8);
 
-	//Keep in bounds
+	// Keep in bounds
 	if (gFrame.x / 0x200 < 0)
 		gFrame.x = 0;
 	if (gFrame.y / 0x200 < 0)