Files
fs2open.github.com/code/scripting/api/objs/waypoint.h
T
asarium 8f4d51b14a Convert ade_get_args to variadic template based solution
This maintains the type information which can be used for enforce
const-correctness and also for implementing more advanced ways of
handling the type information.
2018-09-26 19:15:42 +02:00

29 lines
442 B
C++

#pragma once
#include "scripting/ade_api.h"
#include "object/object.h"
#include "object/waypoint.h"
namespace scripting {
namespace api {
DECLARE_ADE_OBJ(l_Waypoint, object_h);
struct waypointlist_h
{
waypoint_list *wlp;
char name[NAME_LENGTH];
waypointlist_h();
explicit waypointlist_h(waypoint_list *n_wlp);
explicit waypointlist_h(const char* wlname);
bool IsValid();
};
DECLARE_ADE_OBJ(l_WaypointList, waypointlist_h);
}
}