Enno Rehling
|
793a666969
|
remove UTF-8 BOM from sources
|
2019-02-06 22:29:09 +01:00 |
|
Enno Rehling
|
7ea64be314
|
code analysis scan.
add checks for malloc results.
reduce stack size.
|
2018-12-15 19:38:40 +01:00 |
|
Enno Rehling
|
2ac6a6826d
|
some static analysis warnings (cppcheck and msvc).
|
2018-12-04 21:11:40 +01:00 |
|
Enno Rehling
|
e5a59af19a
|
Merge branch 'master' into develop
|
2018-10-21 20:13:19 +02:00 |
|
Enno Rehling
|
820de2ee35
|
fix cont arguments for new clibs version
|
2018-10-21 19:30:19 +02:00 |
|
Enno Rehling
|
a373807189
|
move attrib and event modules to kernel
|
2018-09-29 11:37:17 +02:00 |
|
Enno Rehling
|
6608f1b1ab
|
Merge branch 'develop'
|
2018-05-18 15:34:50 +02:00 |
|
Enno Rehling
|
3cd51fe384
|
cppcheck niggles.
|
2018-05-18 15:34:21 +02:00 |
|
Enno Rehling
|
ad0f83dcca
|
some xmlreader code still required that resources get loaded first.
|
2018-05-04 18:48:14 +02:00 |
|
Enno Rehling
|
3db9d5d878
|
merge from develop. luxuty price conflict resolved.
|
2018-05-01 17:23:46 +02:00 |
|
Enno Rehling
|
b5b9611a16
|
eliminate construction.improvement,
create building_type.stages instead.
|
2018-05-01 15:40:11 +02:00 |
|
Enno Rehling
|
1ef57ef4f0
|
merge conflicts, race masking.
|
2018-04-29 13:50:56 +02:00 |
|
Enno Rehling
|
3cb1d1a071
|
simplify race masking for weapon modifiers.
|
2018-04-29 13:13:10 +02:00 |
|
Enno Rehling
|
16cebed013
|
implement weapons loading with expat.
|
2018-04-28 18:40:14 +02:00 |
|
Enno Rehling
|
edadf2cbab
|
exparse: parse (most of) the resource data.
|
2018-04-28 15:58:14 +02:00 |
|
Enno Rehling
|
432a8d432d
|
messy merge of cppcheck fixes into develop
|
2018-02-25 20:41:53 +01:00 |
|
Enno Rehling
|
4181e23d15
|
FAST_CONNECT is always on.
fix more cppcheck messages.
|
2018-02-25 18:30:20 +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
|
96062f6f85
|
rename p2->lifepotion (WdL)
|
2018-02-17 10:45:56 +01:00 |
|
Enno Rehling
|
2b2a79620c
|
compiles, test fails, xmlreader includes need fixing
|
2018-01-14 17:40:48 +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
|
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
|
5b1d27542a
|
reduce dependence on platform.h.
gradually stop using MAX and MIN (mistakes were made).
|
2017-12-28 18:29:40 +01:00 |
|
Enno Rehling
|
e2f954b7f6
|
BUG 2392: anyone can use weapons, as long as they have _some_ skill.
|
2017-12-17 10:16:56 +01:00 |
|
Enno Rehling
|
17ee0e50b6
|
cppcheck warnings and scope reductions.
|
2017-12-08 21:08:11 +01:00 |
|
Enno Rehling
|
5192ffdb60
|
Merge branch 'develop' of https://github.com/ennorehling/eressea.git
|
2017-12-08 20:18:29 +01:00 |
|
Enno Rehling
|
9163d166ec
|
cppcheck style fixes.
delete dead functions.
reactivate patzer_deathcloud.
|
2017-12-08 19:59:49 +01:00 |
|
Enno Rehling
|
5e435a7c0b
|
pass cppcheck v 1.54 default checks
|
2017-12-08 19:26:26 +01:00 |
|
Enno Rehling
|
7c69bfa410
|
snprintf usage
|
2017-11-20 14:50:19 +01:00 |
|
Enno Rehling
|
e0bd5c2c7b
|
abort on OOM
|
2017-11-20 14:44:02 +01:00 |
|
Enno Rehling
|
fdd28835b5
|
Shifting signed 32-bit value by 31 bits is undefined behaviour
|
2017-11-20 07:51:31 +01:00 |
|
Enno Rehling
|
832ba5f948
|
relax the limit on shortness of names a bit.
|
2017-09-18 20:14:46 +02:00 |
|
Enno Rehling
|
b4fc7a1ab4
|
fix coverity nag about spellbooks.
|
2017-09-18 19:51:47 +02:00 |
|
Enno Rehling
|
2451a8f637
|
resource names are max 23 bytes long.
fix rt_find nul-termination bug
|
2017-09-18 17:57:59 +02:00 |
|
Enno Rehling
|
5605510351
|
Merge branch 'develop'
|
2017-09-18 17:27:09 +02:00 |
|
Enno Rehling
|
69079ce319
|
remove it_register, because it does nothing.
|
2017-09-18 17:20:58 +02:00 |
|
Enno Rehling
|
c9445ab517
|
change resource_type trie storage
|
2017-09-18 11:48:42 +02:00 |
|
Enno Rehling
|
30b0b2ad81
|
fix a lot of memory leaks that were exposed by unit tests.
|
2017-09-02 17:36:09 +02:00 |
|
Enno Rehling
|
c7f8b16c07
|
remove unused r->land->items list.
|
2017-05-09 18:49:10 +02:00 |
|
Enno Rehling
|
51ec560f72
|
Merge branch 'master' into develop
Conflicts:
scripts/tests/e2/init.lua
scripts/tests/e3/init.lua
src/economy.c
src/economy.test.c
src/kernel/item.c
src/modules/arena.c
|
2017-03-11 14:41:25 +01:00 |
|
Enno Rehling
|
be0b54494e
|
clean up some tests.
the test locale gets some extra strings.
test_create_world is bad, stop using it. unfinished.
|
2017-03-10 21:29:37 +01:00 |
|
Enno Rehling
|
0379a17350
|
make report_resource return an rtype, not a name.
|
2017-03-05 17:42:57 +01:00 |
|
Enno Rehling
|
45862a06d0
|
Add a good test for the NR.
TODO: make it fail.
|
2017-03-05 16:55:11 +01:00 |
|
Enno Rehling
|
6a87625409
|
refactor cr_output_resources for easy testing.
Write a (failing) test that checks first resource is silver.
|
2017-03-05 15:26:04 +01:00 |
|
Enno Rehling
|
aa662e65d2
|
eliminate R_PERSON hack.
|
2017-03-05 13:58:11 +01:00 |
|
Enno Rehling
|
5675ef6091
|
clean and extend the enum of resources.
|
2017-03-05 11:10:59 +01:00 |
|
Enno Rehling
|
d976ee6f67
|
special cases, not callbacks, for money and horses.
|
2017-03-03 19:17:20 +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
|
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 |
|