From f6916aeb5d46331c05ac386d23e73969e0a5281e Mon Sep 17 00:00:00 2001 From: a25liang Date: Wed, 24 Jul 2024 13:11:48 -0400 Subject: [PATCH 1/2] change translation of numbers to items for GOLD --- src/constants.h | 8 ++++---- src/map1.txt | 25 +++++++++++++++++++++++++ src/typescript | 0 src/win1721585169.txt | 30 ++++++++++++++++++++++++++++++ 4 files changed, 59 insertions(+), 4 deletions(-) create mode 100644 src/map1.txt create mode 100644 src/typescript create mode 100644 src/win1721585169.txt diff --git a/src/constants.h b/src/constants.h index 0b295b2..dc4b6ef 100644 --- a/src/constants.h +++ b/src/constants.h @@ -162,10 +162,10 @@ static const int RETURN_PANICKED = 1; static const int COLOR_BLACK_ON_WHITE = 8; -static const int GOLD_SMALL = 1; -static const int GOLD_NORMAL = 2; -static const int GOLD_MERCHANT = 4; -static const int GOLD_DRAGON = 6; +static const int GOLD_NORMAL = 6; +static const int GOLD_SMALL = 7; +static const int GOLD_MERCHANT = 8; +static const int GOLD_DRAGON = 9; static const size_t WHAT_ENEMY = 1 << 29; static const size_t WHAT_WALL = 1 << 30; diff --git a/src/map1.txt b/src/map1.txt new file mode 100644 index 0000000..896f364 --- /dev/null +++ b/src/map1.txt @@ -0,0 +1,25 @@ +|-----------------------------------------------------------------------------| +| | +| |--------------------------| |-----------------------| | +| |..........................| |.......................| | +| |..........................+########+.......................|-------| | +| |..........................| # |...............................|--| | +| |..........................| # |..................................|--| | +| |----------+---------------| # |----+----------------|...............| | +| # ############# |...............| | +| # # |-----+------| |...............| | +| # # |............| |...............| | +| ################### |............| ######+...............| | +| # # |............| # |...............| | +| # # |-----+------| # |--------+------| | +| |---------+------| # # # # | +| |................| # # # |----+------| | +| |................|----| ######################## |...........| | +| |.....................| # # |...........| | +| |.....................| # |------+--------------------|...........| | +| |.....................| # |.......................................| | +| |.....................+##########+.......................................| | +| |.....................| |.......................................| | +| |---------------------| |---------------------------------------| | +| | +|-----------------------------------------------------------------------------| \ No newline at end of file diff --git a/src/typescript b/src/typescript new file mode 100644 index 0000000..e69de29 diff --git a/src/win1721585169.txt b/src/win1721585169.txt new file mode 100644 index 0000000..3d467c5 --- /dev/null +++ b/src/win1721585169.txt @@ -0,0 +1,30 @@ +t ea ea se se se ne ea ea ea ea ea ea ea no no no no +ea ea ea ea ea ea ea ea ea ea ea ea +no no no so so no no +a no a no a no a no a no a no a no a no +so so so no no no no ea ea ea ea +no no a se a se a se a se a se a se a se ea so +so so so so ea u ne ea ea ea ea ea u ea +ea ea ne +a so a so a so a so a so a so a so a so a so a so a so a so a so a so a so a so +se ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea se ea ea ea ea u ea +ne ne sw ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea +u sw we we we we we we we so we we we we we +a we a we we we we we we +a we a we a we a we a we a we a we a we a we ne +we we we we we we we we we we we we we we we we we we +no no no no no no we we we we we we we we we we we we we we we we +so so so +no no +we u we +ea so we we we we we we +no no no no no +ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea +no no no +so ea ea u ea ea a ea a ea a ea a ea a ea a ea a ea a ea a ea +so ea no +ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea +no no no no +ea ea ea ea ea ea ea ea ea ea ea ea +no no no +no so so no no we we From cd34917fa96f30c9016f830bff390761c6f396b6 Mon Sep 17 00:00:00 2001 From: a25liang Date: Wed, 24 Jul 2024 13:13:42 -0400 Subject: [PATCH 2/2] delete test txt file --- src/map1.txt | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/map1.txt diff --git a/src/map1.txt b/src/map1.txt deleted file mode 100644 index 896f364..0000000 --- a/src/map1.txt +++ /dev/null @@ -1,25 +0,0 @@ -|-----------------------------------------------------------------------------| -| | -| |--------------------------| |-----------------------| | -| |..........................| |.......................| | -| |..........................+########+.......................|-------| | -| |..........................| # |...............................|--| | -| |..........................| # |..................................|--| | -| |----------+---------------| # |----+----------------|...............| | -| # ############# |...............| | -| # # |-----+------| |...............| | -| # # |............| |...............| | -| ################### |............| ######+...............| | -| # # |............| # |...............| | -| # # |-----+------| # |--------+------| | -| |---------+------| # # # # | -| |................| # # # |----+------| | -| |................|----| ######################## |...........| | -| |.....................| # # |...........| | -| |.....................| # |------+--------------------|...........| | -| |.....................| # |.......................................| | -| |.....................+##########+.......................................| | -| |.....................| |.......................................| | -| |---------------------| |---------------------------------------| | -| | -|-----------------------------------------------------------------------------| \ No newline at end of file