Commit Graph

91 Commits

Author SHA1 Message Date
luckytyphlosion
44bd156f26 Actually test out that it builds. 2021-01-05 20:10:43 -05:00
luckytyphlosion
a5f75b4949 Fix issue with diffs being incorrect with extreme values. 2021-01-05 19:53:41 -05:00
luckytyphlosion
8855623ad0 Fix choice of delta sign.
Ensure that the delta goes in the correct direction (i.e. use positive delta for prev <= sample, and negative delta for prev > sample)
2021-01-05 13:56:26 -05:00
luckytyphlosion
fb396395e9 Fix bug in pcm delta compression.
error wasn't being correctly calculated for when new_sample was negative and sample was positive.
2021-01-05 11:34:38 -05:00
GriffinR
ef60edd933 Remove deadnaming, sync BgEvent 2020-12-31 14:27:46 -05:00
luckytyphlosion
5029c90979 Missing inc files in asm/*.s and data/*.s will raise an actual error message. 2020-11-12 11:04:38 -05:00
GriffinR
c6b27013cc
Merge pull request #1112 from GriffinRichards/add-genwarn
Add warnings to generated map/layout files
2020-07-28 17:47:55 -04:00
PokeCodec
fb6f859edd semicolon 2020-07-27 19:17:34 -04:00
GriffinR
2439f42de4 Add warnings to generated files 2020-07-24 03:43:37 -04:00
GriffinR
a35ab0d023 Fix segfault in gbagfx 2020-06-29 15:28:59 -04:00
PikalaxALT
e0ae696479
Merge pull request #1027 from PikalaxALT/gbagfx_tilemap
Add tilemap rendering capability to gbagfx
2020-05-29 16:49:46 -04:00
Kurausukun
65fb2e9957
Fix compilation on gcc 10 (for real this time) 2020-05-18 23:42:42 -04:00
Kurausukun
72c8574780
Fix compilation on gcc 10 2020-05-18 01:41:54 -04:00
GriffinR
b057411eea Fix -Wmissing-braces clang warning 2020-04-29 16:39:14 -04:00
GriffinR
b1d26e10a8 Sync map header property names with pokefirered 2020-04-28 19:59:08 -05:00
PikalaxALT
a4509d06ef Fix an issue with uninitialized tilemap ptr 2020-04-25 16:54:27 -04:00
PikalaxALT
14f76fbe03 Add tilemap rendering capability to gbagfx 2020-04-24 08:47:22 -04:00
Sierraffinity
b2d8c6793d gbagfx: Check for nullptr for new output path 2020-04-22 16:53:11 -07:00
Sierraffinity
21e9ed6615 gbagfx: Various fixes and improvements
Fix num_colors exceeding amount of colors in palette leading to use of uninitialized colors

Handle png -> pal conversion (aka extracting JASC palettes from png

Allow using only file extension as output to reuse entire path from input before extension
2020-04-22 14:39:20 -07:00
Diegoisawesome
f84ac6d633 Make aif2pcm looping not dependent on order of MARK and INST chunks 2020-02-19 08:51:01 -08:00
Diegoisawesome
4dd4c4d077 Allow INST chunk loops without MARK chunk 2020-02-18 22:32:27 -08:00
Diegoisawesome
059e5467f7 Add safety check 2020-02-18 22:11:04 -08:00
Diegoisawesome
57af90158d Follow defined AIFF loop standard 2020-02-18 22:08:38 -08:00
Diegoisawesome
437cb7c452 Fix aif2pcm Pascal string bug, allow flexibility in marker names for loop 2020-02-18 20:59:08 -08:00
GriffinR
ec3e86f1d2 Standardize Event Object to Object Event 2019-11-20 22:55:44 -05:00
garak
4a79081197 replace inja license text 2019-10-14 18:12:03 -05:00
garak
c73e20b6af add subgroups for fishing rods to encounter json 2019-10-14 18:12:03 -05:00
garak
74477471a6 update inja 2019-10-14 18:12:03 -05:00
GriffinR
2884f4ee4a Fix extraneous parentheses warning 2019-09-16 19:22:07 -05:00
PikalaxALT
36723a235a
Merge pull request #735 from garakmon/encounter_json
Add Different Field Info to Wild Encounters JSON
2019-09-04 16:50:39 -04:00
PikalaxALT
1f4c88c952
Copy Berry Fix MB dism from FR (#777)
* Copy Berry Fix MB dism from FR
2019-09-03 15:33:11 -04:00
Marcus Huderle
1a2b430646 Update scaninc to include missing .include files in assembler files 2019-08-29 16:37:42 -05:00
garak
b420b98d63 allow CRLF line endings in asm files for preproc 2019-08-29 16:37:32 -05:00
aaaaaa123456789
e28cf5406b Fix Makefiles to account for the $CC and $CXX environment variables 2019-08-06 20:30:57 -03:00
PikalaxALT
6ff1426abe Quieter "make tools" 2019-07-23 16:17:00 -04:00
garak
4594c955b4 create defines to support encounter index ratios 2019-07-01 23:47:45 -04:00
garak
adb0a44457 add field info to wild pokemon json 2019-06-30 12:05:45 -04:00
PikalaxALT
8b73ba61ee Misc. changes
use the TOOLCHAIN variable instead of overriding DEVKITARM
remove redunant DEBUG variable, substitute DINFO
2019-06-29 18:32:49 -04:00
PikalaxALT
f9d8678db4 Additional fixes
Rearrange gbafix to not modify file in the event of failure
Fix bug where Dma3Manager may get stuck when compiled with gcc-9.1.0
2019-06-29 11:41:26 -04:00
PikalaxALT
fb06e4a3c9 Modernize code
Can compile with arm-none-eabi-gcc 8.3.0
gbafix correctly handles ELF input
2019-06-26 12:12:10 -04:00
Marcus Huderle
483648e372 Create jsonproc tool
Add custom function hooks to jsonproc

Add jsonproc to build_tools.sh

Newer g++
2019-05-08 17:06:39 -05:00
Phlosioneer
fe1c14db76 Fix warning for extra parens (#646)
* Fix warning for extra parens

* Committed too many files
2019-04-01 19:27:55 -05:00
Marcus Huderle
bd157b301d Scaninc: Don't insert missing headers into dependencies 2019-03-07 09:46:14 -06:00
Phlosioneer
6638ebe7fd Fix copyright mixup 2019-03-07 08:46:55 -06:00
Phlosioneer
b0c634d531 Support absolute paths 2019-03-07 08:46:55 -06:00
Phlosioneer
105e1721d6 Overhaul scaninc to work recursively
This also fixes the bug where scaninc would ignore #include lines
in assembly files.
2019-03-07 08:46:55 -06:00
Marcus Huderle
19b76bffda Use strings for map json trainer_type and trainer_sight_or_berry_tree_id fields 2019-02-16 16:56:41 -06:00
garak
0b1bb9e4e9 use strings for map json coord_event var_value 2019-02-16 16:14:43 -06:00
Diegoisawesome
05d02e804e Fix C comment consumption logic 2019-02-13 21:55:39 -06:00
Marcus Huderle
d4125fef9b Cleanup and add game version flag to mapjson tool 2019-02-04 17:28:45 -06:00