Enno Rehling
|
cc870c076c
|
http://bugs.eressea.de/view.php?id=1855
fixing delayed-action potions.
|
2011-06-04 11:19:44 -07:00 |
|
Enno Rehling
|
bc48f3c29e
|
Merge branch 'master' of gitorious.org:eressea/server
|
2011-06-04 18:37:27 +02:00 |
|
Enno Rehling
|
2aa3acf56a
|
do not crash when terraforming land regions with road in them (oceans cannot have roads)
|
2011-06-04 18:37:02 +02:00 |
|
Enno Rehling
|
d4310b1b51
|
bad magic resistance zone implemented.
this fixes http://bugs.eressea.de/view.php?id=1854
|
2011-05-15 15:01:09 -07:00 |
|
Enno Rehling
|
58208e0db5
|
Improve sailing messages to include the region.
http://bugs.eressea.de/view.php?id=1729
|
2011-05-02 23:34:35 -07:00 |
|
Enno Rehling
|
a2816f1528
|
fix_familiars had a bug caused by quicklist
|
2011-05-02 23:27:39 -07:00 |
|
Enno Rehling
|
817f396467
|
http://bugs.eressea.de/view.php?id=1844
Only use potions that we have the resources for.
|
2011-04-29 22:49:29 -07:00 |
|
Enno Rehling
|
c4cc06a80f
|
get_regions_distance converted to quicklist
|
2011-04-25 22:30:54 -07:00 |
|
Enno Rehling
|
dbd338c284
|
eliminate region_list usage from the monster pathfinder
|
2011-04-25 22:20:01 -07:00 |
|
Enno Rehling
|
9802eecd79
|
code prettyfication
|
2011-04-24 16:18:01 -07:00 |
|
Enno Rehling
|
ec9e7bf833
|
new lighthouse behavior as described in http://bugs.eressea.de/view.php?id=1847
|
2011-04-24 12:19:34 -07:00 |
|
Enno Rehling
|
28a1e8d3cc
|
E3 rule for dwarf castles should not be default.
|
2011-04-24 11:42:19 -07:00 |
|
Enno Rehling
|
e7ab2b46ad
|
do not assert on rich units, warn instead
|
2011-03-27 21:05:22 +02:00 |
|
Enno Rehling
|
36b58cca6e
|
test that fighters get created properly.
better test initialization code.
|
2011-03-15 21:04:38 -07:00 |
|
Enno Rehling
|
3493c651f7
|
test that attackers do not get a building bonus
|
2011-03-12 17:54:57 -08:00 |
|
Enno Rehling
|
89b3b3161f
|
Add a test for the effect of buildings in battles, and a file to test pieces of the combat code from C in the future.
Add some testing support for terrains and buildings.
|
2011-03-12 17:01:20 -08:00 |
|
Enno Rehling
|
31edf06d05
|
just a bit of typecasting
|
2011-03-12 17:00:16 -08:00 |
|
Enno Rehling
|
5afb83c193
|
Let tests clean up after/before themselves, so terrains can be created by each.
|
2011-03-12 16:59:32 -08:00 |
|
Enno Rehling
|
315066309a
|
create races with a minimum of hitpoints so tests don't break.
|
2011-03-12 16:58:45 -08:00 |
|
Enno Rehling
|
3d98275d58
|
we never checked if building maintenance was paid (see also #1740)
|
2011-03-09 21:00:29 +01:00 |
|
Enno Rehling
|
2c02c38803
|
insects trying to land in glaciers should not damage ships (cf. #1729)
|
2011-03-09 21:00:26 +01:00 |
|
Enno Rehling
|
cf4e081179
|
nobody ever profited from castle bonuses
|
2011-03-09 14:49:50 +01:00 |
|
Enno Rehling
|
ff51fe6493
|
added meropis buildings
also fixed a bug that prevented tests with ATTACKs to be executed properly (NewbieImmunity)
|
2011-03-09 14:49:43 +01:00 |
|
Enno Rehling
|
fa69da6de2
|
added missing move_test.c
|
2011-03-09 11:01:40 +01:00 |
|
Enno Rehling
|
e01c6bb8b1
|
make merge request sing with Eressea
added a missing file (move_test.c)
changing the way tests are included
making some lua code prettier (too many parens)
|
2011-03-08 21:06:38 -08:00 |
|
Enno Rehling
|
8714957a61
|
fixed two bugs: harbours were not unique and multiple instances of unique buildings could still be built
|
2011-03-09 00:28:37 +01:00 |
|
Enno Rehling
|
b4c5607747
|
compiling with -pedantic on linux
|
2011-03-08 08:44:20 +01:00 |
|
Enno Rehling
|
04b3d7ff45
|
use enums, fix typecasts
|
2011-03-07 22:31:06 -08:00 |
|
Enno Rehling
|
496aa22e65
|
fixes for -ansi -pedantic
|
2011-03-07 17:29:19 +01:00 |
|
Enno Rehling
|
9c8779b303
|
indentation rules, slightly updated
|
2011-03-07 08:24:52 +01:00 |
|
Enno Rehling
|
fb7a642d47
|
indentation rules, strictly applied
|
2011-03-07 08:02:35 +01:00 |
|
Enno Rehling
|
7a983c80cf
|
* there are no boats
* skill should only use 4 bytes
|
2011-03-06 22:06:30 -08:00 |
|
Enno Rehling
|
36e53069e0
|
use quicklist to store ship types.
|
2011-03-06 21:11:17 -08:00 |
|
Enno Rehling
|
3677e899af
|
Do not assert on unknown skills, but log them as an error.
|
2011-03-06 19:56:20 -08:00 |
|
Enno Rehling
|
d75ee1a057
|
Make the code compile on Visual Studio again, fixing type conversion warnings and C99-isms.
Signed-off-by: Enno Rehling <enno@eressea.de>
|
2011-03-06 19:29:20 -08:00 |
|
Enno Rehling
|
d672510f06
|
two little remarks
|
2011-03-06 12:43:39 +01:00 |
|
Enno Rehling
|
623c0dce84
|
empty ships sink
|
2011-03-06 12:43:18 +01:00 |
|
Enno Rehling
|
cb4f7a03c6
|
configurable ship damage
|
2011-03-06 12:43:18 +01:00 |
|
Enno Rehling
|
8c129f1576
|
skill.id had wrong type
|
2011-03-05 19:39:02 +01:00 |
|
Enno Rehling
|
53aec0d438
|
do not silently fail on unknown skill
|
2011-03-05 19:39:02 +01:00 |
|
Enno Rehling
|
168e1d08d4
|
stop warning about duplicate spells.
|
2011-02-28 21:28:26 -08:00 |
|
Enno Rehling
|
2af300431d
|
fix a crash in battles caused by quicklist changes
|
2011-03-01 04:55:58 +01:00 |
|
Enno Rehling
|
42eb0ef0ed
|
remove cvector.[hc] completely
|
2011-02-27 20:49:38 -08:00 |
|
Enno Rehling
|
de13d0d412
|
remove more cvector usage
|
2011-02-27 12:22:34 -08:00 |
|
Enno Rehling
|
342e7ee249
|
remove TROLLSAVE code
remove more cvector usage
|
2011-02-27 12:14:33 -08:00 |
|
Enno Rehling
|
b40f3d19b0
|
Store fighters in a quicklist, not a cvector.
|
2011-02-27 12:04:49 -08:00 |
|
Enno Rehling
|
10e64c59e1
|
Some old files that weren't in use. Goodbye.
|
2011-02-27 02:57:28 -08:00 |
|
Enno Rehling
|
2e547d6ae8
|
put spoils code into the open source parts of the code.
reduce number of races in Meropis
|
2011-02-27 00:36:38 -08:00 |
|
Enno Rehling
|
12c3324850
|
When running --tests, messages cannot be created (externally defined), so that isn't an error we are interested in.
|
2011-02-27 00:11:34 -08:00 |
|
Enno Rehling
|
ca2556c618
|
fix a segmentation fault when file cannot be opened
|
2011-02-26 23:52:28 -08:00 |
|
Enno Rehling
|
611fe8e2a1
|
adding a os module for os-specific functions (mkdir in this case).
|
2011-02-26 22:56:14 -08:00 |
|
Enno Rehling
|
b2d6203cec
|
1. spell_list was pretty much used everywhere in the code, and is now also a quicklist.
2. Cleaned up the bindings for quicklist to Lua.
|
2011-02-26 00:26:14 -08:00 |
|
Enno Rehling
|
b28fa19d01
|
Even if equipment is not very frequently used, there's no need for it to use spell_list structs.
|
2011-02-25 18:16:14 -08:00 |
|
Enno Rehling
|
fd2b30a0ff
|
messagetype_list, another special-cased list type, bites the dust and is replaced by the quicklist.
|
2011-02-25 08:04:25 -08:00 |
|
Enno Rehling
|
c278a3b71f
|
cursetype_list, another special-cased list type, bites the dust and is replaced by the quicklist.
|
2011-02-25 07:56:00 -08:00 |
|
Enno Rehling
|
5e21579036
|
another special-cased list type bites the dust and is replaced by the quicklist.
|
2011-02-25 07:47:35 -08:00 |
|
Enno Rehling
|
5497875c93
|
Funny. It turns out that building_list is totally not a thing and never was.
|
2011-02-25 07:41:51 -08:00 |
|
Enno Rehling
|
14dff6cdfa
|
seen_factions is a quicklist, and the faction_list struct is a thing of the past.
|
2011-02-25 07:27:44 -08:00 |
|
Enno Rehling
|
efca8cee43
|
The list of alliance members is now also a quicklist, and the lua binding for faction_list iteration can disappear.
|
2011-02-25 07:23:02 -08:00 |
|
Enno Rehling
|
d2994d816a
|
the oceannames has never been used. git history does not forget, so deleting is fine.
|
2011-02-24 23:25:54 -08:00 |
|
Enno Rehling
|
831de3dd55
|
the report's address list is now a quicklist. A bit faster perhaps, and less memory? One less reason to have the faction_list struct, at least.
|
2011-02-24 22:29:21 -08:00 |
|
Enno Rehling
|
0c2ccf2d20
|
We do not require unit_list, quicklists are the future.
|
2011-02-23 23:26:15 -08:00 |
|
Enno Rehling
|
0adf7899dd
|
cleaning up the lists functionality a bit. I have plans.
|
2011-02-21 22:00:03 -08:00 |
|
Enno Rehling
|
204924c35a
|
http://bugs.eressea.de/view.php?id=1810
Only rich peasants were dying during the plague (and paying for it)
|
2011-02-15 23:34:00 -08:00 |
|
Enno Rehling
|
42c5331f1b
|
http://bugs.eressea.de/view.php?id=1833
There's a pretty bad problem with watchers in older datafiles.
|
2011-02-15 23:28:09 -08:00 |
|
Enno Rehling
|
d3a7d22253
|
http://bugs.eressea.de/view.php?id=1679
Applying a patch provided by Solthar: Server will give error when unit is given more than one long order.
I just added a test to this.
|
2010-11-11 20:11:19 -08:00 |
|
Enno Rehling
|
e7ce28a258
|
http://bugs.eressea.de/view.php?id=1814
fix a quoting bug in the order parser,
add a very basic test to make sure order parsing works.
|
2010-11-05 22:54:29 -07:00 |
|
Enno Rehling
|
12828f0edd
|
for planes that have no name, do not print a comma after the coordinates (this has irritated me in E3).
also: add tests for this, and add a way to assert on content in reports.
|
2010-11-05 21:21:49 -07:00 |
|
Enno Rehling
|
c5418fc28b
|
E3 does not have a boat, so tests needs to create a canoe sometimes
|
2010-10-31 19:46:08 -07:00 |
|
Enno Rehling
|
03fd39ac63
|
Idiotic Visual Studio has no separate C and C++ modes, and puts curly lines under the word "friend". So they can't be called that.
|
2010-10-31 19:31:45 -07:00 |
|
Enno Rehling
|
fa6ea0a626
|
http://bugs.eressea.de/view.php?id=1811
BTF_INDESTRUCTIBLE buildings were not indestructible
|
2010-10-17 17:24:10 -07:00 |
|
Enno Rehling
|
357de0f249
|
fix a crash where flying ships try to anchor
|
2010-10-16 22:18:30 +02:00 |
|
Enno Rehling
|
ed77af5261
|
http://bugs.eressea.de/view.php?id=1784
espionage should show the faction of the spied unit in the report.
|
2010-10-12 23:17:35 -07:00 |
|
Enno Rehling
|
f1f46782f7
|
* fix some rules to not use static variables across multiple runs
* add tests for upkeep
* add a config setting to disable upkeep in tests
* add a config setting to disable random factor in studying
|
2010-10-08 23:39:16 -07:00 |
|
Enno Rehling
|
bfbe9b373b
|
increase skill-limitations by config
|
2010-10-02 15:37:48 -07:00 |
|
Enno Rehling
|
0d653ec2bf
|
sometimes monsters have heroes, too
|
2010-09-26 01:06:46 +02:00 |
|
Enno Rehling
|
fbb3234bee
|
stealth for totally anonymous armies should work in E3
|
2010-09-23 23:32:15 -07:00 |
|
Enno Rehling
|
45f451f17d
|
there are regions with no name, maybe?
|
2010-09-11 19:37:11 -07:00 |
|
Enno Rehling
|
482a39db6d
|
prevent buildings in regions that should not have any (simple hack)
|
2010-09-11 19:30:00 -07:00 |
|
Enno Rehling
|
bf5bccc133
|
add an option to disable anonymous armies in combat
|
2010-08-28 23:05:45 -07:00 |
|
Enno Rehling
|
e3c2ac1ec6
|
http://bugs.eressea.de/view.php?id=1796
great bows should be allowed for all, not just elves
|
2010-08-17 23:24:51 -07:00 |
|
Enno Rehling
|
6a5a731262
|
log an error instead of asserting on spell components
|
2010-08-16 23:08:42 -07:00 |
|
Enno Rehling
|
68f04e66d1
|
VS 2008 fixes fixed to build Release
|
2010-08-14 19:41:18 -07:00 |
|
Enno Rehling
|
a5e712580f
|
undo more CRLF screwups.
|
2010-08-08 01:14:01 -07:00 |
|
Enno Rehling
|
14b3ed309f
|
use external folder for all libraries (VS2010)
new repository structure
|
2010-08-07 23:05:54 -07:00 |
|
Enno Rehling
|
72505ab8f3
|
moving to a new repository layout.
step 1: shared folder.
|
2010-08-07 22:07:17 -07:00 |
|