create dockerfile; add misisng headers

This commit is contained in:
PikalaxALT 2024-09-04 23:15:10 -04:00
parent 29e1c8171e
commit 25bbcd68a6
No known key found for this signature in database
GPG Key ID: 7774E96AA69E5B61
4 changed files with 65 additions and 0 deletions

34
Dockerfile Normal file
View File

@ -0,0 +1,34 @@
FROM --platform=linux/amd64 ubuntu:22.04
LABEL com.docker.image.name=ghcr.io/pret/pokeheartgold
RUN apt-get -y update \
&& apt-get -y install \
ca-certificates \
software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/test -y \
&& apt-get -y --allow-downgrades install \
g++-10-multilib \
linux-libc-dev \
binutils-arm-none-eabi \
p7zip-full \
pkg-config \
libpugixml-dev \
ppa-purge \
wget \
lsb-release \
make \
git \
build-essential \
python3 \
libpng-dev \
&& { ppa-purge -y ppa:ubuntu-toolchain-r/test || true; } \
&& dpkg --add-architecture i386 \
&& mkdir -pm755 /etc/apt/keyrings \
&& wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key \
&& add-apt-repository ppa:cybermax-dexter/sdl2-backport \
&& wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -cs)/winehq-$(lsb_release -cs).sources \
&& apt-get update \
&& apt-get install --install-recommends --allow-downgrades -y winehq-stable \
&& hash -r
ENTRYPOINT [ "/bin/bash" ]

Binary file not shown.

8
include/unk_02023694.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef POKEHEARTGOLD_UNK_02023694_H
#define POKEHEARTGOLD_UNK_02023694_H
#include "sprite.h"
void sub_02023EA4(Sprite *sprite, int a1);
#endif // POKEHEARTGOLD_UNK_02023694_H

View File

@ -0,0 +1,23 @@
#ifndef NNS_G2D_G2D_NODE_H_
#define NNS_G2D_G2D_NODE_H_
#include <nitro.h>
#include <nnsys/g2d/fmt/g2d_SRTControl_data.h>
typedef enum NNSG2dNodeType {
NNS_G2D_NODETYPE_INVALID = 0,
NNS_G2D_NODETYPE_CELL,
NNS_G2D_NODETYPE_MULTICELL,
NNS_G2D_NODETYPE_MAX
} NNSG2dNodeType;
typedef struct NNSG2dNode {
void *pContent;
NNSG2dNodeType type;
BOOL bVisible;
NNSG2dSRTControl srtCtrl;
} NNSG2dNode;
#endif // NNS_G2D_G2D_NODE_H_