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
| using System; | |
| using System.Collections.Generic; | |
| using System.Runtime.CompilerServices; | |
| using UnityEngine; | |
| [DefaultExecutionOrder(-60)] | |
| public class SpriteTextRenderer : Singleton<SpriteTextRenderer> | |
| { | |
| public struct TextInfo | |
| { |
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 "NativeNamedPipe.h" | |
| #include <iostream> | |
| #include <string> | |
| #include <fmt/format.h> | |
| #include <cstdlib> | |
| #include <thread> | |
| std::string paths[] = { | |
| "discord-ipc-", | |
| "app/com.discordapp.Discord/discord-ipc-", |
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
| NetMessageNewsEulaRequest -> | |
| <- NetMessageNewsEulaResponse News | |
| <- NetMessageNewsEulaResponse EULA | |
| NetGameMessage data: | |
| msgType - Message type | |
| msgData[2000] - messageData max size of 2000 bytes | |
| NetPluginClientMessage data: |
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
| server0 = raz.zpm.pw:14242 | |
| server1 = raz.zpm.pw:14243 | |
| server2 = raz.zpm.pw:14244 | |
| server3 = raz.zpm.pw:14245 | |
| server4 = raz.zpm.pw:14246 | |
| server5 = raz.zpm.pw:14247 | |
| server6 = raz.zpm.pw:14248 | |
| server7 = raz.zpm.pw:14249 | |
| server8 = raz.zpm.pw:14250 | |
| server9 = raz.zpm.pw:14251 |
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
| EasyDoubleGuitar | |
| MediumDoubleGuitar | |
| HardDoubleGuitar | |
| ExpertDoubleGuitar | |
| // PART_BASS | |
| EasyDoubleBass | |
| MediumDoubleBass | |
| HardDoubleBass |
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
| Overall filestructure: | |
| <header> <metadata> <timed global song events> <Instrument Track 1> <Instrument Track N...> | |
| Header: | |
| Byte order mark: | |
| - This could be a 4 byte ascii sequence that would be tied back to the name of the data format we decide on. | |
| - or maybe not i dont really know a lot about BOM's | |
| Version Number |
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
| from xml.parsers import expat | |
| from html.parser import HTMLParser | |
| class TagStack(object): | |
| def __init__(self): | |
| self.tags = [] | |
| self.args = [] | |
| self.data = [] | |
| self.dataAdded = [] | |
| self.stackSize = 0 |
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
| #pragma once | |
| #include "config.hpp" | |
| #include <fstream> | |
| #include <string> | |
| #include <memory> | |
| #include <stdexcept> | |
| namespace ORCore | |
| { |
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 <cassert> | |
| #include <iostream> | |
| #include <thread> | |
| #define WIN32_LEAN_AND_MEAN | |
| #include <Windows.h> | |
| #include <gl/gl.h> | |
| class FpsTimer | |
| { |
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
| import math | |
| def print_bin(data): | |
| print (format(data, '08b')) | |
| def swap_twos_comp(data, size): | |
| return (~data & ((0x1 << size) - 1)) + 1 # apply twos complement | |
| def py_to_unsigned(data, outputBits): |
NewerOlder