Skip to content
This repository was archived by the owner on Jun 12, 2025. It is now read-only.

Commit 0e00106

Browse files
Patrick RyePatrick Rye
authored andcommitted
Merge pull request #18 from GamerMan7799/dev
Update Master to v4.1.1
2 parents 5abaf8a + eaa9ed1 commit 0e00106

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

Documentation/ChangeLog.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
All notable changes to this project will be documented here.
44
This project adheres to [Semantic Versioning](http://semver.org/)
55

6+
## [4.1.1] - 2015-09-03
7+
8+
### Fixed
9+
10+
* A bug with screen height being linked to player height causing screen to be a bit strange.
11+
12+
13+
## Old versions
14+
15+
```
16+
617
## [4.1.0] - 2015-09-03
718
819
### Added
@@ -38,10 +49,6 @@ This project adheres to [Semantic Versioning](http://semver.org/)
3849
* Prompt for using old config not working
3950
4051
41-
## Old versions
42-
43-
```
44-
4552
## [4.0.0] - 2015-08-21
4653
4754
### Notes

Source/config.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,17 @@ char clsConfig::verisonCheck(const char *ConfigVerison) {
7373
if (Global::blnDebugMode) {
7474
printf("Config: v %u %u %u %s\n",C_MajorNum,C_MinorNum,C_PatchNum,C_SoftwareStatus);
7575
printf("Program: v %u %u %u %s\n",DEFINED_VER_MAJOR, DEFINED_VER_MINOR, DEFINED_VER_PATCH, P_SoftwareStatus);
76-
getchar();
7776
}
7877

7978
if (DEFINED_VER_STATUS == "Release"){
8079
//Since the release doesn't have any any ending in the string we have to check this differently
8180
if (C_SoftwareStatus[0] != ')') {
8281
if (Global::blnDebugMode) {printf("Software Status outdated.\n");}
83-
getchar();
8482
return NEWCONFIG;
8583
}
8684
} else {
8785
if ( P_SoftwareStatus[0] != C_SoftwareStatus[0]) {
8886
if (Global::blnDebugMode) {printf("Software Status outdated.\n");}
89-
getchar();
9087
return NEWCONFIG;
9188
}
9289
}

Source/screen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ clsScreen::clsScreen() {
1313
//Figure out screen size
1414
if (Global::Cnfg.getvalues(cnfgScreenWidth) == 0) {width = 35*pic_size;}
1515
else {width = Global::Cnfg.getvalues(cnfgScreenWidth);}
16-
if (Global::Cnfg.getvalues(cnfgScreenHeight) == 0) {height = 14*pic_size;}
16+
if (Global::Cnfg.getvalues(cnfgScreenHeight) == 0) {height = DEFINED_MAP_HEIGHT*pic_size;}
1717
else {height = Global::Cnfg.getvalues(cnfgScreenHeight);}
1818

1919
//Set all the booleans to false
@@ -181,7 +181,7 @@ void clsScreen::update(void) {
181181
SDL_Rect dst;
182182

183183
//Start updating texture placements
184-
for (uint y = (tempPlayer.location.y - 2); (y < (tempPlayer.location.y + Max_Height - 2)) && (y < DEFINED_MAP_HEIGHT); y++) {
184+
for (uint y = 0; (y < (Max_Height)) && (y < DEFINED_MAP_HEIGHT); y++) {
185185
for (uint x = (tempPlayer.location.x - 5); (x < (tempPlayer.location.x + Max_Width - 5)) && (x < DEFINED_MAP_WIDTH); x++) {
186186
//update where we're trying to put the texture.
187187
dst.x = (x - tempPlayer.location.x + 5) * pic_size;

Source/version.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414
//Standard Version Type
1515
#define DEFINED_VER_MAJOR 4
1616
#define DEFINED_VER_MINOR 1
17-
#define DEFINED_VER_PATCH 0
17+
#define DEFINED_VER_PATCH 1
1818

1919
//Miscellaneous Version Types
2020
//Don't forget to increment the build number before each build
21-
#define DEFINED_VER_RC_FILEVERSION 4,1,0,71
22-
#define DEFINED_VER_RC_FILEVERSION_STRING "4, 1, 0, 71\0"
23-
#define DEFINED_VER_FULLVERSION_STRING "4.1.0"
21+
#define DEFINED_VER_RC_FILEVERSION 4,1,1,4
22+
#define DEFINED_VER_RC_FILEVERSION_STRING "4, 1, 1, 4\0"
23+
#define DEFINED_VER_FULLVERSION_STRING "4.1.1"
2424

2525
//Software Status
26-
#define DEFINED_VER_STATUS "Release"
27-
#define DEFINED_VER_STATUS_SHORT "r"
26+
#define DEFINED_VER_STATUS "Alpha"
27+
#define DEFINED_VER_STATUS_SHORT "a"
2828

2929
/*
3030
Software Status can be the following:

0 commit comments

Comments
 (0)