Skip to content

Instantly share code, notes, and snippets.

View CommonData.hpp
#pragma once
#include <Siv3D.hpp>
#include "dynamixel_sdk/DynamixelManager.hpp"
template<typename T>
Array<T> GetArray(const TOMLArrayView& arrayView)
{
Array<T> values;
@chobby
chobby / Main.cpp
Last active Apr 23, 2016
99 line? STG
View Main.cpp
# include <Siv3D.hpp>
struct Object{
Vec2 pos, vel;
double value;
int num, hp, type;
bool isDestroyed;
};
@chobby
chobby / Main.cpp
Created Feb 14, 2016
テトリス風ゲーム
View Main.cpp
# include <Siv3D.hpp>
# include <HamFramework.hpp>
enum GridState
{
I, O, S, Z, J, L, T, Null, Wall
};
struct BlockDefinition
{
View Main.cpp
//May2014
# include <Siv3D.hpp>
void Main()
{
Window::Resize(854, 480);
Rect window(Window::Size());
You can’t perform that action at this time.