Enno Rehling
|
ac4e32a8f5
|
Merge branch 'master' into develop
|
2016-10-23 09:59:42 +02:00 |
|
Enno Rehling
|
34a6dd8d54
|
fix crash in 997: re-introduce cfindhash.
this prevents duplicate curse.no values.
|
2016-10-22 22:35:10 +02:00 |
|
Enno Rehling
|
c53ac9d8aa
|
remove RS_FARVISION, it is the only spell that uses units.
|
2016-10-01 21:03:16 +02:00 |
|
Enno Rehling
|
423e293745
|
some more config lookup caching
|
2016-09-23 20:39:08 +02:00 |
|
Enno Rehling
|
f8ac5c390d
|
SAMRT_INTERVALS is no longer an option, but regular
|
2016-09-20 09:39:21 +02:00 |
|
Enno Rehling
|
9af5fb0326
|
cache some of the highest-ranking ct_find callers
|
2016-09-19 04:23:49 +02:00 |
|
Enno Rehling
|
e7739867df
|
use curse_type caching in att_modification
|
2016-09-19 03:55:12 +02:00 |
|
Enno Rehling
|
6c9c460815
|
fix failing unit tests, remove deleted unit from f->units list.
|
2016-09-18 11:46:54 +02:00 |
|
Enno Rehling
|
f946d50001
|
alternative implementation for dfindhash that doesn't use as much memory.
do not set u->faction = NULL for deleted units.
|
2016-09-11 20:09:48 +02:00 |
|
Enno Rehling
|
87fed5b7d2
|
Merge pull request #548 from ennorehling/refactor-volcano
new tests, TODOs removed, remove code duplication
|
2016-08-31 17:19:29 +01:00 |
|
Enno Rehling
|
8a157de36c
|
only name monsters that have a naming function. test is bad, failing.
|
2016-08-31 16:43:02 +02:00 |
|
Enno Rehling
|
2d1a13a811
|
death to static caches!
|
2016-08-30 07:51:05 +01:00 |
|
Enno Rehling
|
873e6f8086
|
remove more static curse_type variables
|
2016-08-29 20:34:30 +01:00 |
|
Enno Rehling
|
f47113e9bd
|
eliminate static curse variables (gbdream & more)
|
2016-08-29 20:31:18 +01:00 |
|
Enno Rehling
|
0d609f2115
|
test magicwalls and strongwalls effects on buildings.
|
2016-08-29 08:53:09 +01:00 |
|
Enno Rehling
|
33701ab891
|
make describe_braineater more generic (describe_race).
|
2016-08-28 20:44:45 +01:00 |
|
Enno Rehling
|
0f3de70ced
|
refactor to push back the const-ness of generated names.
|
2016-08-28 19:06:14 +01:00 |
|
Enno Rehling
|
0ac30c65a1
|
refactoring prior to removing static variable
|
2016-08-28 18:15:00 +01:00 |
|
Enno Rehling
|
b2e79dc5e9
|
building maintenance unit tests.
backfilling some very basic test coverage.
|
2016-08-21 20:01:30 +02:00 |
|
Enno Rehling
|
4f5bd43dcf
|
Merge branch 'master' into develop
Conflicts:
src/buildno.h
|
2016-08-07 00:47:50 +02:00 |
|
Enno Rehling
|
44b6a87649
|
death by NMR was broken, because I can't write loops good.
|
2016-08-07 00:40:10 +02:00 |
|
Enno Rehling
|
db5b90e80b
|
clarify building_type.maxsize and add error logging for bug 2221.
https://bugs.eressea.de/view.php?id=2221
|
2016-08-06 13:52:29 +02:00 |
|
Enno Rehling
|
d0f54bf69a
|
Merge branch 'feature/kill-maintenance' of https://github.com/ennorehling/eressea into ennorehling-feature/kill-maintenance
Conflicts:
src/kernel/config.c
src/kernel/config.h
src/tests.c
|
2016-07-30 23:27:03 +02:00 |
|
Enno Rehling
|
98a3b31953
|
cfindhash is gone
|
2016-03-25 21:51:49 +01:00 |
|
Enno Rehling
|
02cfacd7f8
|
refactorings
- learn_skill from unit.c to study.c
- add academy.c module
|
2016-03-09 14:52:50 +01:00 |
|
Enno Rehling
|
3d5c7ba8fb
|
refactoring: move produceexp from unit.c to study.c
|
2016-03-09 14:50:54 +01:00 |
|
Enno Rehling
|
8a9d617aa3
|
read_referernce takes a gamedata object.
with all the trimmings that requires,
this is for github issue $479
|
2016-02-24 11:53:22 +01:00 |
|
Enno Rehling
|
7f6ced99b9
|
attrib.read gets a gamedata object (remove dependency on global.data_version)
|
2016-02-24 11:44:18 +01:00 |
|
Enno Rehling
|
ca500a499e
|
adding a much-needed getter function for faction_alive
|
2016-01-11 12:25:23 +01:00 |
|
Enno Rehling
|
b4389c91fe
|
fix compilation (what was I thinking?), remove uses of f.alive where they should not be needed.
|
2016-01-11 11:54:45 +01:00 |
|
Enno Rehling
|
5187788f3c
|
pass the parent of an attribute into a_age and attrib_type::age
|
2015-12-16 22:18:44 +01:00 |
|
Enno Rehling
|
c85e489f4f
|
Merge branch 'monster_leftovers' of https://github.com/stm2/server into stm2-monster_leftovers
Conflicts:
src/kernel/unit.c
src/laws.test.c
src/monsters.c
|
2015-11-25 14:25:42 +01:00 |
|
Enno Rehling
|
f559c263e3
|
cleanup of config.c: move more code to other modules like unit.c and faction.c
|
2015-11-24 19:53:27 +01:00 |
|
Enno Rehling
|
84a943b698
|
fix gcc build
|
2015-11-24 19:15:53 +01:00 |
|
Enno Rehling
|
64b84481b2
|
refactoring: move parsing and allies code out of config.c
|
2015-11-24 18:52:09 +01:00 |
|
Enno Rehling
|
817d81dbf9
|
remove the rules.hunger.reduces_skill variable, no game was doing anything other than the default.
|
2015-11-23 21:05:25 +01:00 |
|
Enno Rehling
|
0a47f0e398
|
eliminate SkillCap feature, it was stupid and not used by any game, ever
|
2015-11-23 20:58:51 +01:00 |
|
Enno Rehling
|
2e392b4d7c
|
eliminate even more static variable caches
|
2015-11-22 16:14:27 +01:00 |
|
Enno Rehling
|
a4cb5e2906
|
replace all get_param_* for global.parameters with config_get_*
|
2015-11-22 10:44:46 +01:00 |
|
Enno Rehling
|
66dd1b8172
|
remove produce_exp caching in static variables (more slowdown)
|
2015-11-22 10:21:37 +01:00 |
|
Enno Rehling
|
990fda6234
|
clean up config.c, remove static configuration caching
|
2015-11-21 18:13:16 +01:00 |
|
Enno Rehling
|
7e27928d17
|
eliminate static variables and cache logic from more modules
|
2015-11-21 12:28:20 +01:00 |
|
Steffen Mecke
|
8cec4b20e0
|
reduce code obfuscation
|
2015-11-17 02:14:08 +01:00 |
|
Steffen Mecke
|
1789bc06e9
|
monster faction may learn from experience
|
2015-11-17 02:13:57 +01:00 |
|
Enno Rehling
|
b81e56d306
|
CID 22486 Dereference after null check
|
2015-11-05 08:32:21 +01:00 |
|
Enno Rehling
|
42ae086def
|
unit is inisde a building also when it was not paid for
|
2015-11-02 14:49:48 +01:00 |
|
Enno Rehling
|
24ff4c301d
|
refactor: separate building_is_active from inside_building
|
2015-11-02 14:18:50 +01:00 |
|
Enno Rehling
|
21a2313e2a
|
CID 22517: Parse warning (PW.PARAM_SET_BUT_NOT_USED)
|
2015-10-30 15:20:06 +01:00 |
|
Enno Rehling
|
e1eb5098d4
|
CID 22554: Improper use of negative value (REVERSE_NEGATIVE)
I believe this was a false positive, but more asserts can never hurt.
|
2015-10-30 12:40:48 +01:00 |
|
Enno Rehling
|
4f25831407
|
coverity scan CID 22576: arguments in wrong order
I believe that was a false positive, and will try to aquelch it by naming the arguments better.
|
2015-10-29 11:24:01 +01:00 |
|