Enno Rehling
9e3dc18daa
bug 2684: update sp_showastral and sp_viewreality.
...
add more messages
add unit tests
closes https://bugs.eressea.de/view.php?id=2684
2020-08-16 16:00:28 +02:00
Enno Rehling
b06f3cf0e2
Bug 2684 Astraler Blick
...
Old implementation was bad, using set_observer is better. Still missing a test, but improved the one for sp_viewreality, which is almost doing the same thing - adaptation should be easy.
Fixes https://bugs.eressea.de/view.php?id=2684
2020-08-16 16:00:28 +02:00
Enno Rehling
a5b39962fd
make it impossible to create buildings with size 0
2020-08-16 16:00:27 +02:00
Enno Rehling
2d39641e3f
Bug 2668 Spruchstärke Ritual der Aufnahme
...
Zauber sollen force benutzen, nicht level.
2020-08-16 16:00:27 +02:00
Enno Rehling
1eaa6a9ec4
Bug 2680: shapeshift spell cannot be cast twice.
...
Add a message and don't pay for the failed spell.
2020-08-16 16:00:27 +02:00
Enno Rehling
4886d29401
small code cleanup
2020-02-02 18:52:30 +01:00
Enno Rehling
1a8b94da59
STIRB PARTEI löscht die Befehle nicht.
...
Reparatur des Tests für VERGESSE MAGIE (Vertraute)
2019-11-24 16:39:21 +01:00
Enno Rehling
1e0afdc961
spells can only be cast on single ships.
2019-10-08 21:08:33 +02:00
Enno Rehling
f02c4cbaeb
disable magic resistant to prevent 2% intermittent test.
2019-10-05 20:59:55 +02:00
Enno Rehling
b4f3120658
delete unused function
2019-09-29 18:31:11 +02:00
Enno Rehling
7b9ea75d16
make disrupt_astral use callback, not region_list.
2019-09-29 18:28:44 +02:00
Enno Rehling
17fbd0d67d
Bug 2612 Zauberreparatur.
2019-09-29 17:56:56 +02:00
Enno Rehling
a6ea80f5f8
create a for_all_in_range function to avoid use of region_list.
...
functional programming is good.
2019-09-29 16:57:26 +02:00
Enno Rehling
24552613c8
fetch_astral braucht astralregions eigentlich nicht.
2019-09-24 21:26:34 +02:00
Enno Rehling
a2963a8621
stop using astralregions, avoid dynamic allocations.
2019-09-23 20:44:19 +02:00
Enno Rehling
b9ae927aa3
remove copyright notices.
2019-09-13 21:35:44 +02:00
Enno Rehling
c3e86ff6da
Make the worst-case number of Golems look better.
2019-07-27 16:50:45 +02:00
Enno Rehling
c70e597b05
Update copyright notice with current date.
2019-07-14 09:37:35 +02:00
Enno Rehling
5c7788ecdd
Merge branch '2541-quit' into develop
2019-05-04 12:01:55 +02:00
Enno Rehling
8605409ed3
limited-skill units are only transferred up to the limit.
2019-05-04 10:45:51 +02:00
Enno Rehling
7b3b792d01
Nicht Sonnensegel verhindert Sturmelementar, sondern Sturmelementar verhindert Sturmelementar.
2019-05-01 20:08:14 +02:00
Enno Rehling
bbcb2113d7
WIP feature: STIRB <password> [PARTEI <nr>]
2019-04-30 18:40:24 +02:00
Enno Rehling
5868316537
asciification
2019-02-09 12:50:12 +01:00
Enno Rehling
88dd9203dd
Merge remote-tracking branch 'upstream/develop' into develop
2019-02-02 21:18:59 +01:00
Enno Rehling
0043690650
Merge branch 'master' into develop
2019-02-02 21:17:23 +01:00
Enno Rehling
af91459fb1
add some variety to familiar selection.
...
effskill: use NULL, not 0 for pointer arguments.
2019-02-02 20:38:02 +01:00
Enno Rehling
9b113c050e
eliminate MIN and MAX macros
2019-01-24 16:34:07 +01:00
Enno Rehling
264822a354
reduce variables scope (cppcheck warnings).
2018-12-11 19:57:27 +01:00
Enno Rehling
c757f83a71
eliminate bsdstring from reports.c
...
add missing period at end of region info.
2018-11-24 21:25:46 +01:00
Enno Rehling
3e54d307df
replace bsdstring in bufunit
2018-11-24 12:26:52 +01:00
Enno Rehling
4a66b558c5
WIP: refactor struct sc_mage (make it private).
...
tests are failing and/or slow.
2018-11-18 21:47:14 +01:00
Enno Rehling
6f26898822
fix accidental redefinition
2018-11-18 11:32:59 +01:00
Enno Rehling
e1ebf15d31
coverity thinks I need to check for NULL
2018-11-18 11:16:20 +01:00
Enno Rehling
b6110c5b22
some caster/mage changes issues (transfer aura is hard).
2018-11-17 22:28:55 +01:00
Enno Rehling
d2389fa87b
Bug 2517: Vertraute ohne eigene Zauber reparieren
...
Trennung von caster und mage in spells.c
2018-11-17 21:31:05 +01:00
Enno Rehling
b181618b53
BUG 1877: change non-spell familiars.
...
1. mages can have actions when familiars cast spells.
2. familiar spells do not increase magician's costs.
3. improve separation of caster and mage.
2018-11-15 20:51:42 +01:00
Enno Rehling
0fd7906d41
extract contact logic to a module
...
add missing tests for contact to units.
add an attribute for contacting a faction.
2018-11-04 15:53:27 +01:00
Enno Rehling
5aa3b1161f
prefer unit_addorder over addlist where possible.
2018-10-14 16:26:36 +02:00
Enno Rehling
b22d838a57
move gamedata.c to kernel
2018-09-29 13:21:46 +02:00
Enno Rehling
a373807189
move attrib and event modules to kernel
2018-09-29 11:37:17 +02:00
Enno Rehling
ccc5556682
adding code to export faction information.
...
sqlite3 implementation only, not tied to anything yet.
add faction.uid
remove faction.subscription
2018-09-24 20:18:21 +02:00
Enno Rehling
5309c84224
BUG 2465 Kein Item-Teleport bei Lied der Verfuehrung.
2018-07-25 19:42:48 +02:00
Enno Rehling
ce37fd1bb7
remove libxml2 from dependencies
...
remove the converter, that isn't a way we're going.
2018-05-18 21:14:22 +02:00
Enno Rehling
6746401330
BUG 2437: fetch_astral should have no aura cost when given bad units.
2018-05-07 20:22:02 +02:00
Enno Rehling
6c0f8a81f6
merge from master
2018-02-26 19:51:48 +01:00
Enno Rehling
622c103b00
more cppcheck messages
2018-02-26 19:48:52 +01:00
Enno Rehling
432a8d432d
messy merge of cppcheck fixes into develop
2018-02-25 20:41:53 +01:00
Enno Rehling
120b03d2f5
Passing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2018-02-25 18:14:48 +01:00
Enno Rehling
f4be3a1374
remove duplication setstatus -> unit_setstatus
2018-02-14 11:24:38 +01:00
Enno Rehling
398a258658
cppcheck: variable scopes, etc.
2018-02-11 15:57:31 +01:00