This file contains hidden or 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
/*: | |
@plugindesc Show equipment skills on equip menu | |
@author armornick | |
@param Equipment Skills Text | |
@desc The label to show above the equipment skills list. | |
@default Equipment Skills | |
@help |
This file contains hidden or 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
/*: | |
@plugindesc Simple crafting system. | |
@author armornick | |
---------------------------------------------------- | |
@help | |
Adds a simple crafting system with a simple crafting menu. |
This file contains hidden or 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
var Generator = (function () { | |
var Mustache = require("./lib/mustache.min.js"), | |
fs = require("fs") | |
function Generator() { | |
this.templateDir = null | |
this.config = null | |
} |
This file contains hidden or 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 <cstdio> | |
#include <cctype> | |
#include <string> | |
#include <vector> | |
#include <sstream> | |
#include <algorithm> | |
#include <stdexcept> | |
#define FILE_LIST_FN "file_list.txt" |
This file contains hidden or 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 <duktape.h> | |
#include <tinyxml2.h> | |
using namespace tinyxml2; | |
// ----------------------------------------------------------------------------- | |
// XmlNode Object structure & utility functions | |
// ----------------------------------------------------------------------------- | |
#define DUKWIN_XMLNODE_PROTOTYPE "$DukwinXmlNodePrototype" |
This file contains hidden or 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
/* | |
List and load Control Panel applets | |
Based on this article: | |
https://blogs.msdn.microsoft.com/oldnewthing/archive/2003/12/26/45979.aspx | |
And this section of MSDN: | |
https://msdn.microsoft.com/en-us/library/windows/desktop/cc144185(v=vs.85).aspx | |
KNOWN BUGS: |
This file contains hidden or 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 <windows.h> | |
#ifdef UNICODE | |
/* | |
IT FUCKING WORKS WITH G++ FUCKING GODDAMIT!!!88!!! | |
g++ -municode -s -static -Os -o openfiledialog-gnu openfiledialog.cpp -lshell32 -luuid -lole32 -DUNICODE -D_UNICODE -D_WIN32_WINNT=_WIN32_WINNT_VISTA -DNTDDI_VERSION=NTDDI_VISTA | |
NOTE: forgive the expletives but it took several days to get this working and it turned out I forgot to define the version macros |
This file contains hidden or 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
%rename cpp super_cpp | |
*cpp: | |
%(super_cpp) %{municode:-D_UNICODE} -DNTDDI_VERSION=0x06000000 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 | |
*libgcc_link: | |
%{shared-libgcc:-lgcc_s -lgcc} %{static|static-libgcc|!shared-libgcc:-lgcc -lgcc_eh} | |
*libgcc: | |
%{mthreads:-lmingwthrd} -lmingw32 %(libgcc_link) -lmingwex -lmsvcr120 |
This file contains hidden or 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
// mixins based on code from: | |
// https://github.com/mastastealth/sass-flex-mixin/blob/master/_flexbox.scss | |
.flexbox() { | |
display: -webkit-box; | |
display: -webkit-flex; | |
display: -moz-flex; | |
display: -ms-flexbox; | |
display: flex; | |
} |