mirror of
https://github.com/pret/pokestadium.git
synced 2024-12-04 11:03:34 +00:00
Add the remaining data tables.
This commit is contained in:
parent
78ea4586f7
commit
fbb8dc54ef
15
.gitmodules
vendored
15
.gitmodules
vendored
@ -4,3 +4,18 @@
|
||||
[submodule "stadiumgs/0x1e40000"]
|
||||
path = stadiumgs/0x1e40000
|
||||
url = https://github.com/iimarckus/stadiumgs-0x1e40000
|
||||
[submodule "stadiumgs/0x1718000"]
|
||||
path = stadiumgs/0x1718000
|
||||
url = https://github.com/iimarckus/stadiumgs-0x1718000
|
||||
[submodule "stadiumgs/0x1898000"]
|
||||
path = stadiumgs/0x1898000
|
||||
url = https://github.com/iimarckus/stadiumgs-0x1898000
|
||||
[submodule "stadiumgs/0x2000000"]
|
||||
path = stadiumgs/0x2000000
|
||||
url = https://github.com/iimarckus/stadiumgs-0x2000000
|
||||
[submodule "stadiumgs/presjpeg"]
|
||||
path = stadiumgs/presjpeg
|
||||
url = https://github.com/iimarckus/stadiumgs-presjpeg
|
||||
[submodule "stadiumgs/faces"]
|
||||
path = stadiumgs/faces
|
||||
url = https://github.com/iimarckus/stadiumgs-faces
|
||||
|
1
stadiumgs/0x1718000
Submodule
1
stadiumgs/0x1718000
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 9b18f11796067c1c9c74866ae6b74e65376c584f
|
1
stadiumgs/0x1898000
Submodule
1
stadiumgs/0x1898000
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 0be7b316a8e579e07e38ef5ef734cbdb2bff3615
|
1
stadiumgs/0x2000000
Submodule
1
stadiumgs/0x2000000
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 7f4b535eeeb5f221b5c41993719c820f1fb85b78
|
1138
stadiumgs/Makefile
1138
stadiumgs/Makefile
File diff suppressed because it is too large
Load Diff
1
stadiumgs/faces
Submodule
1
stadiumgs/faces
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 813de35f563a5b016e013a299a6f15cffdabc6a6
|
1
stadiumgs/presjpeg
Submodule
1
stadiumgs/presjpeg
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit c5e60162a101df44950a2a2a4184f3febd89e04a
|
@ -17,6 +17,7 @@
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -34,6 +35,7 @@ putuint32BE(uint32_t n, FILE *f)
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
bool efflag;
|
||||
int i, runsum, numptrs;
|
||||
long size;
|
||||
uint32_t *ptrs, *runsums;
|
||||
@ -42,7 +44,15 @@ main(int argc, char *argv[])
|
||||
char *ep;
|
||||
|
||||
if (argc < 3) {
|
||||
errx(1, "Usage: cattbl size file ...");
|
||||
errx(1, "Usage: cattbl [-f] size file ...");
|
||||
}
|
||||
|
||||
if (strcmp(argv[1], "-f") == 0) {
|
||||
efflag = true;
|
||||
argv += 1;
|
||||
argc -= 1;
|
||||
} else {
|
||||
efflag = false;
|
||||
}
|
||||
|
||||
size = strtol(argv[1], &ep, 0);
|
||||
@ -61,7 +71,11 @@ main(int argc, char *argv[])
|
||||
runsums = reallocarray(NULL, argc, sizeof *runsums);
|
||||
numptrs = 0;
|
||||
|
||||
putuint32BE(0, stdout);
|
||||
if (efflag) {
|
||||
putuint32BE(0xef, stdout);
|
||||
} else {
|
||||
putuint32BE(0, stdout);
|
||||
}
|
||||
putuint32BE(0, stdout);
|
||||
|
||||
runsum = 16 + 16 * (argc);
|
||||
|
Loading…
Reference in New Issue
Block a user