Commit Graph

69 Commits

Author SHA1 Message Date
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
Sierraffinity ec92241d8f Fix REG_OFFSET_WININ/OUT mislabeling 2020-05-27 07:58:48 -05:00
Sierraffinity 42747663b5 Fix OAM region mislabeling 2020-05-27 07:58:48 -05:00
GriffinR 655910a16f Merge branch 'master' into fix-eventobj 2020-01-12 22:42:43 -05:00
GriffinR e736c2d2fd Document some easy chat specials 2020-01-12 19:39:30 -06:00
GriffinR 949509aade Merge branch 'master' into fix-eventobj 2019-12-18 13:16:38 -05:00
GriffinR 96ec5e1b84 Use fadescreen constants 2019-12-15 11:42:50 -05:00
GriffinR 6556b556dd Merge branch 'master' into fix-eventobj 2019-12-11 01:09:06 -05:00
GriffinR ed1ff0ad77 Document misc strings and text colors 2019-12-10 19:29:23 -06:00
GriffinR f559fa3fe2 Merge master into ObjEvent rename 2019-11-25 20:00:04 -05:00
GriffinR 82cb741d8b Standardize EVENT_OBJECT to OBJECT_EVENT 2019-11-20 23:12:51 -05:00
GriffinR ec3e86f1d2 Standardize Event Object to Object Event 2019-11-20 22:55:44 -05:00
GriffinR 4e6a69c297 WIP Document Apprentice 2019-11-19 11:36:38 -05:00
GriffinR fbc3eee1f2 Document Fossil Maniac and Berry Master route houses 2019-11-06 17:01:23 -06:00
GriffinR 973e6f9667 Document mauville_man.inc 2019-10-21 17:21:53 -05:00
GriffinR 9553ec1d28 Document mevent.inc 2019-10-07 10:34:12 -04:00
PikalaxALT cb528cb543 Merge pull request #821 from GriffinRichards/document-textinput
Document text input strings
2019-10-02 09:49:26 -04:00
GriffinR 53bc1bd0d1 Document text input strings 2019-09-30 00:09:29 -04:00
PikalaxALT 306ce048ad Move gflib srcs and headers to gflib subdir 2019-09-08 21:07:54 -04:00
GriffinR 5fb7ab05dd clean up 2019-08-21 17:06:55 -05:00
GriffinR d931ba9602 document remaining funcs 2019-08-21 17:06:55 -05:00
GriffinR 5d96a0cc97 minor fixes 2019-08-21 17:06:55 -05:00
Phlosioneer 50350cc2e1 Merge branch 'master' into contest-ai-cleanup 2019-04-07 20:20:22 -04:00
DizzyEggg b0223f691f Clean up data headers 2019-04-05 07:53:23 -05:00
Fontbane 9e74409bb2 Fix labels, label more scripts 2019-04-04 19:34:35 -05:00
Phlosioneer 1360b3a477 RGB Constants 2019-04-04 17:05:46 -04:00
PikalaxALT ade0183378 Document mystery_gift 2019-03-31 18:59:52 -04:00
Marcus Huderle d7a9fcb975 Cleanup mevent2 2019-03-24 18:29:00 -05:00
Marcus Huderle e6caf0ff10 Port mevent2.c from pokefirered 2019-03-24 18:29:00 -05:00
Phlosioneer 9848f84b9e Use constants for Oam .shape and .size fields
Also some general formatting fixes for constants.
2019-03-16 12:37:04 -05:00
Phlosioneer 9372731c3e Merge branch 'master' into main-menu-state-machine 2019-03-02 17:35:44 -05:00
Phlosioneer 3716da5430 Rename macro with correct name for pixel values 2019-03-02 17:25:39 -05:00
huderlem 3b04cfa437 Merge pull request #551 from Phlosioneer/multiplayer-stuff
Document overworld.c and link stuff in general
2019-03-01 08:43:55 -06:00
Marcus Huderle 4b9e93850c Document easy chat screen types 2019-02-27 12:55:29 -06:00
Phlosioneer b2c92ee8c5 Missed some fill values
Must have forgotten to check FillWindowPixelRect.
2019-02-26 22:45:39 -05:00
Phlosioneer 72bb0daccb Merge branch 'master' into main-menu-state-machine 2019-02-26 22:34:42 -05:00
Phlosioneer 3a44b090d1 Merge branch 'master' into multiplayer-stuff 2019-02-26 22:07:29 -05:00
Marcus Huderle 231355f84d Decompile easy_chat data 2019-02-26 14:50:02 -06:00
Marcus Huderle b60611c38e Finish decompiling easy_chat.c code 2019-02-26 14:50:02 -06:00
DizzyEggg 7742e28dad Easy chat nonmatchings fix
do {} while(0);
2019-02-26 09:15:20 -06:00
Marcus Huderle 7ea05431a5 Decompile more easy_chat.c 2019-02-25 14:11:31 -06:00
Marcus Huderle bb508ade64 Decompile more of easy_chat.c 2019-02-24 10:09:57 -06:00
Marcus Huderle f34903bc45 Decompile more easy_chat.c 2019-02-23 13:05:34 -06:00
Marcus Huderle d3f66a98ff Decompile more easy_chat 2019-02-22 11:46:05 -06:00
Phlosioneer eca329f9c5 Merge branch 'master' into multiplayer-stuff 2019-02-21 21:22:10 -05:00
Marcus Huderle b105d20d1e Decompile chunk of easy_chat.c 2019-02-21 17:46:14 -06:00
Phlosioneer 986d3d8b2f Finish and polish new_game.c
Only one function is left undocumented. I tried to go into the assembly
to at least name it, but it clears fields in the save block that aren't
even documented yet.
2019-02-15 03:40:57 -05:00
Phlosioneer f2f1b1978b Done documenting link code in overworld.c 2019-02-10 03:54:50 -05:00
Marcus Huderle d59f5a8e56 Misc overworld documentation 2018-12-27 16:52:13 -06:00
Marcus Huderle 170b6ef449 Decompile battle_intro.c (#444) 2018-12-12 23:18:25 -06:00