Skip to content

Instantly share code, notes, and snippets.

View shibbo's full-sized avatar
👀
procrastinating

shibboleet shibbo

👀
procrastinating
  • United States
View GitHub Profile
#ifndef PATH_H
#define PATH_H
#include <objects/object.h>
class Path : public Object
{
public:
Path() {}
#ifndef PATHNODE_H
#define PATHNODE_H
#include <objects/object.h>
class PathNode : public Object
{
public:
PathNode() {}
PathNode(FileBase* file, Path* path);
#ifndef OBJECT_H
#define OBJECT_H
#include <QRect>
#include <QPainter>
class Object
{
public:
Object();
#ifndef LOCATIONEDITORWIDGET_H
#define LOCATIONEDITORWIDGET_H
#include "objects/object.h"
#include <QWidget>
#include <QListWidget>
#include <QSpinBox>
class LocationEditorWidget : public QWidget
#ifndef SPRITERENDERER_H
#define SPRITERENDERER_H
#include "objects/sprite.h"
class SpriteRenderer
{
public:
SpriteRenderer() {}
SpriteRenderer(Sprite* spr);
#ifndef SPRITE_H
#define SPRITE_H
#include "object.h"
#include "filesystem/filesystem.h"
#include "spriterenderer.h"
class Sprite : public Object
{
public:
#include "objectrenderer.h"
#include "objects/object.h"
#include "leveleditor/imagecache.h"
#include <QPainter>
SpriteRenderer::SpriteRenderer(const Sprite *spr)
{
this->spr = spr;
#include "helper.h"
Helper::Helper(Vector3 scale, Vector3 rot, Vector3 trans)
{
this->scale = scale;
this->rot = rot;
this->trans = trans;
}
QMatrix4x4 Helper::SRTToMatrix()
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using OpenTK;
using OpenTK.Graphics.OpenGL;
using DouBOLDash.Rendering;
namespace DouBOLDash
@shibbo
shibbo / convertMap.py
Last active April 4, 2018 00:30
Code simplification!
# converts an IDA exported MAP to externals.txt for Kamek
# Example:
# 0001:802342C4 startPause__9RumbleMgrFv
# to
# startPause__9RumbleMgrFv=0x802342C4
import os, sys
if not os.path.exists(sys.argv[1]):