Rename Some Files
This commit is contained in:
parent
6c68250afa
commit
b75d923c83
@ -5,7 +5,7 @@
|
||||
|
||||
#include <mods/init/init.h>
|
||||
#include <mods/feature/feature.h>
|
||||
#include "chat-internal.h"
|
||||
#include "internal.h"
|
||||
#include <mods/chat/chat.h>
|
||||
#include <mods/api/api.h>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "chat-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include <symbols/minecraft.h>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <mods/compat/compat.h>
|
||||
#include <mods/init/init.h>
|
||||
|
||||
#include "compat-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Exit Handler
|
||||
static void exit_handler(__attribute__((unused)) int data) {
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <mods/input/input.h>
|
||||
#include <mods/feature/feature.h>
|
||||
|
||||
#include "compat-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Custom Title
|
||||
HOOK(media_SDL_WM_SetCaption, void, (__attribute__((unused)) const char *title, const char *icon)) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <libreborn/patch.h>
|
||||
#include "../compat-internal.h"
|
||||
#include "../internal.h"
|
||||
|
||||
// Do Nothing Function
|
||||
static void do_nothing() {
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include <libreborn/patch.h>
|
||||
#include <media-layer/core.h>
|
||||
#include "../compat-internal.h"
|
||||
#include "../internal.h"
|
||||
|
||||
// Functions That Have Their Return Values Used
|
||||
static EGLSurface eglCreateWindowSurface_injection(__attribute__((unused)) EGLDisplay display, __attribute__((unused)) EGLConfig config, __attribute__((unused)) NativeWindowType native_window, __attribute__((unused)) EGLint const *attrib_list) {
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include <media-layer/core.h>
|
||||
#include <libreborn/patch.h>
|
||||
#include "../compat-internal.h"
|
||||
#include "../internal.h"
|
||||
|
||||
// SDL Stub
|
||||
static void *SDL_SetVideoMode_injection(__attribute__((unused)) int width, __attribute__((unused)) int height, __attribute__((unused)) int bpp, __attribute__((unused)) uint32_t flags) {
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include <libreborn/patch.h>
|
||||
#include <media-layer/core.h>
|
||||
#include "../compat-internal.h"
|
||||
#include "../internal.h"
|
||||
|
||||
// Functions That Have Their Return Values Used
|
||||
static int XTranslateCoordinates_injection(__attribute__((unused)) void *display, __attribute__((unused)) XID src_w, __attribute__((unused)) XID dest_w, int src_x, int src_y, int *dest_x_return, int *dest_y_return, __attribute__((unused)) XID *child_return) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "extend-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// VTable
|
||||
SETUP_VTABLE(DynamicTexture)
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "extend-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Easily Create Custom Screens
|
||||
void CustomScreen::init() {
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <mods/init/init.h>
|
||||
#include <mods/feature/feature.h>
|
||||
|
||||
#include "game-mode-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
static int is_survival = -1;
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <mods/touch/touch.h>
|
||||
#include <mods/misc/misc.h>
|
||||
#include <mods/game-mode/game-mode.h>
|
||||
#include "game-mode-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Strings
|
||||
#define GAME_MODE_STR(mode) ("Game Mode: " mode)
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <symbols/minecraft.h>
|
||||
|
||||
#include <mods/feature/feature.h>
|
||||
#include "input-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Add Attacking To MouseBuildInput
|
||||
#define REMOVE_ATTACK_BAI 0xa
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <symbols/minecraft.h>
|
||||
|
||||
#include <mods/feature/feature.h>
|
||||
#include "input-internal.h"
|
||||
#include "internal.h"
|
||||
#include <mods/input/input.h>
|
||||
|
||||
// Store Right-Click Status
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <symbols/minecraft.h>
|
||||
|
||||
#include "input-internal.h"
|
||||
#include "internal.h"
|
||||
#include <mods/input/input.h>
|
||||
#include <mods/feature/feature.h>
|
||||
#include <mods/creative/creative.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include <mods/feature/feature.h>
|
||||
#include <mods/init/init.h>
|
||||
#include "input-internal.h"
|
||||
#include "internal.h"
|
||||
#include <mods/input/input.h>
|
||||
|
||||
// Init
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include <SDL/SDL.h>
|
||||
|
||||
#include "input-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Translator
|
||||
static int32_t sdl_key_to_minecraft_key_injection(Common_sdl_key_to_minecraft_key_t original, const int32_t sdl_key) {
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <symbols/minecraft.h>
|
||||
#include <SDL/SDL.h>
|
||||
|
||||
#include "input-internal.h"
|
||||
#include "internal.h"
|
||||
#include <mods/input/input.h>
|
||||
#include <mods/feature/feature.h>
|
||||
#include <mods/creative/creative.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include <symbols/minecraft.h>
|
||||
|
||||
#include "input-internal.h"
|
||||
#include "internal.h"
|
||||
#include <mods/input/input.h>
|
||||
#include <mods/feature/feature.h>
|
||||
#include <mods/misc/misc.h>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <GLES/gl.h>
|
||||
|
||||
#include <mods/misc/misc.h>
|
||||
#include "misc-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Callbacks
|
||||
template <typename... Args>
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <mods/feature/feature.h>
|
||||
#include <mods/multidraw/multidraw.h>
|
||||
|
||||
#include "misc-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Properly Generate Buffers
|
||||
static void anGenBuffers_injection(__attribute__((unused)) Common_anGenBuffers_t original, const int32_t count, uint32_t *buffers) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include <symbols/minecraft.h>
|
||||
|
||||
#include "misc-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Use MCPI_HOME
|
||||
static const char *getenv_HOME(__attribute__((unused)) const char *env) {
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <symbols/minecraft.h>
|
||||
|
||||
#include "misc-internal.h"
|
||||
#include "internal.h"
|
||||
#include <mods/misc/misc.h>
|
||||
#include <mods/feature/feature.h>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <mods/input/input.h>
|
||||
#include <mods/misc/misc.h>
|
||||
|
||||
#include "misc-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Sanitize Username
|
||||
#define MAX_USERNAME_LENGTH 16
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <mods/feature/feature.h>
|
||||
#include <mods/extend/extend.h>
|
||||
|
||||
#include "misc-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Change Grass Color
|
||||
static bool grass_colors_loaded = false;
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <mods/classic-ui/classic-ui.h>
|
||||
#include <mods/misc/misc.h>
|
||||
|
||||
#include "misc-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Heart Food Overlay
|
||||
static int heal_amount = 0, heal_amount_drawing = 0;
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <mods/misc/misc.h>
|
||||
#include <mods/extend/extend.h>
|
||||
|
||||
#include "options-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Button IDs
|
||||
#define DISCORD_ID 0
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <mods/feature/feature.h>
|
||||
#include <mods/init/init.h>
|
||||
|
||||
#include "options-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Force Mob Spawning
|
||||
static bool LevelData_getSpawnMobs_injection(__attribute__((unused)) LevelData_getSpawnMobs_t original, __attribute__((unused)) LevelData *level_data) {
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include <mods/feature/feature.h>
|
||||
|
||||
#include "options-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Fix Initial Option Button Rendering
|
||||
// The calling function doesn't exist in MCPE v0.6.1, so its name is unknown.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <mods/init/init.h>
|
||||
#include <mods/feature/feature.h>
|
||||
|
||||
#include "shading-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Init
|
||||
void init_shading() {
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <symbols/minecraft.h>
|
||||
#include <libreborn/patch.h>
|
||||
|
||||
#include "shading-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// OpenGL Lighting
|
||||
static float *get_buffer(const float a, const float b, const float c, const float d) {
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <symbols/minecraft.h>
|
||||
#include <libreborn/patch.h>
|
||||
|
||||
#include "shading-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// PolygonQuad
|
||||
Vec3 vector_to(const Vec3 &a, const Vec3 &b) {
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <symbols/minecraft.h>
|
||||
|
||||
#include <mods/multidraw/multidraw.h>
|
||||
#include "shading-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Structures
|
||||
struct UV {
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include <mods/misc/misc.h>
|
||||
#include <mods/textures/textures.h>
|
||||
#include "skin-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include "stb_image.h"
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <mods/init/init.h>
|
||||
#include <mods/feature/feature.h>
|
||||
#include <mods/misc/misc.h>
|
||||
#include "skin-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Change Texture For Player Entities
|
||||
static std::string get_skin_texture_path(const std::string &username) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <libreborn/log.h>
|
||||
#include <media-layer/audio.h>
|
||||
|
||||
#include "sound-internal.h"
|
||||
#include "internal.h"
|
||||
#include <mods/sound/sound.h>
|
||||
|
||||
// Sound Repository Extracted From MCPE 0.6.1 APK
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <symbols/minecraft.h>
|
||||
#include <media-layer/audio.h>
|
||||
|
||||
#include "sound-internal.h"
|
||||
#include "internal.h"
|
||||
#include <mods/feature/feature.h>
|
||||
#include <mods/override/override.h>
|
||||
#include <mods/init/init.h>
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <libreborn/patch.h>
|
||||
#include <symbols/minecraft.h>
|
||||
|
||||
#include "textures-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Disable Texture Loading
|
||||
static Texture AppPlatform_linux_loadTexture_injection(__attribute__((unused)) AppPlatform_linux_loadTexture_t original, __attribute__((unused)) AppPlatform_linux *app_platform, __attribute__((unused)) const std::string &path, __attribute__((unused)) bool b) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <mods/extend/extend.h>
|
||||
#include <symbols/minecraft.h>
|
||||
|
||||
#include "textures-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Lava texture code was originally decompiled by @iProgramMC as part of ReMinecraftPE.
|
||||
// See: https://github.com/ReMinecraftPE/mcpe
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <mods/textures/textures.h>
|
||||
#include <mods/atlas/atlas.h>
|
||||
#include <mods/init/init.h>
|
||||
#include "textures-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include "stb_image.h"
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <mods/misc/misc.h>
|
||||
#include <mods/title-screen/title-screen.h>
|
||||
|
||||
#include "title-screen-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Load
|
||||
void title_screen_load_splashes(std::vector<std::string> &splashes) {
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <mods/title-screen/title-screen.h>
|
||||
#include <mods/misc/misc.h>
|
||||
|
||||
#include "title-screen-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Improved Title Screen Background
|
||||
template <typename Self>
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <mods/misc/misc.h>
|
||||
#include <mods/extend/extend.h>
|
||||
|
||||
#include "title-screen-internal.h"
|
||||
#include "internal.h"
|
||||
|
||||
// Constants
|
||||
static std::string line1 = "Welcome to " MCPI_APP_TITLE " v" MCPI_VERSION "!";
|
||||
|
Loading…
x
Reference in New Issue
Block a user