pokeemerald/include
Martin Griffin 76f02774ea Detect memory leaks in tests
Can use KNOWN_LEAKING; to specify that a test is known to leak memory.

The location information is available in regular game builds. Thus it is
available for use in debugging leaks in-game too. In the future we
should consider replacing it with NULL if NDEBUG is defined. This is not
currently possible because the tests do not force NDEBUG to be
undefined.
2023-04-20 20:35:22 +01:00
..
config Add two EV-related configs (#2825) 2023-04-20 10:05:32 -04:00
constants Add two EV-related configs (#2825) 2023-04-20 10:05:32 -04:00
gba Detect memory leaks in tests 2023-04-20 20:35:22 +01:00
agb_flash.h Clean up the last extern functions 2019-03-02 03:18:08 -05:00
AgbRfu_LinkManager.h Add LINK_MANAGER field comments from SDK 2021-07-11 16:48:59 -04:00
apprentice.h Renaming Script Contexts 2022-08-15 15:18:12 -04:00
bard_music.h Review changes 2022-10-27 11:26:09 -03:00
battle_ai_main.h AI knows Party mons 2022-08-23 11:58:17 +02:00
battle_ai_switch_items.h Battle Item Refactor (#2902) 2023-04-14 19:25:50 +01:00
battle_ai_util.h rename IsBattlerAIControlled 2023-04-10 11:36:17 -04:00
battle_anim.h Merge remote-tracking branch 'pret/master' into RHH/sync/pret_20230214 2023-02-15 14:11:03 -03:00
battle_arena.h Add some missing battle arena constants 2022-08-11 12:02:56 -04:00
battle_bg.h Organized conffig files into their own folder and cleaned up 2022-11-14 11:03:49 -03:00
battle_controllers.h Merge remote-tracking branch 'pret/master' into RHH/pr/pretMerge_20220902 2022-09-02 23:24:08 -04:00
battle_debug.h battle_config.h tweaks 2020-12-23 13:16:01 -03:00
battle_dome.h Document Battle Dome scripts and some battle_dome.c 2019-12-20 16:53:33 -05:00
battle_factory_screen.h Factory done 2018-11-11 16:44:27 +01:00
battle_factory.h Add bugfix for Battle Factory trainer IVs 2022-03-30 09:37:03 -04:00
battle_gfx_sfx_util.h Make transform not break 2023-01-31 12:41:07 +01:00
battle_interface.h Remove unused battle funcs 2023-04-10 14:39:14 +02:00
battle_main.h initial commit 2023-04-06 20:56:44 +02:00
battle_message.h Fix bugs related to Trainer Slide messages (#2699) 2023-02-27 09:11:25 +01:00
battle_pike.h Document Battle Pie 2018-11-12 14:36:31 +01:00
battle_pyramid_bag.h Start misc battle documentation 2021-10-08 16:39:46 -04:00
battle_pyramid.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
battle_records.h identify and name battle records things 2018-05-01 15:33:13 +02:00
battle_script_commands.h MOVE_REVIVAL_BLESSING Effect (#2883) 2023-04-12 01:14:25 +01:00
battle_scripts.h Merge branch 'upcoming' of https://github.com/rh-hideout/pokeemerald-expansion into gen_9_move_effects_batch1 2023-03-23 06:27:09 -03:00
battle_setup.h Merge tag 'pretmaster' into BE_pretmerge2 2022-07-15 12:58:46 -04:00
battle_tent.h Use macros for summary windows 2019-03-03 16:50:51 -05:00
battle_tower.h Label remaining subs in battle_tower.c 2020-12-24 16:18:47 -05:00
battle_transition_frontier.h Drop battle transition 'phase' terminology 2021-10-25 10:20:48 -04:00
battle_transition.h Continue battle_transition documenting 2021-10-29 11:24:36 -04:00
battle_tv.h decompile and document battle tv 2018-02-27 20:40:09 +01:00
battle_util2.h Document some single-remaining symbols 2021-09-24 17:14:20 -04:00
battle_util.h Fix buggy pokemon anims with Illusion (#2639) 2023-02-19 12:05:56 +01:00
battle_z_move.h End of file 2023-02-28 00:09:43 -03:00
battle.h Battle Item Refactor (#2902) 2023-04-14 19:25:50 +01:00
berry_blender.h Finish documenting berry blender 2020-08-24 17:06:55 -04:00
berry_crush.h Document Berry Crush 2021-03-18 15:18:23 -04:00
berry_fix_program.h
berry_powder.h Decompile berry_powder.c 2019-03-24 14:50:16 -05:00
berry_tag_screen.h
berry.h Document Berry Crush 2021-03-18 15:18:23 -04:00
bike.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
braille_puzzles.h Document the regi* code more 2019-02-15 18:24:55 -05:00
cable_club.h Document remaining overworld 2021-04-06 16:55:43 -04:00
clear_save_data_menu.h
clock.h clean up files 2018-02-28 13:07:58 +01:00
coins.h Give/Take to Add/Remove for silent script macros 2020-01-12 23:24:52 -05:00
confetti_util.h Specify confetti util name 2020-06-18 18:14:30 -04:00
config.h [intro] refactor expansion intro 2023-02-09 23:12:29 +01:00
contest_ai.h Port contest ai from pokeruby 2018-08-15 11:43:57 +02:00
contest_effect.h Gen 4+ moves get contest effects (#319) 2020-04-13 15:05:10 +02:00
contest_link.h Document misc contest 2020-08-16 02:50:35 -04:00
contest_painting.h Document contest painting image processing effects 2019-11-10 16:37:26 -06:00
contest_util.h Misc contest cleanup 2021-04-22 15:51:04 -04:00
contest.h Revert "Removed Unown hack" 2023-01-07 11:39:56 -03:00
coord_event_weather.h
credits.h Document some credits 2021-03-29 08:52:40 -04:00
crt0.h Update modern linker script 2021-11-04 17:28:41 -04:00
data.h [trainer_parties] implement fully customizable npc trainer parties 2023-03-25 20:00:04 +01:00
daycare.h Document record mixing mail swap 2021-10-24 15:49:19 -04:00
debug.h Organized conffig files into their own folder and cleaned up 2022-11-14 11:03:49 -03:00
decompress.h Multiple changes 2022-08-25 03:42:41 -04:00
decoration_inventory.h Document decoration.c 2020-03-06 09:47:20 +00:00
decoration.h Document decoration.c 2020-03-06 09:47:20 +00:00
dewford_trend.h Document Dewford Trend 2021-03-31 16:08:42 -04:00
digit_obj_util.h Document some generic argument names 2022-05-31 14:34:25 -04:00
diploma.h
dodrio_berry_picking.h Document dodrio berry picking 2021-03-03 14:26:05 -05:00
dynamic_placeholder_text_util.h Clean up files and add entries to charmap 2018-07-24 21:18:23 -07:00
easy_chat.h Merge remote-tracking branch 'pret/master' into RHH/pr/sync/pretsync20230413 2023-04-13 17:05:48 -04:00
egg_hatch.h Clear up misleading egg step name 2020-05-27 16:41:23 -04:00
ereader_helpers.h Clean up some trainer hill 2022-03-31 12:54:07 -04:00
ereader_screen.h Document some mystery gift 2021-10-14 15:10:41 -04:00
event_data.h Merge branch 'master' of https://github.com/pret/pokeemerald into tx_debug_system 2021-11-18 15:13:04 +01:00
event_object_lock.h Fix some object lock names 2021-05-04 01:21:50 -04:00
event_object_movement.h Use constants for overworld object palette slots 2022-09-27 20:16:48 -04:00
event_scripts.h Document battle tower TV show 2022-06-14 09:37:39 -04:00
evolution_graphics.h Document some generic argument names 2022-05-31 14:34:25 -04:00
evolution_scene.h Struct pointers star standarizing 2022-07-29 11:15:33 -04:00
expansion_intro.h [intro] refactor expansion intro 2023-02-09 23:12:29 +01:00
faraway_island.h Struct pointers star standarizing 2022-07-29 11:15:33 -04:00
field_camera.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
field_control_avatar.h Treat map data as const 2023-03-08 12:00:30 -05:00
field_door.h Label animated doors 2020-01-26 09:40:35 -06:00
field_effect_helpers.h Struct pointers star standarizing 2022-07-29 11:15:33 -04:00
field_effect.h Added missing labels in headers 2022-09-12 21:14:15 -03:00
field_message_box.h Document cable_club.c 2020-06-06 16:10:03 -04:00
field_player_avatar.h Added missing labels in headers 2022-09-12 21:14:15 -03:00
field_poison.h Document field_poison 2019-10-06 20:04:30 -04:00
field_screen_effect.h Finish updating macro comments 2021-11-18 01:47:58 -05:00
field_special_scene.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
field_specials.h Merge master into ObjEvent rename and prune accidental inclusions 2020-01-08 05:43:06 -05:00
field_tasks.h decompile field tasks 2018-05-19 18:02:43 +02:00
field_weather.h Merge branch 'master' into thunder 2022-10-18 04:37:56 +00:00
fieldmap.h Treat map data as const 2023-03-08 12:00:30 -05:00
fldeff_misc.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
fldeff.h Implemented Honey's Sweet Scent functionality 2022-10-16 20:20:13 -03:00
fonts.h Convert fonts.s to C 2021-10-31 01:44:18 -04:00
frontier_pass.h Document and decompile more of frontier pass. 2019-01-26 14:50:24 +01:00
frontier_util.h Merge master into ObjEvent rename 2019-11-25 20:00:04 -05:00
global.berry.h Documenting padding in structs used by Saveblocks 2022-12-17 22:55:43 -03:00
global.fieldmap.h Treat map data as const 2023-03-08 12:00:30 -05:00
global.h Detect memory leaks in tests 2023-04-20 20:35:22 +01:00
global.tv.h Documenting padding in structs used by Saveblocks 2022-12-17 22:55:43 -03:00
graphics.h Add PLA evo items 2023-04-10 10:47:31 +05:30
gym_leader_rematch.h Start misc battle documentation 2021-10-08 16:39:46 -04:00
hall_of_fame.h Document confetti 2020-06-17 03:39:03 -04:00
heal_location.h port larger heal location changes from poke ruby pr 2018-08-10 10:45:15 -04:00
image_processing_effects.h Match ConvertImageProcessingToGBA 2019-11-12 17:25:02 +01:00
international_string_util.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
intro_credits_graphics.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
intro.h [intro] refactor expansion intro 2023-02-09 23:12:29 +01:00
item_icon.h Strangest match 2021-02-28 10:06:07 -06:00
item_menu_icons.h Document item menu 2021-08-10 22:13:02 -04:00
item_menu.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
item_use.h Battle Item Refactor (#2902) 2023-04-14 19:25:50 +01:00
item.h Battle Item Refactor (#2902) 2023-04-14 19:25:50 +01:00
landmark.h
libgcnmultiboot.h Typo Fix 2020-07-17 15:49:46 -04:00
librfu.h Removed trailing spaces in the most relevant files 2021-08-24 19:59:32 -03:00
lilycove_lady.h Document Contest Lady TV Show 2021-04-02 01:49:38 -04:00
link_rfu.h Merge remote-tracking branch 'pret/master' into RHH/sync/pret_20230214 2023-02-15 14:11:03 -03:00
link.h Document wonder news 2022-11-22 02:17:03 -05:00
list_menu.h Add list menu cursor constants 2022-11-09 15:16:46 -05:00
load_save.h [doc] fix misnamed dma <--> aslr 2022-09-07 14:37:03 +02:00
lottery_corner.h
m4a.h Up to sub_81446DC 2018-12-31 19:39:41 -06:00
mail.h Revert "Removed Unown hack" 2023-01-07 11:39:56 -03:00
main_menu.h removed unnecessary script, cheat start now with national dex, reverted accidental type hin removal, changed indentation 2022-09-02 12:10:11 +02:00
main.h Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
map_name_popup.h Decompile map_name_popup 2018-04-09 12:52:28 +05:30
match_call.h Document match_call.c 2021-04-01 03:29:15 -04:00
math_util.h Document math_util.c 2020-05-24 08:28:02 -05:00
mauville_old_man.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
menu_helpers.h Document some generic argument names 2022-05-31 14:34:25 -04:00
menu_specialized.h Use window constants for move relearner 2022-09-29 12:10:10 -04:00
menu.h Added missing labels in headers 2022-09-12 21:14:15 -03:00
metatile_behavior.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
mini_printf.h [debug] add support for mgba printf 2022-09-06 13:40:31 +02:00
minigame_countdown.h Sync minigame_countdown 2020-04-08 17:23:32 -04:00
mirage_tower.h Document mirage_tower.c. (Combine fldeff_groundshake.c and fossil_specials.c) 2018-12-25 11:46:35 -06:00
mon_markings.h Rename mon markings struct 2021-02-28 17:11:46 -06:00
money.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
move_relearner.h Rename move tutor to move relearner 2019-03-04 20:56:39 -05:00
multiboot_pokemon_colosseum.h Almost finish decompiling intro 2018-02-15 16:54:34 -06:00
multiboot.h
mystery_event_menu.h
mystery_event_msg.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
mystery_event_script.h Finish updating macro comments 2021-11-18 01:47:58 -05:00
mystery_gift_client.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
mystery_gift_link.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
mystery_gift_menu.h Use window constants in mystery_gift_menu 2022-09-29 15:48:19 -04:00
mystery_gift_server.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
mystery_gift_view.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
mystery_gift.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
naming_screen.h Start documenting naming screen 2020-08-07 02:00:41 -04:00
new_game.h Found a debug system for pokemon contests 2019-04-02 21:51:21 -04:00
option_menu.h
overworld.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
palette_util.h Document files with a few remaining symbols 2021-11-02 18:06:06 -04:00
palette.h Merge branch 'master' of https://github.com/pret/pokeemerald into ui-standardize 2023-01-18 11:07:12 -05:00
party_menu.h Battle Item Refactor (#2902) 2023-04-14 19:25:50 +01:00
pc_screen_effect.h Decompile a bit of pokemon storarage system 2018-08-12 16:40:31 +02:00
play_time.h
player_pc.h Document player pc 2021-08-02 13:58:40 -04:00
pokeball.h Merge remote-tracking branch 'RHH/battle_engine' into RHH_masterMerge 2022-07-22 22:57:02 -04:00
pokeblock.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
pokedex_area_region_map.h Document some single-remaining symbols 2021-09-24 17:14:20 -04:00
pokedex_area_screen.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
pokedex_cry_screen.h Struct pointers star standarizing 2022-07-29 11:15:33 -04:00
pokedex.h Organized conffig files into their own folder and cleaned up 2022-11-14 11:03:49 -03:00
pokemon_animation.h Merge branch 'battle_engine' of github.com:rh-hideout/pokeemerald-expansion into master_sync 2021-06-07 18:05:52 -07:00
pokemon_debug.h added option to view changes for front/back sprite picCoords and elevation live 2021-12-13 22:31:37 +01:00
pokemon_icon.h Added LoadMonIconPalettePersonality to load gender specific pokemon icon palettes 2022-09-26 12:40:30 +02:00
pokemon_jump.h Document pokemon jump 2021-02-26 17:26:39 -05:00
pokemon_size_record.h
pokemon_storage_system.h Merge branch 'tx_debug_system' of https://github.com/TheXaman/pokeemerald into tx_debug_system_rhh 2022-08-29 19:13:11 +02:00
pokemon_summary_screen.h Merge remote-tracking branch 'pret/master' into RHH/pr/pretmerge_20220925 2022-10-01 17:32:32 -03:00
pokemon.h Removed ITEM_HAS_EFFECT (#2840) 2023-03-23 10:02:32 +01:00
pokenav.h Cleaned trailing whitespace 2022-09-11 14:14:49 -04:00
random.h Clamp RandomPercentage to 0...100 2023-04-05 13:07:02 +01:00
rayquaza_scene.h Start documenting rayquaza_scene 2020-08-25 17:49:42 -04:00
record_mixing.h Document record mixing mail swap 2021-10-24 15:49:19 -04:00
recorded_battle.h Battle Item Refactor (#2902) 2023-04-14 19:25:50 +01:00
region_map.h Use window constants in region_map 2022-09-29 13:11:38 -04:00
reload_save.h Continue misc link documentation, rename reset_save_heap 2021-10-05 23:37:54 -04:00
reset_rtc_screen.h Fixed struct names 2021-12-28 14:48:57 -03:00
reshow_battle_screen.h Document battle_controller_player.c 2021-01-22 20:03:27 -05:00
roamer.h
rotating_gate.h Move HEAP_SIZE to malloc and use void instead of empty argument list 2018-10-14 20:00:14 +02:00
rotating_tile_puzzle.h Document rotating_tile_puzzle 2019-10-16 04:09:30 -04:00
roulette.h More roulette doc 2020-08-04 14:25:13 -04:00
rtc.h Decompile match_call.c 2019-01-02 19:46:15 -06:00
safari_zone.h
save_location.h Label GCN link flags field 2020-04-13 08:42:31 -04:00
save.h Sector security -> signature 2022-08-05 10:42:31 -04:00
scanline_effect.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
script_menu.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
script_movement.h Standardize Event Object to Object Event 2019-11-20 22:55:44 -05:00
script_pokemon_util.h Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-04-02 13:16:40 -07:00
script.h Moving documentation comments per request 2022-08-15 16:37:38 -04:00
secret_base.h Renaming Script Contexts 2022-08-15 15:18:12 -04:00
shop.h Clean up shop.c 2022-09-22 15:08:17 -04:00
siirtc.h Bugfixes from #591 2019-03-03 09:31:08 -06:00
slot_machine.h Rename tag offset functions 2020-05-24 08:24:20 -05:00
sound.h Review changes 2022-07-29 15:38:23 -04:00
start_menu.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
starter_choose.h Colorize and combine birch_bag/birch_grass 2023-01-12 15:22:23 -05:00
strings.h Fix TM reusability shortcomings (#2930) 2023-04-19 11:01:00 -04:00
task.h Use TASK_NONE constant 2021-02-24 11:03:25 -05:00
test_runner.h Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
text_window.h Document files with a few remaining symbols 2021-11-02 18:06:06 -04:00
tileset_anims.h Convert tilesets.s to C 2022-09-27 17:23:26 -04:00
tilesets.h Convert tilesets.s to C 2022-09-27 17:23:26 -04:00
time_events.h
title_screen.h Document intro, start intro_credits/credits 2021-03-28 23:13:56 -04:00
trade.h Updated term to modernFatefulEncounter 2023-02-11 22:36:42 -03:00
trader.h Document decoration.c 2020-03-06 09:47:20 +00:00
trainer_card.h Fix names and constant usage for union room classes 2022-08-23 12:44:07 -04:00
trainer_hill.h Added a constant for NPC trainer name length (#1712) 2022-07-25 22:59:13 -04:00
trainer_pokemon_sprites.h Merge branch 'battle_engine' of github.com:rh-hideout/pokeemerald-expansion into master_sync 2021-12-17 21:23:54 -08:00
trainer_see.h Rename 'hidden' Trainers/obj events to 'buried' 2021-02-14 19:25:23 +00:00
trig.h
tv.h Label slot machine ids, fix GetPriceReduction 2021-11-16 15:43:52 -05:00
union_room_battle.h Document union_room.c 2020-05-31 13:11:18 -04:00
union_room_chat.h Document union_room_chat.c 2020-06-02 18:35:00 -04:00
union_room_player_avatar.h Update argument names in link headers, link_rfu doc cleanup 2021-10-07 16:05:12 -04:00
union_room.h Cleaned trailing whitespace 2022-09-11 14:14:49 -04:00
util.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
walda_phrase.h Document walda_phrase 2021-09-26 17:01:39 -04:00
wallclock.h Begin porting/decompiling field_specials 2018-08-08 01:37:12 -07:00
wild_encounter.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
wonder_news.h Document wonder news 2022-11-22 02:17:03 -05:00