Enno Rehling
88626fb163
optimization: select_fighters.
...
use select_fighters with callback to reduce the number of selected units for (most) combat spells.
2017-05-21 12:26:04 +02:00
Enno Rehling
58d9aa58a0
BUG 2326: Untote Helden fehlen in der Kampfübersicht
...
https://bugs.eressea.de/view.php?id=2326
2017-05-21 11:14:16 +02:00
Enno Rehling
fa7a3e246b
eliminate spell->id.
...
clean up some spell functions used by more than one spell.
2017-05-01 17:04:28 +02:00
Enno Rehling
c6a8a76e31
strip skillmod down to the essentials.
2017-04-02 20:17:39 +02:00
Enno Rehling
4e5f1d05ce
Be very strict about C standards.
...
Compile with -std=c89 in gcc.
remove all // comments (they are nice, but unnecessary).
variables only declared at start of block.
various pedantery.
backwards compatible va_copy for pre-C99 gcc.
2017-02-18 21:15:14 +01:00
Enno Rehling
a553b2258a
remove code for shadowcall, too
2017-02-18 18:25:58 +01:00
Enno Rehling
774fa12a5a
continued work for MSVC compilation
2017-01-26 18:05:25 +01:00
Enno Rehling
d94cde67a4
kill autoconf.h, replace platform.h for C99 compatibility work
2017-01-26 18:03:48 +01:00
Enno Rehling
a4badc0a75
remove quicklist shim, use selist everywhere
2017-01-26 17:41:21 +01:00
Enno Rehling
6c9e1fb345
more config.h removal.
...
freset/fset/fval must die!
2016-11-17 17:06:31 +01:00
Enno Rehling
754ad78db7
WIP: remove GUARD_* flags.
...
TODO: does not compile
TODO: write new guard.test.c tests
2016-10-31 07:45:06 +01:00
Enno Rehling
40d9ebfa94
reduce code duplication: itemcloak code was copied between NR and CR.
2016-08-29 19:37:47 +01:00
Enno Rehling
c5965fcd59
CID 22455 Logically dead code
...
github issue #359
2015-11-11 16:00:07 +01:00
Enno Rehling
833a1e70be
CID 26257: Null pointer dereferences (NULL_RETURNS)
...
this test should never fire, but it shuts up coverity
2015-10-29 16:40:18 +01:00
Enno Rehling
71c4cb53c0
add missing guard.h include everywhere, remove duplicate prototypes from config.h
2015-09-12 23:41:37 +02:00
Enno Rehling
06a04d0e20
fix logging for sp_igjarjuk, temporarily set log-levels for the game to error|warn|info
...
remove some code that accesses `verbosity` variable (todo: hide it more, fix logging)
2015-09-12 19:48:03 +02:00
Enno Rehling
28f17b6a08
release version 3.6.3
2015-09-12 19:27:11 +02:00
Enno Rehling
a00fdf9316
fix hitpoints for summoned wolves
2015-08-31 12:50:47 +02:00
Enno Rehling
acb2aed30f
add message for igjarjuk effect
2015-08-30 11:01:53 +02:00
Enno Rehling
7bb882b15b
add a spell for igjarjuk (WIP)
2015-08-30 10:57:08 +02:00
Enno Rehling
397a157fdc
Merge branch 'develop' into feature/bug-1588-magicpower-limit
...
Conflicts:
scripts/tests/e2/init.lua
src/battle.c
src/bind_unit.c
src/kernel/spellid.h
src/magic.c
src/magic.h
2015-08-06 19:16:05 +02:00
Enno Rehling
4c877288d3
remove spellid.h, it represents an outdated way of doing things.
...
merge the enum into combatspells, and reduce it to the spells actually used here.
2015-08-06 17:57:51 +02:00
Enno Rehling
c8ffe8da7a
Bug 2115: fix cerrdor -> cerddor spelling errors.
2015-07-07 20:30:34 +02:00
Enno Rehling
df325b243a
enable stricter conversion checking for gcc < 4.9, fix code
2015-05-15 20:35:36 +02:00
Steffen Mecke
a31898ceb5
fix bug in generic_name, minor improvements
...
Amusingly, names::generic_name used u->no instead of u->number to determine
singular or plural.
2015-02-11 23:10:27 +01:00
Enno Rehling
83e610ee03
Fixing bug 1802 again, CR contains no Monster names.
2015-02-11 07:57:38 +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
1ae44db7ca
Bugfix: Untote Helden bekamen keine Beute.
...
https://bugs.eressea.de/view.php?id=1962
2014-12-13 20:16:25 +01:00
Enno Rehling
1af315ebf2
move magic out of kernel, into src.
...
clean up/remove a ton of includes, especially of types.h (include in header if you need it, not in every .c file).
2014-11-01 12:57:01 +01:00
Enno Rehling
a9a0455207
reorganized directory structure.
...
flattening the directory structure, moving some modules to the src/ directory.
making stealth a separate file, under test.
more tests for some stuff.
2014-08-27 06:40:35 +02:00
Enno Rehling
c3dfbdea18
eliminate new_race array in favor of a function (TODO: make it fast)
2014-06-29 18:10:02 -07:00
Enno Rehling
73da14e305
getting rid of the olditemtypes[] array
...
reduce use of statics
reduce use of item_t enum
2014-06-23 07:28:10 -07:00
Enno Rehling
2c831230a0
Added a test for expensive skills.
...
When resetting the game rules, make sure basic resources (money, hp, person) are initialized.
2014-06-22 07:55:14 -07:00
Enno Rehling
bff25f3c51
move skill_t into a separate file, give it unit tests.
...
name functions the same as we did for keyword/direction earlier.
to do: json configuration and lua test.
2014-06-20 23:59:04 -07:00
Enno Rehling
3c4b6b9dd4
rename message.[hc] to messages.[hc] in kernel because of naming conflict with util/
...
begin json config files (WIP)
2014-06-09 09:56:49 -07:00
Enno Rehling
0ae8737062
rename MIN/MAX to _min/_max
2014-03-16 05:03:17 +01:00
Enno Rehling
1a7d892a96
use cmake for autoconf, slim down platform.h
2014-03-15 19:29:11 +01:00
Enno Rehling
77ab9133c2
use the storage submodule everywhere.
...
make most magic use float instead of double.
2013-12-31 01:06:28 -08:00
Enno Rehling
b4b8c49934
use getters/setters to access unit::race
2013-05-02 03:50:24 +02:00
Enno Rehling
f7edcf589a
update to latest version of the eressea module
...
fixes for bool type
fixes for lua 5.2
fixes for some intermittent tests
2012-07-09 02:51:48 +02:00
Enno Rehling
4e7a758a75
making server compile with new github repository layout
...
todo: fix scripts and config files
2012-06-04 21:45:25 -07:00
Enno Rehling
f2598e8bdc
comparisons to boolean constants are dumb.
2012-05-23 22:23:32 -07:00
Enno Rehling
07a75b6660
new gcc spouts more warnings, fix them.
2012-05-18 21:25:21 -07:00
Enno Rehling
c6b8f4c491
unused variables are unused
2012-05-09 18:37:31 -07:00
Enno Rehling
fda365cd84
Remove some unused variables to make gcc happy.
2012-05-10 03:34:48 +02:00
Enno Rehling
06a4a7051b
combat spell functions have the same interface as spells now.
2012-05-09 18:28:03 -07:00
Enno Rehling
03f74f0a47
fix a crash where wolves have not enough firce
2012-04-16 06:58:03 +02:00
Enno
d940f29a6c
indentation rules, slightly updated
2011-03-07 08:24:48 +01:00
Enno
347a888b67
indentation rules, strictly applied
2011-03-07 08:03:10 +01:00
Enno Rehling
71988d9912
remove cvector.[hc] completely
2011-02-27 20:53:19 -08:00