Enno Rehling
|
75000f2663
|
reduce struct person by 12 bytes on a 32-bit arch.
|
2019-11-17 19:55:41 +01:00 |
|
Enno Rehling
|
b9ae927aa3
|
remove copyright notices.
|
2019-09-13 21:35:44 +02:00 |
|
Enno Rehling
|
2ecc710122
|
kaputte umlaute ersetzt, ascii 4 lyfe
|
2019-02-07 14:48:51 +01: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
|
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
|
e86f3e7589
|
read callback fucntions for resources and weapons.
|
2018-04-28 21:46:01 +02:00 |
|
Enno Rehling
|
e4a2b6cb35
|
loading armor with expat.
|
2018-04-28 18:47:17 +02:00 |
|
Enno Rehling
|
edadf2cbab
|
exparse: parse (most of) the resource data.
|
2018-04-28 15:58:14 +02: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
|
e2f954b7f6
|
BUG 2392: anyone can use weapons, as long as they have _some_ skill.
|
2017-12-17 10:16:56 +01:00 |
|
Enno Rehling
|
a17c8ada71
|
Add a test for the happy case of the BUY command.
|
2017-11-04 20:10:05 +01:00 |
|
Enno Rehling
|
e72155a563
|
WIP: reimplemented production modifiers.
The system itself seems to work, but some Lua tests are still failing.
|
2017-04-02 14:43:53 +02:00 |
|
Enno Rehling
|
4c67e0603b
|
remove attribs from rtype (it's only in rtype->construction that we use it?)
test to verify that mine bonus for iron works as advertised.
change the oder of arguments for faction.create (race is the only thing not optional).
|
2017-03-17 22:46:10 +01:00 |
|
Enno Rehling
|
7022ae05bd
|
Merge branch 'master' into develop
Conflicts:
src/kernel/item.c
src/modules/arena.c
|
2017-03-06 22:20:22 +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
|
acfb666539
|
remove rtype->uget funpointer, and lua callbacks.
fix a missing lua_pop that trashed the heap.
|
2017-03-04 20:59:43 +01:00 |
|
Enno Rehling
|
50bdc71c1b
|
kill lua_canuse_item and itype->canuse
|
2017-03-04 17:27:13 +01:00 |
|
Enno Rehling
|
d976ee6f67
|
special cases, not callbacks, for money and horses.
|
2017-03-03 19:17:20 +01:00 |
|
Enno Rehling
|
5a01eae522
|
make item_use function crash if new and old rules do not agree
add a 'test' function to E3 that exercises all those items
|
2017-02-28 14:22:59 +01:00 |
|
Enno Rehling
|
49d8a03eca
|
remote the item_type.use funpointer.
|
2017-02-27 20:41:05 +01:00 |
|
Enno Rehling
|
44c3838d79
|
WIP: itype->use elimination.
|
2017-02-27 04:22:28 +01:00 |
|
Enno Rehling
|
b8ffc20d87
|
remove item_useonother callbacks (use is fine).
add a test for foolpotion.
|
2017-02-26 19:54:58 +01:00 |
|
Enno Rehling
|
d4b973fea4
|
remove resource_limit struct indirection.
|
2017-02-26 13:55:19 +01:00 |
|
Enno Rehling
|
3a985108a6
|
change all magic resistance to use fractions.
|
2017-02-24 20:47:47 +01:00 |
|
Enno Rehling
|
1498f2e1d7
|
refactor rawmaterial_type.
still have to decide if we need it at all.
|
2017-02-22 21:10:22 +01:00 |
|
Enno Rehling
|
04154628e6
|
remove funpointer for spoils
|
2017-02-20 09:18:04 +01:00 |
|
Enno Rehling
|
2328975dc2
|
do not use floats for material-save.
abusing variants for storing short fractions.
remove unused RMF_SAVERESOURCE.
|
2017-02-17 21:45:10 +01:00 |
|
Enno Rehling
|
5680057e7f
|
adding simple test for MAKE <ITEM>
|
2017-02-15 17:09:23 +01:00 |
|
Enno Rehling
|
d28d3f4690
|
move read/write_items to item.c.
fix bad memset in attrib.test.c.
|
2016-11-14 01:00:48 +01:00 |
|
Enno Rehling
|
2c0f708d1b
|
WIP: remove at_guard, GUARD_TREES and GUARD_MINING
TODO: fix tests
TODO: write new guard coverage
|
2016-10-30 09:18:19 +01:00 |
|
Enno Rehling
|
d84ed1f89d
|
move static variable cleanup to kernel_done.
clean up some more.
|
2016-09-07 21:22:05 +02:00 |
|
Enno Rehling
|
c70d987c09
|
memory leak: free weapon data
|
2015-10-13 22:27:43 +02:00 |
|
Enno Rehling
|
b8df3f3a5f
|
increase the datatype for scores from int to long long
this fixes https://bugs.eressea.de/view.php?id=2136
|
2015-09-06 19:04:04 +02:00 |
|
Enno Rehling
|
c54cbfd472
|
fix copyright notice
|
2015-01-30 22:10:29 +01: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
|
838cf3d938
|
try to allow visual studio to build with all warnings (/WAll) enabled.
|
2015-01-12 22:53:21 +01:00 |
|
Enno Rehling
|
80be0a8e89
|
I broke the Lua tests, must initialize resources in eressea.free_game binding
|
2014-12-31 00:20:19 +01:00 |
|
Enno Rehling
|
228983202d
|
properly free items at cleanup.
|
2014-12-30 23:49:50 +01:00 |
|
Enno Rehling
|
cd70b8684d
|
fix escape_string mmeory corruption error.
fix a number of small stuff that happens when loading very old data files (like 572).
|
2014-12-12 11:28:37 +01:00 |
|
Enno Rehling
|
d7c2fc2b04
|
remove the R_UNIT resource.
https://bugs.eressea.de/view.php?id=1945
assert that only items can be reserved.
|
2014-12-11 23:24:00 +01:00 |
|
Enno Rehling
|
27f94783bc
|
fix gcc build, forward-declare structs in the header.
MSVC allows structs to be declared in a function signature, gcc wants
to know about them earlier.
|
2014-11-01 13:10:22 +01:00 |
|
Enno Rehling
|
ce3e9cd7d0
|
Add missing test coverage for update_guards. Fix the weapon:minskill default.
|
2014-10-14 18:37:45 +02:00 |
|
Enno Rehling
|
920902f8eb
|
replace resource_type::_name array with a single string.
|
2014-08-24 23:58:30 +02:00 |
|
Enno Rehling
|
11a264742b
|
appearance is something only items have, so move it to item_type
|
2014-06-29 17:35:37 -07:00 |
|
Enno Rehling
|
5d32896407
|
rt_register is no longer required, new_resourcetype replaced by rt_get_or_create.
|
2014-06-29 17:02:45 -07:00 |
|
Enno Rehling
|
95929a99b5
|
we are about to remove rt_register, but not quite yet.
|
2014-06-29 16:46:42 -07:00 |
|