Commit Graph

83 Commits

Author SHA1 Message Date
Eduardo Quezada 8cab1b7094 Fixed braces style 2024-01-18 17:07:17 -03:00
Eduardo Quezada af210da972 Solved a bunch of -Wall errors on modern 2023-09-20 19:01:08 -03:00
GriffinR d5d46bb438 More DISPLAY_WIDTH/HEIGHT constant usage 2023-08-10 01:42:38 -04:00
Eduardo Quezada f8c0f91c66 Using RGB color constants where appropiate 2023-07-31 15:33:14 -04:00
GriffinR 14f7e49099 Add some missing palette macro use 2023-05-25 15:09:16 -04:00
GriffinR 0cc10a1ada Merge branch 'master' of https://github.com/pret/pokeemerald into ui-standardize 2023-01-18 11:07:12 -05:00
tustin2121 5c55e44173 More diagrams
- Diagramed all subsprite tables in the code base. There's a LOT in the slot machine code.
2022-09-17 14:34:20 -04:00
Eduardo Quezada 65108c3192 Cleaned trailing whitespace 2022-09-11 14:14:49 -04: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
Eduardo Quezada 2e1bf0d965 OamData mosaic FALSE 2022-07-29 21:27:39 -04:00
Eduardo Quezada 01558ff8f3 Struct pointers star standarizing 2022-07-29 11:15:33 -04:00
GriffinR 1ca1bff81c Merge branch 'master' of https://github.com/GriffinRichards/pokeemerald into doc-arg 2022-06-03 15:43:21 -04:00
GriffinR 34438e6bc4 Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
sphericalice d03756dfd2 Use the TRY_FREE_AND_SET_NULL macro where appropriate 2022-06-03 15:42:53 +01:00
BlackShark 75a44fdd79 use more true & false constants 2022-05-27 02:18:52 +02:00
hondew 08bf2587ce Fix typos 2022-02-20 17:47:24 -05:00
hondew 39fc1cd414 Switch to 'symbol' nomenclature 2022-02-20 17:02:37 -05:00
hondew 26e87eed0a Address comments 2022-02-20 15:32:32 -05:00
hondew a578fa5e2b Minor fixes 2022-02-20 12:06:29 -05:00
hondew 50cb504d4c Remove stuff 2022-02-20 10:15:07 -05:00
Abaresk c39b0ff6d7 Document slot machine more (unabridged) 2022-02-20 10:09:49 -05:00
GriffinR aba5264260 RGB macro use in slot_machine 2021-12-28 17:46:05 -05:00
GriffinR 5d9c31a610 Label slot machine ids, fix GetPriceReduction 2021-11-16 15:43:52 -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 42d2fefe02 Merge branch 'master' into tag-none 2021-09-24 10:17:34 -04:00
GriffinR f8f7617946 Add TAG_NONE 2021-09-14 13:14:14 -04:00
LOuroboros 554210c5e3 Removed trailing spaces in the most relevant files
Command used for the job:
egrep -rl ' $' --include *.c --include *.h --include  *.s --include  *.inc --include  *.txt *  | xargs sed -i 's/\s\+$//g'

Credits to Grant Murphy from Stack Overflow.
2021-08-24 19:59:32 -03:00
PikalaxALT 810ca5f8ff Flatten pos fields in struct Sprite 2021-07-07 09:11:52 -04:00
GriffinR aad090e154 Document TV 2021-04-26 12:35:35 -04:00
Kurausukun 3e725272fc standardize "grey" to "gray" 2021-04-09 22:39:34 -04:00
GriffinR b71b10623b Add palette selection constants 2021-02-24 11:03:51 -05:00
GriffinR a5852d57d1 Use TASK_NONE constant 2021-02-24 11:03:25 -05:00
aaaaaa123456789 bacc831aa9 Re-apply joypad macros (minus merge conflicts) 2020-11-02 22:02:39 -03:00
aaaaaa123456789 7dc95a0103 Undo PokeCodec's PRs
This commit undoes most of PokeCodec's PRs after the debate in chat. Some
harmless or completely superseded PRs have been left alone, as there is not
much benefit in attempting to undo them.

Reverts #1104, #1108, #1115, #1118, #1119, #1124, #1126, #1127, #1132, #1136,
#1137, #1139, #1140, #1144, #1148, #1149, #1150, #1153, #1155, #1177, #1179,
#1180, #1181, #1182 and #1183.
2020-09-13 06:30:55 -03:00
PokeCodec 28ef2fb774 Switch to button macros 2020-09-04 21:11:55 -04:00
PokeCodec e8f2298498 Fix Typos and capitalization 2020-09-04 19:49:53 -04:00
GriffinR 3014241179 Give songs meaningful english names 2020-08-20 19:06:14 -04:00
GriffinR 5eecaf92ba Merge branch 'master' into doc-slotmachine 2020-07-28 17:41:34 -04:00
GriffinR 1f4813bfd2 Document slot machine funcs 2020-07-28 17:38:05 -04:00
GriffinR e52ffacc25 Clean up slot machine data doc 2020-07-28 15:28:16 -04:00
GriffinR b22709ee3d More slot machine data documentation 2020-07-28 14:29:44 -04:00
GriffinR 36a4764a78 Document some slot machine data 2020-07-26 02:15:59 -04:00
PokeCodec c5aa91741b Change signedness and add casts to avoid implicit conversion warnings 2020-07-24 22:18:57 -04:00
Michael Panzlaff 3264cf697f fix aggressive loop optimizations
Previously, aggressive loop optimizations with a new compiler were not
possible due to undefined behaviour at end of arrays.

A macro "UBFIX" is added to allow ifdefs for fixes which resolve
undefined behavior. For example newer GCC versions will detect various
bugs in the original game code and will otherwise not compile with -Werror.
2020-07-05 18:09:59 +02:00
hondew cfc47e642f Clean up slot drawing
Fix typos
2020-05-24 08:24:20 -05:00
hondew 26a197847a Rename tag offset functions
Fix typo
2020-05-24 08:24:20 -05:00
GriffinR 689acd3613 Move slot machine data to src 2020-02-09 14:11:50 -06:00
GriffinR 9a6c2c25d0 Add some capacity constants 2020-01-26 09:42:55 -06:00