forked from DizzyEggg/pokeemerald
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Community PR] Integrate merrp's lighting branch #5288
Open
AsparagusEduardo
wants to merge
168
commits into
rh-hideout:upcoming
Choose a base branch
from
AsparagusEduardo:_RHH/pr/upcoming/lighting-expansion-v2
base: upcoming
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,543
−606
Open
Changes from all commits
Commits
Show all changes
168 commits
Select commit
Hold shift + click to select a range
5045958
OW windows now light up at night.
aarant 1277493
Allowed map headers to specify light palettes.
aarant 73234e0
Changed Route 104 windows palette.
aarant 3a7c2e3
Updated Petalburg tileset lights.
aarant 2055a56
Added Slateport light palettes.
aarant 56b9764
Added default light blending color.
aarant 4a04282
Added Mauville light palettes.
aarant b7d9b77
Added Fortree/weather institute lights.
aarant 806b4ac
Added Lilycove light palettes.
aarant 6806898
Fixed TOD & weather fadeout.
aarant cd9276c
Refactored light metatile caching.
aarant 1ebf94a
Added more Lilycove window lights.
aarant 787e196
Added Dewford window lights.
aarant 5e3fcaa
Added Fallarbor window lights.
aarant dbd86a3
Added Mossdeep window lights.
aarant 898a09f
Added Sootopolis lights.
aarant 2f488d6
Added Pacifidlog window lights.
aarant 3c52e9b
Experimental TOD tint.
aarant e11d050
Added weighted palette average.
aarant 3bd46b5
Fixed bug in MapHasNaturalLight for ocean routes.
aarant 22c429d
Added inter-time-of-day blending.
aarant def9d39
Testing evening tint.
aarant a80de91
Fixed bugged interaction between reflections & light sprites.
aarant 0d8467c
Slight palette update optimization.
aarant 93ab445
Testing combined averaging function.
aarant ae4f596
Averaging function can now tint.
aarant 73d060b
Added glowing colors for some follower pokemon (Ampharos).
aarant da345c1
Optimized time-of-day & native palette blending.
aarant 4bb7abb
Fixed palette fades during intermediate times of day.
aarant 96d0f7e
Fixed bug in TOD blending.
aarant 741e880
Increased TOD update interval.
aarant a4680ed
Minor TOD documentation.
aarant dbc4cb8
Refactored BlendSettings storage inside gPaletteFade.
aarant 4454a63
Fixed bug where TOD was updated too frequently.
aarant 68e43a8
Updated time-of-day-based evolution methods.
aarant a160012
Added shadow toggle to weather structure.
aarant 0cc6c7b
Made BlendPalettesFine global.
aarant c0d6692
Fixed weather gamma blending.
aarant 65e6163
Changed time blending to work with FadeScreen.
aarant 7b59eab
Changed fog to be compatible with transparent shadows.
aarant c3fdaca
Fixed sandstorm shadow color.
aarant 37d0e17
Fixed shadow hot springs bug.
aarant 4a5dbcb
Testing updating sprite palettes with weather + time.
aarant 147e101
More testing of fog blending.
aarant 39ba328
Optimized follower palette loading.
aarant 74a9088
Fixed rain fade-in.
aarant 7d8e63a
Reverted 42d5fe07f and fixed rain/thunder gamma.
aarant c9845c6
Fixed mirage tower time blending.
aarant c20db94
Fixed BlendPalettes not incrementing the destination buffer.
aarant bfe0c58
Merge branch 'romhack' into lighting
aarant 385c94d
Merge branch 'romhack' into lighting
aarant 8760839
Merge branch 'romhack' into lighting
aarant ba2d394
Merge branch 'romhack' into lighting
aarant 9db8d5f
Merge branch 'romhack' into lighting
aarant f3cb354
Merge branch 'romhack' into lighting
aarant b64eb7e
Modified palette tint behavior.
aarant 913afab
Merge branch 'romhack' into lighting
aarant c06ee71
Merge branch 'romhack' into lighting
aarant a20d127
Merge branch 'romhack' into lighting
aarant cbb417a
Fixed morning/evening tint.
aarant 79b05ca
Merge branch 'romhack' into lighting
aarant 7588eec
Merge branch 'romhack' into lighting
aarant 1834e48
Merge branch 'romhack' into lighting
aarant bd3c9ed
Fixed warp arrow palette bug. Optimized weather palette loading.
aarant e7cbec7
Implemented light colors/palettes for primary tilesets.
aarant 9de9442
Merge branch 'romhack' into lighting
aarant 5034d14
Merge branch 'romhack' into lighting
aarant e1c56d7
Merge branch 'romhack-no-lighting' into lighting
aarant 11c7eee
Restored lighting & shadows code removed from follower branch.
aarant ced9fcd
Merge branch 'romhack' into lighting
aarant d3d758e
Merge branch 'romhack' into lighting
aarant 609a304
Merge branch 'romhack' into lighting
aarant 5e3c48a
Fixed bug where `lighting` branch wouldn't build on modern. Credit: J…
aarant dd07688
Merge branch 'romhack' into lighting
aarant ab6b148
Merge branch 'romhack' into lighting
aarant d23b8e9
Merge branch 'romhack' into lighting
aarant 07333b5
Merge branch 'romhack' into lighting
aarant 4e20e02
Merge branch 'romhack' into lighting
aarant 6e621d8
Added day/night palette swapping.
aarant ea6c1a9
Optimized UpdateTimeOfDay.
aarant bc2b50c
Added LoadPaletteFast function.
aarant 2d376d8
Removed shadows in puddles or sand piles. Optimized shadow tile loading.
aarant 68497d8
Merge branch 'romhack' into lighting
aarant f94a92f
Fixed shadow brightness during battle transition.
aarant 513d1b1
Merge branch 'romhack' into lighting
aarant 2ecddee
Merge branch 'romhack' into lighting
aarant a05adff
Merge branch 'romhack' into lighting
aarant 1ad46e5
Merge branch 'romhack' into lighting
aarant 4534dcf
Merge branch 'romhack' into lighting
aarant 19df355
Merge branch 'romhack' into lighting
aarant b46a8b1
Added time-of-day related follower messages.
aarant c82510e
Gamma shift now ignores special sprite palette tags (lights, emotes).
aarant b5cf90a
Fixed shadow brightness during orb effect.
aarant f576556
Merge branch 'romhack' into lighting
aarant 9862b0f
Merge branch 'romhack' into lighting
aarant 6d79b6d
Merge branch 'romhack' into lighting
aarant a697315
Merge branch 'romhack' into lighting
aarant d731485
Fixed shadows appearing above freshly spawned object events.
aarant 9fe3a50
Optimized time of day update.
aarant 090dc6b
Merge branch 'romhack' into lighting
aarant 7fca787
Fixed time of day optimization.
aarant 8e436e3
Fixed fadescreen interaction with weather on outdoor maps.
aarant b4cc3ca
Tileset swapPalettes can now use palette 12 for swapping.
aarant 671fa68
Merge branch 'romhack' into lighting
aarant 8aef50c
Fixed leftover Slateport light metatiles.
aarant 0b1c81a
Merge branch 'romhack' into lighting
aarant 891b432
Fixed shadow tile tag.
aarant 4654913
Fixed gamma shift not blending the right palettes.
aarant c704591
Fixed field move mon palette at night.
aarant f775976
Improved shadows for Lavaridge, escalator, Escape warps.
aarant d6bac98
Fixed shadow palette during contests.
aarant e54c18f
Merge branch 'followers' into lighting
aarant 3a86c8b
Merge branch 'followers' into lighting
aarant e32232f
Merge branch 'followers' into lighting
aarant 22c1d94
Merge branch 'followers' into lighting
aarant 5cae740
Merge branch 'followers' into lighting
aarant 782889d
Fixed potentially unaligned tileset palettes. Credit to SBird
aarant 4bee03b
Merge branch 'followers' into lighting
aarant 2ddd292
Merge branch 'followers' into lighting
aarant 6fe4ce0
Added lighting to Sootopolis lava.
aarant 9fd7542
Fixed nighttime WEATHER_DOWNPOUR gamma shift.
aarant 3b3e45c
Fixed shadow positioning bug in some battle facilities.
aarant f83970f
Merge branch 'followers' into lighting
aarant 07995f8
Fixed some decoration icons being darkened at night in outdoor shops.
aarant 6b2e49f
Updated Ever Grande window lights.
aarant 35b4d2f
Merge branch 'followers' into lighting
aarant ad9a77f
Merge branch 'followers' into lighting
aarant 095994d
Fixed gamma shift for special sprite palette tags (lights, emotes).
aarant 159faf8
Fixed tall grass field effect discoloration in fog.
aarant 996f431
Merge branch 'followers' into lighting
aarant 9179428
Improved light color blending logic.
aarant 7631ced
Merge branch 'followers' into lighting
aarant c1953e5
Improved OutOfCenterPartyHeal interaction with followers.
aarant d800d71
Merge branch 'followers' into lighting
aarant a63242d
Merge branch 'followers' into lighting
aarant 4689f0b
Fixes for `make modern`.
aarant b1bdd3e
Fixed Deoxys rock palette with lighting.
aarant 05a6147
Fixed `showmonpic` palette being affected by time of day and weather.…
aarant 72c81db
Merge branch 'followers' into lighting
aarant 7cf2d1e
Merge branch 'followers' into lighting
aarant f1892cf
Merge branch 'followers' into lighting
aarant ad0ae99
Merge branch 'followers' into lighting
aarant 7939894
fix: object event palettes can be loaded during fadeout
aarant 05bf039
Merge branch 'followers' into lighting
aarant 9b68434
fix: add mart light sprite to Route102
aarant ed98b0b
fix: added shadows on direct corner map
aarant f82b401
Merge branch 'followers' into lighting
aarant d410ca6
Merge branch 'followers' into lighting
aarant e899218
fix: MSG_COND_TIME_OF_DAY now checks whether map is outdoors and not …
aarant 0745eaf
fix: Uninitialized value used in `LightenSpritePaletteInFog`
aarant 0ae5cb1
meta: cleaned up spacing of lighting code
aarant ca75542
meta: ignored refactoring change
aarant 29b2a75
Merge branch 'followers' into lighting
aarant ad969c9
Merge branch 'lighting' of https://github.com/aarant/pokeemerald into…
Greenphx9 fc3a700
Fix up some auto merge stuff
Greenphx9 396a390
Merge branch '_RHH/upcoming' into _RHH/pr/upcoming/lighting-expansion-v2
AsparagusEduardo d80bf06
Removed unused fields
AsparagusEduardo aa6d540
Code style adjustments
AsparagusEduardo fc1212b
Merge branch '_RHH/upcoming' into _RHH/pr/upcoming/lighting-expansion-v2
AsparagusEduardo fb360b1
DNS tinting uses fake RTC's rate
AsparagusEduardo 757ed70
Secondary map popup window updates time while active
AsparagusEduardo 56859e3
Using TIME instead of TIME_OF_DAY
AsparagusEduardo 53414cb
Form changes and evolutions happen based on fake RTC
AsparagusEduardo 18485ca
Time blending uses OW_TIMES_OF_DAY
AsparagusEduardo d1056f8
Merge branch '_RHH/upcoming' into _RHH/pr/upcoming/lighting-expansion-v2
AsparagusEduardo f913f28
Add config for shadow intensity
AsparagusEduardo 1d95578
Merge branch '_RHH/upcoming' into _RHH/pr/upcoming/lighting-expansion-v2
AsparagusEduardo e68cdfe
Fixed missing call to UpdateTimeOfDay in GetTimeOfDay for inside buil…
AsparagusEduardo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
qqqq{ttttt|qqqqqqq66{tttzq2®2®2®2®2xttttttttr{™š››œ2tž2|qqqNKLOq6rr¡£2¼2£2£2¥JHIMyy0123rr¡»233»2¥PQRS2289:;Æ4Æ4rr©ª2£2¼2¬2XYZ[Ö5×5`ABCÆ4Æ4rr±²³³´µ`abcæ5ç50 1"1044rrº2¨2¨2¨2¹2Š20 1"10000 1"1000rr¨2˜2¨2˜2Œ2’20 1"1000 1"1000rr¨ B¨ BŠ00 1!11111!1!1111rr‘2‘‘2‘’200(1)1)1)1)1)1)1)1)1)1)1rrª1«1«1«1«1¬1000000000000rr²³³³³´0000 0 0 | ||
qqqq{ttttt|qqqqqqq66{tttzq2®2®2®2®2xttttttttr{™š››œ2tž2|qqqNKLOq6rr¡£2¼2£2£2¥JHIMyy0123rr¡»2£2£2»2¥PQRS2289:;Æ4Æ4rr©ª2£2¼2¬2XYZ[Ö5×5`ABCÆ4Æ4rr±²³³´µ`abcæ5ç50 1"1044rrº2¨2¨2¨2¹2Š20 1"10000 1"1000rr¨2˜2¨2˜2Œ2’20 1"1000 1"1000rr¨ B¨ BŠ00 1!11111!1!1111rr‘2‘‘2‘’200(1)1)1)1)1)1)1)1)1)1)1rrª1«1«1«1«1¬1000000000000rr²³³³³´0000 0 0 | ||
00 0 0 | ||
00rr¸¹º³»¼0000rrÀÁÂÅß000Æ4rrÈ1É1ÊÍ˧000 !" !"Æ4rr00000000000040000Æ4m000000000000000Æ4Æ4qqrm0000000000000044qqllllllllllllllll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AsparagusEduardo marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AsparagusEduardo marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AsparagusEduardo marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AsparagusEduardo marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AsparagusEduardo marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AsparagusEduardo marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AsparagusEduardo marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AsparagusEduardo marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AsparagusEduardo marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no reason we should be changing bin files.