This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "gdexample.h" | |
#include <godot_cpp/core/class_db.hpp> | |
#include <godot_cpp/variant/utility_functions.hpp> | |
#include <godot_cpp/classes/random_number_generator.hpp> | |
#include <stdio.h> | |
using namespace godot; | |
void GDExample::_bind_methods() { | |
ClassDB::bind_method(D_METHOD("tick", "delta"), &GDExample::tick); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the name of the target operating system | |
set(CMAKE_SYSTEM_NAME Windows) | |
# which compilers to use for C and C++ | |
set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc) | |
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++) | |
# where is the target environment located | |
set(CMAKE_FIND_ROOT_PATH /code/deps/install) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ******************************************************************************************* | |
# * | |
# * raylib [textures] example - Bunnymark | |
# * | |
# * Example originally created with raylib 1.6, last time updated with raylib 2.5 | |
# * | |
# * Example licensed under an unmodified zlib/libpng license, which is an OSI-certified, | |
# * BSD-like license that allows static linking with closed source software | |
# * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pycparser import parse_file, c_ast | |
import os | |
class ast: | |
def __init__(self, children=[], params=[], line=0): | |
self.children = children | |
self.params = params | |
self.line = line | |