Skip to content

Commit

Permalink
some changes to some comments mostly
Browse files Browse the repository at this point in the history
  • Loading branch information
danlangford committed Feb 26, 2021
1 parent 505a162 commit 8018cd7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.14)
project(bmai)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# to be able to reference header files
include_directories(./src)
Expand Down
14 changes: 7 additions & 7 deletions src/bmai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,13 @@
// definitions
BME_ATTACK_TYPE g_attack_type[BME_ATTACK_MAX] =
{
BME_ATTACK_TYPE_1_1,
BME_ATTACK_TYPE_N_1,
BME_ATTACK_TYPE_1_N,
BME_ATTACK_TYPE_1_N,
BME_ATTACK_TYPE_1_1,
BME_ATTACK_TYPE_1_1,
BME_ATTACK_TYPE_0_0,
BME_ATTACK_TYPE_1_1, // FIRST & POWER 1:1
BME_ATTACK_TYPE_N_1, // SKILL N:1
BME_ATTACK_TYPE_1_N, // BERSERK
BME_ATTACK_TYPE_1_N, // SPEED
BME_ATTACK_TYPE_1_1, // TRIP
BME_ATTACK_TYPE_1_1, // SHADOW
BME_ATTACK_TYPE_0_0, // INVALID
};

// MOOD dice - from BM page:
Expand Down
2 changes: 1 addition & 1 deletion src/bmai.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ enum BME_ATTACK
BME_ATTACK_FIRST = 0,
BME_ATTACK_POWER = BME_ATTACK_FIRST, // 1 -> 1
BME_ATTACK_SKILL, // N -> 1
BME_ATTACK_BERSERK, // N -> 1
BME_ATTACK_BERSERK, // 1 -> N
BME_ATTACK_SPEED, // 1 -> N
BME_ATTACK_TRIP, // 1 -> 1
BME_ATTACK_SHADOW, // 1 -> 1
Expand Down

0 comments on commit 8018cd7

Please sign in to comment.