forked from github/server
eliminate config.h from triggers.
was only used once, for a single fset macro
This commit is contained in:
parent
88f5bfaf47
commit
13c29c136c
11 changed files with 3 additions and 12 deletions
|
@ -17,7 +17,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
**/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "createcurse.h"
|
||||
|
||||
/* kernel includes */
|
||||
|
|
|
@ -17,7 +17,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
**/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "createunit.h"
|
||||
|
||||
/* kernel includes */
|
||||
|
|
|
@ -28,6 +28,7 @@ extern "C" {
|
|||
struct region;
|
||||
struct faction;
|
||||
struct unit;
|
||||
struct race;
|
||||
|
||||
extern struct trigger_type tt_createunit;
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
without prior permission by the authors of Eressea.
|
||||
*/
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "gate.h"
|
||||
|
||||
/* kernel includes */
|
||||
|
|
|
@ -17,7 +17,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
**/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "giveitem.h"
|
||||
|
||||
/* kernel includes */
|
||||
|
|
|
@ -17,7 +17,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
**/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "killunit.h"
|
||||
|
||||
#include <kernel/region.h>
|
||||
|
|
|
@ -17,7 +17,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
**/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "shock.h"
|
||||
|
||||
#include "magic.h"
|
||||
|
@ -84,7 +83,7 @@ static void do_shock(unit * u, const char *reason)
|
|||
}
|
||||
|
||||
/* Dies ist ein Hack, um das skillmod und familiar-Attribut beim Mage
|
||||
* zu löschen wenn der Familiar getötet wird. Da sollten wir über eine
|
||||
* zu l<EFBFBD>schen wenn der Familiar get<EFBFBD>tet wird. Da sollten wir <EFBFBD>ber eine
|
||||
* saubere Implementation nachdenken. */
|
||||
|
||||
if (strcmp(reason, "trigger") == 0) {
|
||||
|
|
|
@ -17,7 +17,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
**/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "timeout.h"
|
||||
|
||||
/* util includes */
|
||||
|
|
|
@ -17,7 +17,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
**/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
|
||||
/* triggers includes */
|
||||
#include <triggers/changefaction.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
without prior permission by the authors of Eressea.
|
||||
*/
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "unguard.h"
|
||||
|
||||
/* kernel includes */
|
||||
|
@ -34,7 +33,7 @@ static int unguard_handle(trigger * t, void *data)
|
|||
building *b = (building *)t->data.v;
|
||||
|
||||
if (b) {
|
||||
fset(b, BLD_UNGUARDED);
|
||||
b-> flags |= BLD_UNGUARDED;
|
||||
}
|
||||
else {
|
||||
log_error("could not perform unguard::handle()\n");
|
||||
|
|
|
@ -8,7 +8,6 @@ without prior permission by the authors of Eressea.
|
|||
*/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "unitmessage.h"
|
||||
|
||||
/* kernel includes */
|
||||
|
|
Loading…
Reference in a new issue