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

Commit 1efb732

Browse files
author
Patrick Rye
committed
Update to V5.1.1
## [5.1.1] - 2017-02-22 ### Updated * Version numbers leftover from working version
1 parent 675164b commit 1efb732

File tree

5 files changed

+76
-35
lines changed

5 files changed

+76
-35
lines changed

Documentation/ChangeLog.md

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

6+
## [5.1.1] - 2017-02-22
7+
### Updated
8+
* Version numbers leftover from working version
9+
10+
611
## [5.1.0] - 2017-02-22
712
### Added
813
* Human player mode can be set in config.

Project/doxygen/Doxyfile

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Doxyfile 1.8.10
1+
# Doxyfile 1.8.13
22

33
# This file describes the settings to be used by the documentation system
44
# doxygen (www.doxygen.org) for a project.
@@ -38,7 +38,7 @@ PROJECT_NAME = "Experimental Platformer AI"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = v4.2.0-Beta.6
41+
PROJECT_NUMBER = v5.1.1
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a
@@ -303,6 +303,15 @@ EXTENSION_MAPPING =
303303

304304
MARKDOWN_SUPPORT = YES
305305

306+
# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up
307+
# to that level are automatically included in the table of contents, even if
308+
# they do not have an id attribute.
309+
# Note: This feature currently applies only to Markdown headings.
310+
# Minimum value: 0, maximum value: 99, default value: 0.
311+
# This tag requires that the tag MARKDOWN_SUPPORT is set to YES.
312+
313+
TOC_INCLUDE_HEADINGS = 0
314+
306315
# When enabled doxygen tries to link words that correspond to documented
307316
# classes, or namespaces to their corresponding documentation. Such a link can
308317
# be prevented in individual cases by putting a % sign in front of the word or
@@ -749,6 +758,12 @@ WARN_IF_DOC_ERROR = YES
749758

750759
WARN_NO_PARAMDOC = NO
751760

761+
# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when
762+
# a warning is encountered.
763+
# The default value is: NO.
764+
765+
WARN_AS_ERROR = NO
766+
752767
# The WARN_FORMAT tag determines the format of the warning messages that doxygen
753768
# can produce. The string should contain the $file, $line, and $text tags, which
754769
# will be replaced by the file and line number from which the warning originated
@@ -798,8 +813,8 @@ INPUT_ENCODING = UTF-8
798813
# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp,
799814
# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h,
800815
# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc,
801-
# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd,
802-
# *.vhdl, *.ucf, *.qsf, *.as and *.js.
816+
# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08,
817+
# *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf and *.qsf.
803818

804819
FILE_PATTERNS = *.c \
805820
*.cc \
@@ -929,6 +944,10 @@ IMAGE_PATH = ..\..\Images
929944
# Note that the filter must not add or remove lines; it is applied before the
930945
# code is scanned, but not when the output code is generated. If lines are added
931946
# or removed, the anchors will not be placed correctly.
947+
#
948+
# Note that for custom extensions or not directly supported extensions you also
949+
# need to set EXTENSION_MAPPING for the extension otherwise the files are not
950+
# properly processed by doxygen.
932951

933952
INPUT_FILTER =
934953

@@ -938,6 +957,10 @@ INPUT_FILTER =
938957
# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
939958
# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
940959
# patterns match the file name, INPUT_FILTER is applied.
960+
#
961+
# Note that for custom extensions or not directly supported extensions you also
962+
# need to set EXTENSION_MAPPING for the extension otherwise the files are not
963+
# properly processed by doxygen.
941964

942965
FILTER_PATTERNS =
943966

@@ -1055,7 +1078,7 @@ VERBATIM_HEADERS = YES
10551078
# rich C++ code for which doxygen's built-in parser lacks the necessary type
10561079
# information.
10571080
# Note: The availability of this option depends on whether or not doxygen was
1058-
# compiled with the --with-libclang option.
1081+
# generated with the -Duse-libclang=ON option for CMake.
10591082
# The default value is: NO.
10601083

10611084
CLANG_ASSISTED_PARSING = NO
@@ -1811,6 +1834,14 @@ LATEX_SOURCE_CODE = NO
18111834

18121835
LATEX_BIB_STYLE = plain
18131836

1837+
# If the LATEX_TIMESTAMP tag is set to YES then the footer of each generated
1838+
# page will contain the date and time when the page was generated. Setting this
1839+
# to NO can help when comparing the output of multiple runs.
1840+
# The default value is: NO.
1841+
# This tag requires that the tag GENERATE_LATEX is set to YES.
1842+
1843+
LATEX_TIMESTAMP = NO
1844+
18141845
#---------------------------------------------------------------------------
18151846
# Configuration options related to the RTF output
18161847
#---------------------------------------------------------------------------
@@ -2404,6 +2435,11 @@ DIAFILE_DIRS =
24042435

24052436
PLANTUML_JAR_PATH =
24062437

2438+
# When using plantuml, the PLANTUML_CFG_FILE tag can be used to specify a
2439+
# configuration file for plantuml.
2440+
2441+
PLANTUML_CFG_FILE =
2442+
24072443
# When using plantuml, the specified paths are searched for files specified by
24082444
# the !include statement in a plantuml block.
24092445

Source/entity.cpp

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -416,31 +416,31 @@ char clsEntity::doPlayerStep(uint stepnum, char stage) {
416416
}
417417
/*****************************************************************************/
418418
void clsEntity::doNextGeneration(char stage) {
419-
/////////////////////////////////////////////////
420-
/// @brief Gets ready to run the next generation by:
421-
/// * Getting best PLayers
422-
/// * Incrementing uintGenSteps based on stage
423-
/// @param stage = Stage the program is in.
424-
/// @return void
425-
/////////////////////////////////////////////////
426-
427-
uchrPlayerNum = 0;
428-
getBest();
429-
if(global::cnfg.getvalues(cnfgShowMap) == 0) {
430-
printf("Best Players are:\n");
431-
for (uint k = 0; k < global::cnfg.getvalues(cnfgPlayerBreed); ++k) {
432-
printf("%2.3f\n",genBestPlayers[k].fitness);
433-
}
434-
if (global::blnDebugMode) { getchar(); }
419+
/////////////////////////////////////////////////
420+
/// @brief Gets ready to run the next generation by:
421+
/// * Getting best PLayers
422+
/// * Incrementing uintGenSteps based on stage
423+
/// @param stage = Stage the program is in.
424+
/// @return void
425+
/////////////////////////////////////////////////
426+
427+
uchrPlayerNum = 0;
428+
getBest();
429+
if(global::cnfg.getvalues(cnfgShowMap) == 0) {
430+
printf("Best Players are:\n");
431+
for (uint k = 0; k < global::cnfg.getvalues(cnfgPlayerBreed); ++k) {
432+
printf("%2.3f\n",genBestPlayers[k].fitness);
435433
}
434+
if (global::blnDebugMode) { getchar(); }
435+
}
436436

437-
uchrGenNum++;
438-
//Increment Gen Steps depending on what stage we are in.
439-
if (stage == stageFirst) {
440-
uintGenSteps += global::cnfg.getvalues(cnfgFirstGen);
441-
} else if (stage == stageGrowth) {
442-
uintGenSteps += global::cnfg.getvalues(cnfgGenIncrease);
443-
} else {uintGenSteps = global::cnfg.getvalues(cnfgMaxSteps);}
437+
uchrGenNum++;
438+
//Increment Gen Steps depending on what stage we are in.
439+
if (stage == stageFirst) {
440+
uintGenSteps += global::cnfg.getvalues(cnfgFirstGen);
441+
} else if (stage == stageGrowth) {
442+
uintGenSteps += global::cnfg.getvalues(cnfgGenIncrease);
443+
} else {uintGenSteps = global::cnfg.getvalues(cnfgMaxSteps);}
444444
}
445445
/*****************************************************************************/
446446
BPLYR clsEntity::getPlayerBase() {

Source/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace global {
2626
#endif // DEFINED_BUILD_MODE_PRIVATE
2727

2828

29-
bool blnError = false; /**< If there was an error; then the program will exit when it checks this. */
29+
bool blnError = false; /**< If there was an error; then the program will exit when it checks this. */
3030
bool blnQuit = false; /**< If the program should quit or not. */
3131

3232
//Call all of the classes as globals so they are the same everywhere.

Source/version.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@
3434
#define DEFINED_VER_MINOR 1
3535

3636
/** The Patch number of the version number */
37-
#define DEFINED_VER_PATCH 0
37+
#define DEFINED_VER_PATCH 1
3838
/*****************************************************************************/
3939
/** The version number in a format used by Boilerplate.rc, It is in the following format
4040
[MAJOR].[MINOR].[PATCH].[BUILDNUMBER] */
41-
#define DEFINED_VER_RC_FILEVERSION 5,1,0,0
41+
#define DEFINED_VER_RC_FILEVERSION 5,1,1,0
4242

4343
/** Is the same as DEFINED_VER_RC_FILEVERSION but is a null terminated string */
44-
#define DEFINED_VER_RC_FILEVERSION_STRING "5, 1, 0, 0\0"
44+
#define DEFINED_VER_RC_FILEVERSION_STRING "5, 1, 1, 0\0"
4545

4646
/** A more specific string of the file version */
47-
#define DEFINED_VER_FULLVERSION_STRING "5.1.0-beta.1\0"
47+
#define DEFINED_VER_FULLVERSION_STRING "5.1.1-r\0"
4848

4949
//Software Status
5050
/**
@@ -56,10 +56,10 @@ Software Status can be the following:
5656
| Beta | b | This version will compile and / or run but does not work as expected (or crashes often). |
5757
| Alpha | a | This version does not work at all; it usually won't compile at all or crashes more times than it works; best not to use versions in this state. |
5858
*/
59-
#define DEFINED_VER_STATUS "Beta"
59+
#define DEFINED_VER_STATUS "Release"
6060

6161
/** See the table for DEFINED_VER_STATUS */
62-
#define DEFINED_VER_STATUS_SHORT "b"
62+
#define DEFINED_VER_STATUS_SHORT "r"
6363
/// @}
6464
/*****************************************************************************/
6565
#endif //__VERSION_HEADER__

0 commit comments

Comments
 (0)