Enno Rehling
|
7a10a58605
|
1. nrmessage is locale-independent, uses locale_getstring
2. unique strings:
rename aurapotion50 message.
delete unused bithday_firework definitions.
|
2018-05-17 19:04:25 +02:00 |
|
Enno Rehling
|
432a8d432d
|
messy merge of cppcheck fixes into develop
|
2018-02-25 20:41:53 +01:00 |
|
Enno Rehling
|
fc2506ee83
|
cppcheck: DMAXHASH was unused.
cppcheck: remove warnings, reduce variable scopes.
|
2018-02-25 17:58:45 +01:00 |
|
Enno Rehling
|
6c572c6287
|
rename potion: p14 to healing
fix use_item message crash
|
2018-02-17 20:35:00 +01:00 |
|
Enno Rehling
|
b602ac5f1a
|
remove P_POWER from use_potion
|
2018-02-17 19:02:02 +01:00 |
|
Enno Rehling
|
ef7d0c40ed
|
remove the two helaing special cases from use_potion
|
2018-02-17 18:51:11 +01:00 |
|
Enno Rehling
|
d065cbfca7
|
use_item message with amount instead of usepotion without.
|
2018-02-17 15:30:38 +01:00 |
|
Enno Rehling
|
438ae6f905
|
Eliminate rules.magic.multipotion, it's too much code.
|
2018-02-17 15:17:05 +01:00 |
|
Enno Rehling
|
96062f6f85
|
rename p2->lifepotion (WdL)
|
2018-02-17 10:45:56 +01:00 |
|
Enno Rehling
|
8a8bf489ae
|
clarify use_potion responsibilities.
move USE potion of life to items.c.
fix some use_ function return values.
|
2018-02-17 10:39:23 +01:00 |
|
Enno Rehling
|
a9375200e4
|
use_potion has a lot of scaffolding that use_healingpotion was duplicating.
|
2018-02-15 20:41:40 +01:00 |
|
Enno Rehling
|
bf591ecec5
|
BUG 2415: eliminate at_potiondelay and WdL delay.
BUG 2419: refactor ointment and healing, add tests for USE
|
2018-02-15 20:25:58 +01:00 |
|
Enno Rehling
|
1eaa1e6d84
|
BUG 2405: use mistletoe to create effect, use effect to flee from battle.
|
2018-01-21 18:07:49 +01:00 |
|
Enno Rehling
|
3d69f4e372
|
start removing dependencies on potion_type.
use item_type where we can. does not compile, is WIP.
|
2018-01-14 17:40:48 +01:00 |
|
Enno Rehling
|
7b8951b6e8
|
kill the fleechance attribute
|
2018-01-11 16:47:22 +01:00 |
|
Enno Rehling
|
e4859e68c9
|
do not use MIN and MAX.
|
2018-01-01 08:23:52 +01:00 |
|
Enno Rehling
|
50173d5be3
|
PATH_MAX and MAX_PATH are crazy.
|
2017-12-29 11:44:14 +01:00 |
|
Enno Rehling
|
f98eab56c4
|
platform.h is only for WIN32 now.
replace MIN and MAX macros, they are BAD.
|
2017-12-29 06:13:28 +01:00 |
|
Enno Rehling
|
333ef06fef
|
hackish optimization for STUDY orders
|
2017-10-13 19:33:29 +02:00 |
|
Steffen Mecke
|
080d5e3f65
|
rename teaching_info.value to days
|
2017-09-02 15:50:03 +02:00 |
|
Enno Rehling
|
f4df6bd9db
|
kill ATF_CURSE flag, compare to at_curse directly.
|
2017-08-25 21:11:01 +02:00 |
|
Enno Rehling
|
7985ebe511
|
replace ct_find calls with constants.
reorder a lot of includes.
|
2017-08-21 20:18:19 +02:00 |
|
Enno Rehling
|
7a4a49160c
|
unused variable
|
2017-08-18 19:48:34 +02:00 |
|
Enno Rehling
|
c8b2ce7900
|
BUG 2356: fix curse read/write
rename curse::flags to curse::mask, use c_flags.
fix some curse_type having CURSE_ISNEW fixed.
|
2017-08-18 19:39:33 +02:00 |
|
Enno Rehling
|
f4eda9f59e
|
prefer dice to dice_rand
|
2017-03-06 06:28:12 +01:00 |
|
Enno Rehling
|
69e28034b4
|
Kill unused "magicboost" function.
I have no idea why this exists.
|
2017-02-27 21:00:15 +01:00 |
|
Enno Rehling
|
9e239c88f4
|
testing insect warmth potion
|
2017-02-27 20:26:48 +01:00 |
|
Enno Rehling
|
462d0118e3
|
better testing for some items.
|
2017-02-27 20:16:50 +01:00 |
|
Enno Rehling
|
9d09574d5e
|
enable process_orders to be done in steps.
by checking before turn_end(), we can sense temporary attributes and curses on a unit before they age away.
|
2017-02-27 19:35:14 +01:00 |
|
Enno Rehling
|
1b93c14806
|
Test E2 items in E2 only.
Remove eye of demon (broken item).
|
2017-02-27 18:50:48 +01:00 |
|
Enno Rehling
|
1a0992e37b
|
remove remainders of the arena.
Auge des Drachens haben noch einige Spieler, darf nicht gelöscht werden.
move item tests to tests/items.lua
|
2017-02-27 18:21:41 +01:00 |
|
Enno Rehling
|
108501e398
|
tests for more items
|
2017-02-27 15:14:52 +01:00 |
|
Enno Rehling
|
3d4860c033
|
remove more of the artrewards
|
2017-02-27 14:19:25 +01:00 |
|
Enno Rehling
|
db0cbf34c7
|
test for aurapotion
|
2017-02-27 14:17:38 +01:00 |
|
Enno Rehling
|
5ffe60193b
|
move items with tests to items.c
|
2017-02-27 14:10:12 +01:00 |
|
Enno Rehling
|
2be1868ff0
|
Antiemagiekristall Meldung geht an die Region.
Nicht nur an die Partei, die es zaubert.
http://bugs.eressea.de/view.php?id=1987
|
2017-02-03 21:48:03 +01:00 |
|
Enno Rehling
|
8b7dae6977
|
kill autoconf.h, replace platform.h for C99 compatibility work
|
2017-01-10 16:31:05 +01:00 |
|
Enno Rehling
|
925d65c206
|
move entertainmoney to economy
|
2016-11-22 12:22:07 +01:00 |
|
Enno Rehling
|
ec4060cb9a
|
fix curse-vigour calculation math.
also fix a ton of small other niggles from pvs-studio.
|
2016-11-20 19:08:39 +01:00 |
|
Enno Rehling
|
dd8449783a
|
converting float->double in a lot of the code to prevent -Wconversion messages
|
2015-05-15 19:08:44 +02:00 |
|
Enno Rehling
|
abca25d1d5
|
fix indentation in every file
fix copyright date
remove vi ts=2 code
remove a couple of superfluous extern declarations
|
2015-01-30 20:37:14 +01:00 |
|
Enno Rehling
|
c8b9044f78
|
rename to gettoken, use more widely, add a basic test.
|
2014-12-22 16:28:17 +01:00 |
|
Enno Rehling
|
1af315ebf2
|
move magic out of kernel, into src.
clean up/remove a ton of includes, especially of types.h (include in header if you need it, not in every .c file).
|
2014-11-01 12:57:01 +01:00 |
|
Enno Rehling
|
74582aeb2f
|
fix remaining getstrtoken uses without null-check.
|
2014-09-21 16:43:17 +02:00 |
|
Enno Rehling
|
a9a0455207
|
reorganized directory structure.
flattening the directory structure, moving some modules to the src/ directory.
making stealth a separate file, under test.
more tests for some stuff.
|
2014-08-27 06:40:35 +02:00 |
|
Enno Rehling
|
808f343e34
|
make getstrtoken() return null at EOL, kill init_tokens.
init_order all the things!
added a bunch of new assertions to cover for oversights.
added some new tests for order parsing.
|
2014-08-23 09:17:58 +02:00 |
|
Enno Rehling
|
bff25f3c51
|
move skill_t into a separate file, give it unit tests.
name functions the same as we did for keyword/direction earlier.
to do: json configuration and lua test.
|
2014-06-20 23:59:04 -07:00 |
|
Enno Rehling
|
c8dc6be6f2
|
rename get_keyword, because something else should have that name.
|
2014-06-16 07:19:22 -07:00 |
|
Enno Rehling
|
3c4b6b9dd4
|
rename message.[hc] to messages.[hc] in kernel because of naming conflict with util/
begin json config files (WIP)
|
2014-06-09 09:56:49 -07:00 |
|
Enno Rehling
|
7358c48580
|
removing some naming conflicts that hapen when trying to re-enable amalgamation builds.
|
2014-04-11 19:41:17 -07:00 |
|