summaryrefslogtreecommitdiff
path: root/src/player_controller/gdlibrary.cpp
blob: 13bc8a1320ac3a44cccb23daa51dd843ba87c341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "playercam.h"
#include "playercontroller.h"

extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o) {
    godot::Godot::gdnative_init(o);
}

extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options *o) {
    godot::Godot::gdnative_terminate(o);
}

extern "C" void GDN_EXPORT godot_nativescript_init(void *handle) {
    godot::Godot::nativescript_init(handle);

    godot::register_class<godot::PlayerCam>();
    godot::register_class<godot::PlayerController>();
}