This commit is contained in:
Alejandro Javier Asenjo Nitti 2023-10-06 03:10:31 -03:00
parent 1dc09895ed
commit 53ce4e358f
6 changed files with 3475 additions and 2 deletions

24
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,24 @@
{
"configurations": [
{
"name": "Linux",
"compilerPath": "${default}",
"compilerArgs": [
"-m32"
],
"intelliSenseMode": "${default}", // Shouldn't matter
"includePath": [
"${workspaceFolder}/**",
"src",
"build",
"include"
],
"defines": [
"_LANGUAGE_C"
],
"cStandard": "gnu89", // C89 + some GNU extensions from C99 like C++ comments
"cppStandard": "${default}"
}
],
"version": 4
}

39
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,39 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug SOTN (PCSX Redux)",
"type": "gdb",
"request": "attach",
"target": "localhost:3333",
"remote": true,
"stopAtConnect": true,
"executable": "build/sotn-debugmodule.elf",
"linux": {
"gdbpath": "/usr/bin/gdb-multiarch"
},
"cwd": "${workspaceRoot}",
"autorun": [
"set substitute-path /project .",
"file build/sotn-debugmodule.elf",
"continue",
],
"valuesFormatting": "parseText"
},
{
"name": "Debug sotn-disk (extract)",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "tools/sotn-disk",
"args": [
"extract",
"../../disks/sotn.us.cue",
"../../disks/"
]
}
]
}

49
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,49 @@
{
"python.formatting.autopep8Args": [
"--ignore",
"E402"
],
"search.useIgnoreFiles": false,
"search.exclude": {
"**/.git": true,
"**/.github": true,
"build/**": true,
"expected/**": true,
"tools/**": true,
"tools/aspatch/**": false,
"tools/gfxsotn/**": false,
},
"files.associations": {
"main.h": "c",
"game.h": "c",
"stage.h": "c",
"common.h": "c",
"types.h": "c",
"macros.h": "c",
"include_asm.h": "c",
"sfx.h": "c",
"libc.h": "c",
"unkstruct.h": "c",
"cen.h": "c",
"np3.h": "c",
"nz0.h": "c",
"objects.h": "c",
"ric.h": "c",
"st0.h": "c",
"animateentity.h": "c",
"dre.h": "c",
"mad.h": "c",
"sattypes.h": "c",
"stage_02.h": "c",
"dra.h": "c",
"items.h": "c",
"libcd.h": "c",
"no3.h": "c",
"replace_breakable_with_item_drop.h": "c",
"cr.h": "c",
"ch.h": "c",
"libgte.h": "c",
"LIBGTE.H": "cpp",
"entity.h": "c"
},
}

3361
src/35A8.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -91,7 +91,7 @@ segments:
- [0x1050, asm]
- [0x1270, asm]
- [0x3440, asm] #func_80002840
- [0x35A8, c]
- [0x35A8, asm]
- [0xC3EE0, data]
- { start: 0xDE480, type: bss, vram: 0x800DD880 }

View File

@ -91,7 +91,7 @@ segments:
- [0x1050, asm]
- [0x1270, asm]
- [0x3440, asm] #func_80002840
- [0x35A8, c]
- [0x35A8, asm]
- [0xC3EE0, data]
- { start: 0xDE480, type: bss, vram: 0x800DD880 }