mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 13:01:29 -10:00
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.
29 lines
442 B
C++
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);
|
|
|
|
|
|
}
|
|
}
|
|
|