Distribute minecraft.h
This commit is contained in:
parent
cd91a2fd12
commit
d10274988e
@ -3,7 +3,7 @@
|
|||||||
#include "../screenshot/screenshot.h"
|
#include "../screenshot/screenshot.h"
|
||||||
#include "../init/init.h"
|
#include "../init/init.h"
|
||||||
|
|
||||||
#include "../minecraft.h"
|
#include <libreborn/minecraft.h>
|
||||||
|
|
||||||
// Take Screenshot Using TripodCamera
|
// Take Screenshot Using TripodCamera
|
||||||
static void AppPlatform_linux_saveScreenshot_injection(__attribute__((unused)) unsigned char *app_platform, __attribute__((unused)) std::string const& param1, __attribute__((unused)) std::string const& param_2) {
|
static void AppPlatform_linux_saveScreenshot_injection(__attribute__((unused)) unsigned char *app_platform, __attribute__((unused)) std::string const& param1, __attribute__((unused)) std::string const& param_2) {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "game_mode.h"
|
#include "game_mode.h"
|
||||||
#include "../init/init.h"
|
#include "../init/init.h"
|
||||||
|
|
||||||
#include "../minecraft.h"
|
#include <libreborn/minecraft.h>
|
||||||
|
|
||||||
static int is_survival = -1;
|
static int is_survival = -1;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "game_mode.h"
|
#include "game_mode.h"
|
||||||
|
|
||||||
#include "../minecraft.h"
|
#include <libreborn/minecraft.h>
|
||||||
|
|
||||||
// Get Minecraft From Screen
|
// Get Minecraft From Screen
|
||||||
static unsigned char *get_minecraft_from_screen(unsigned char *screen) {
|
static unsigned char *get_minecraft_from_screen(unsigned char *screen) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include "input.h"
|
#include "input.h"
|
||||||
#include "../init/init.h"
|
#include "../init/init.h"
|
||||||
|
|
||||||
#include "../minecraft.h"
|
#include <libreborn/minecraft.h>
|
||||||
|
|
||||||
// Store Right-Click Status
|
// Store Right-Click Status
|
||||||
static int is_right_click = 0;
|
static int is_right_click = 0;
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "../feature/feature.h"
|
#include "../feature/feature.h"
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
|
|
||||||
#include "../minecraft.h"
|
#include <libreborn/minecraft.h>
|
||||||
|
|
||||||
// Open Sign Screen
|
// Open Sign Screen
|
||||||
static void LocalPlayer_openTextEdit_injection(unsigned char *local_player, unsigned char *sign) {
|
static void LocalPlayer_openTextEdit_injection(unsigned char *local_player, unsigned char *sign) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "../init/init.h"
|
#include "../init/init.h"
|
||||||
|
|
||||||
#include "../minecraft.h"
|
#include <libreborn/minecraft.h>
|
||||||
|
|
||||||
void init_misc() {
|
void init_misc() {
|
||||||
if (feature_has("Remove Invalid Item Background")) {
|
if (feature_has("Remove Invalid Item Background")) {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include "../feature/feature.h"
|
#include "../feature/feature.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
#include "../minecraft.h"
|
#include <libreborn/minecraft.h>
|
||||||
|
|
||||||
// Read Asset File
|
// Read Asset File
|
||||||
static AppPlatform_readAssetFile_return_value AppPlatform_readAssetFile_injection(__attribute__((unused)) unsigned char *app_platform, std::string const& path) {
|
static AppPlatform_readAssetFile_return_value AppPlatform_readAssetFile_injection(__attribute__((unused)) unsigned char *app_platform, std::string const& path) {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "../feature/feature.h"
|
#include "../feature/feature.h"
|
||||||
#include "../init/init.h"
|
#include "../init/init.h"
|
||||||
|
|
||||||
#include "../minecraft.h"
|
#include <libreborn/minecraft.h>
|
||||||
|
|
||||||
static int mob_spawning = 0;
|
static int mob_spawning = 0;
|
||||||
// Override Mob Spawning
|
// Override Mob Spawning
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include "../feature/feature.h"
|
#include "../feature/feature.h"
|
||||||
#include "../init/init.h"
|
#include "../init/init.h"
|
||||||
|
|
||||||
#include "../minecraft.h"
|
#include <libreborn/minecraft.h>
|
||||||
|
|
||||||
// Server Properties
|
// Server Properties
|
||||||
static ServerProperties &get_server_properties() {
|
static ServerProperties &get_server_properties() {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "../feature/feature.h"
|
#include "../feature/feature.h"
|
||||||
#include "../init/init.h"
|
#include "../init/init.h"
|
||||||
|
|
||||||
#include "../minecraft.h"
|
#include <libreborn/minecraft.h>
|
||||||
|
|
||||||
static void Minecraft_tick_injection(unsigned char *minecraft, int32_t param_1, int32_t param_2) {
|
static void Minecraft_tick_injection(unsigned char *minecraft, int32_t param_1, int32_t param_2) {
|
||||||
// Call Original Method
|
// Call Original Method
|
||||||
|
Loading…
Reference in New Issue
Block a user