Add mapper_edit_init

This commit is contained in:
Alexander Batalov 2023-07-24 06:50:07 +03:00
parent 053e70dde4
commit 4cd40b33af
11 changed files with 1178 additions and 1 deletions

View File

@ -52,6 +52,14 @@ unsigned char HighRGB(unsigned char color)
return std::max(std::max(r, g), b);
}
// 0x44ED98
int load_lbm_to_buf(const char* path, unsigned char* buffer, int a3, int a4, int a5, int a6, int a7)
{
// TODO: Incomplete.
return -1;
}
// 0x44F250
int graphCompress(unsigned char* a1, unsigned char* a2, int a3)
{

View File

@ -4,6 +4,7 @@
namespace fallout {
unsigned char HighRGB(unsigned char color);
int load_lbm_to_buf(const char* path, unsigned char* buffer, int a3, int a4, int a5, int a6, int a7);
int graphCompress(unsigned char* a1, unsigned char* a2, int a3);
int graphDecompress(unsigned char* a1, unsigned char* a2, int a3);
void grayscalePaletteUpdate(int a1, int a2);

11
src/mapper/map_func.cc Normal file
View File

@ -0,0 +1,11 @@
#include "mapper/map_func.h"
namespace fallout {
// 0x4825B0
void setup_map_dirs()
{
// TODO: Incomplete.
}
} // namespace fallout

10
src/mapper/map_func.h Normal file
View File

@ -0,0 +1,10 @@
#ifndef FALLOUT_MAPPER_MAP_FUNC_H_
#define FALLOUT_MAPPER_MAP_FUNC_H_
namespace fallout {
void setup_map_dirs();
} // namespace fallout
#endif /* FALLOUT_MAPPER_MAP_FUNC_H_ */

File diff suppressed because it is too large Load Diff

View File

@ -5,4 +5,10 @@ namespace fallout {
// 0x559C60
bool can_modify_protos = false;
// 0x4922F8
void init_mapper_protos()
{
// TODO: Incomplete.
}
} // namespace fallout

View File

@ -5,6 +5,8 @@ namespace fallout {
extern bool can_modify_protos;
void init_mapper_protos();
} // namespace fallout
#endif /* FALLOUT_MAPPER_MP_PROTO_H_ */

19
src/mapper/mp_targt.cc Normal file
View File

@ -0,0 +1,19 @@
#include "mapper/mp_targt.h"
namespace fallout {
// 0x49B2F0
void target_override_protection()
{
// TODO: Incomplete.
}
// 0x49B424
int target_init()
{
// TODO: Incomplete.
return 0;
}
} // namespace fallout

11
src/mapper/mp_targt.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef FALLOUT_MAPPER_MP_TARGT_H_
#define FALLOUT_MAPPER_MP_TARGT_H_
namespace fallout {
void target_override_protection();
int target_init();
} // namespace fallout
#endif /* FALLOUT_MAPPER_MP_TARGT_H_ */

13
src/mapper/mp_text.cc Normal file
View File

@ -0,0 +1,13 @@
#include "mapper/mp_text.h"
namespace fallout {
// 0x49DAC4
int proto_build_all_texts()
{
// TODO: Incomplete.
return 0;
}
} // namespace fallout

10
src/mapper/mp_text.h Normal file
View File

@ -0,0 +1,10 @@
#ifndef FALLOUT_MAPPER_MP_TEXT_H_
#define FALLOUT_MAPPER_MP_TEXT_H_
namespace fallout {
int proto_build_all_texts();
} // namespace fallout
#endif /* FALLOUT_MAPPER_MP_TEXT_H_ */