2015-11-02 00:26:23 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifndef FLYINGSHIP_H
|
|
|
|
#define FLYINGSHIP_H
|
|
|
|
|
2015-11-02 00:32:56 +01:00
|
|
|
#include "magic.h"
|
2015-11-02 00:26:23 +01:00
|
|
|
|
2015-11-02 00:35:32 +01:00
|
|
|
#include <kernel/ship.h>
|
|
|
|
|
2015-11-02 00:26:23 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2015-11-02 13:39:06 +01:00
|
|
|
void register_flyingship(void);
|
|
|
|
|
2015-11-02 00:35:32 +01:00
|
|
|
int sp_flying_ship(castorder * co);
|
|
|
|
|
2015-11-02 13:39:06 +01:00
|
|
|
struct curse *shipcurse_flyingship(struct ship *sh, struct unit *mage,
|
|
|
|
double power, int duration);
|
2015-11-02 00:32:56 +01:00
|
|
|
int levitate_ship(struct ship *sh, struct unit *mage, double power,
|
|
|
|
int duration);
|
2015-11-02 00:35:32 +01:00
|
|
|
bool flying_ship(const ship * sh);
|
2015-11-02 00:26:23 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|