DavidJCobb
7fd0029ed7
Add typedefs for MAPSEC and METLOC values ( #2183 )
...
Added typedefs: mapsec_t, metloc_t, and variants for MAPSEC and METLOC values. There are some rough edges that could do with smoothing out, but for now, this gets us close to ideal with a ROM that compares equal.
Per feedback, all typedefs to mention the underlying type within the typedef name. The documentation comments reflect and explain the naming convention.
Updated comments to reflect the fact that we're no longer using SET8 for a Pokemon's met locations, in favor of a new macro (added by this PR) that adjusts to match the width of whatever is being set.
2025-10-19 17:37:13 +01:00
GriffinR
e4e90eacd6
Merge pull request #2023 from Bassoonian/updatemapmacros
...
Fix defines in MAP_NUM and MAP_GROUP
2024-09-19 12:17:16 -04:00
Bassoonian
c1ee43254e
Clean up defines lacking spaces
2024-08-15 19:34:56 +02:00
Bassoonian
5fefd743a2
Fix defines in MAP_NUM and MAP_GROUP
2024-08-14 13:02:40 +02:00
Eduardo Quezada
af210da972
Solved a bunch of -Wall errors on modern
2023-09-20 19:01:08 -03:00
GriffinR
18319e8da3
Misc missing constant use
2023-08-10 01:42:18 -04:00
GriffinR
14f7e49099
Add some missing palette macro use
2023-05-25 15:09:16 -04:00
GriffinR
4328ed8b19
Merge branch 'master' of https://github.com/pret/pokeemerald into doc-windows
2023-02-01 14:59:45 -05:00
GriffinR
0cc10a1ada
Merge branch 'master' of https://github.com/pret/pokeemerald into ui-standardize
2023-01-18 11:07:12 -05:00
GriffinR
c91b13a12b
Merge branch 'master' of https://github.com/pret/pokeemerald into doc-windows
2023-01-07 13:30:11 -05:00
GriffinR
e33581ff9c
Merge pull request #1671 from sphericalice/heal-location-none
...
Add the HEAL_LOCATION_NONE constant
2022-10-18 18:41:04 -04:00
GriffinR
4af1044439
Use window constants in region_map
2022-09-29 13:11:38 -04:00
GriffinR
7223dbd62f
Merge branch 'master' into rme-update
2022-09-25 11:56:57 -04:00
Eduardo Quezada
63156b4398
Removed malloc macro
2022-09-16 20:24:26 -03:00
Martin Griffin
d57442a511
Decimal paletteNums
2022-08-19 17:05:22 +01:00
Martin Griffin
6fed961ed6
Write palette IDs in hex
2022-08-19 15:29:35 +01:00
GriffinR
277750b088
Merge branch 'master' into rme-update
2022-06-22 10:02:17 -04:00
sphericalice
d03756dfd2
Use the TRY_FREE_AND_SET_NULL macro where appropriate
2022-06-03 15:42:53 +01:00
sphericalice
bb3992e7dc
Use TRY_FREE_AND_SET_NULL macro for sFlyMap
2022-06-03 15:12:58 +01:00
sphericalice
35bdaccedc
Add the HEAL_LOCATION_NONE constant
2022-06-03 14:59:01 +01:00
GriffinR
593e2c9be0
Fix inconsistent static s/g names
2022-05-17 14:00:02 -04:00
GriffinR
8b43cffe09
Move remaining region map graphics to region map folder
2022-02-22 18:43:23 -05:00
GriffinR
ed70b81ba0
Use constants for region map layout
2022-02-22 18:29:21 -05:00
GriffinR
a0c127f72c
Move region map layout to C
2022-02-22 18:13:11 -05:00
GriffinR
ce55e58ad8
Misc cleanup
2022-01-04 10:09:42 -05:00
GriffinR
b9fa18bdd4
Merge branch 'master' of https://github.com/GriffinRichards/pokeemerald into update-macros
2021-11-17 22:03:37 -05:00
GriffinR
700425ef5f
Index sMapHealLocations
2021-11-17 15:52:04 -05:00
GriffinR
04cc923d6c
Handle optional arguments for warp commands, add WARP_ID_NONE
2021-11-16 10:53:00 -05:00
GriffinR
baeacbe2f1
Clean up pokenav general menus, organize pokenav graphics
2021-11-12 17:08:12 -05:00
GriffinR
9a0618afc3
Add COPYWIN constants
2021-11-03 15:29:18 -04:00
GriffinR
fdaf436960
Add font id constants
2021-10-30 19:54:15 -04:00
GriffinR
d951d7c363
Use tag constants in region_map.c
2021-08-11 09:31:20 -04:00
GriffinR
a274cc6a76
Merge branch 'master' into flatten_sprite_pos
2021-07-12 01:39:28 -04:00
PikalaxALT
810ca5f8ff
Flatten pos fields in struct Sprite
2021-07-07 09:11:52 -04:00
GriffinR
fe89a4d147
Label remaining region_map symbols
2021-07-02 00:52:36 -04:00
ExpoSeed
b6b0062bd6
Change map header flags to use a bitfield
2021-06-13 17:02:06 -05:00
GriffinR
b71b10623b
Add palette selection constants
2021-02-24 11:03:51 -05:00
GriffinR
3f9037d63a
Use ARRAY_COUNT in InitBgsFromTemplates
2021-01-19 04:14:07 -05:00
GriffinR
81d95b9325
Use BUGFIX for some inline fixes
2020-12-12 23:30:51 -05:00
PokeCodec
28ef2fb774
Switch to button macros
2020-09-04 21:11:55 -04:00
GriffinR
9d7a11d9c0
Clarify Underwater125 bug comment
2020-09-01 03:39:44 -04:00
GriffinR
f5495d1220
Give proper names to underwater maps
2020-09-01 03:03:14 -04:00
GriffinR
e129d04b93
Merge branch 'master' into doc-overworld
2020-07-15 00:40:47 -04:00
GriffinR
06025e887f
Allow flag/var counts to be updated alongside values
2020-06-24 17:00:19 -04:00
GriffinR
18d57a3802
Document some overworld and field effects
2020-06-23 15:48:53 -04:00
Sierraffinity
74edaed426
Begin item_menu.c cleanup
2020-06-10 13:07:42 -07:00
GriffinR
8d9e39e6d1
Sync map types with pokefirered
2020-04-28 19:59:08 -05:00
GriffinR
ecd4824f67
Index heal location data, use better names
2020-04-28 19:59:08 -05:00
GriffinR
b1d26e10a8
Sync map header property names with pokefirered
2020-04-28 19:59:08 -05:00
GriffinR
8e4b987699
Revert more porymap-breaking changes
2020-03-18 03:22:07 -04:00