{"push_id":2747660069,"size":19,"distinct_size":0,"ref":"refs/heads/master","head":"4bebc3d6dbbf0e297e04aa8188835a8fb49c66d5","before":"b8552f46afb4afec1f7903e458e91898258c8e48","commits":[{"sha":"784433266505413f62fb2af0515dc91fcfe9a8a4","author":{"name":"Albeleon","email":"ade4c42d47196006b02c898251521ee1e6b6ef59@gmail.com"},"message":"Implement \"ToneBlit for individual elements\", Fix sprite flash with tone.\n\nToneBlit is very heavy performance-wise, which forced us to use two different ways to implement tintscreen in our screen:\n  - 1st method: \"ToneBlit for individual elements (tiles, background, weather, sprites, etc.) when they're drawn\": when tintscreen remains static it was more efficient, but slower when the tone screen gradually changes. This method allows us to fix a Sprite flash bug (a sprite flash shouldn't be tinted by the screen tone; i.e. a white flash with a dark tintscreen should stay white).\n  - 2nd method: \"After all the drawables are drawn, ToneBlit to the screen\": it's used during battles and when a tintscreen gradually changes, in this last case to improve performance.\n\nThe ideal solution would be using the 1st method to fix the flash bug. To implement it:\n - Sprite: We invert the positions of ToneBlit and BlendBlit. This way the flash color will have priority and not be tinted in the 1st method.\n - Spriteset_Map: Now in all the cases it uses the 1st method, so the code that allows the 2nd method is deleted.\n - Spriteset_Battle: We change from the 2nd method to the 1st one. We set the tone for the background and the battler sprites.\n - Background: We include the option of setting and getting a tone, and then draw it.\n - Screen: We eliminate the tone functions since no other class uses them.","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/784433266505413f62fb2af0515dc91fcfe9a8a4"},{"sha":"b2268d7898bdafd4da204834bac09f6fc560553e","author":{"name":"Albeleon","email":"ade4c42d47196006b02c898251521ee1e6b6ef59@gmail.com"},"message":"Improve Bitmap::ToneBlit performance.\n\nIn order to make ToneBlit more efficient we need to make a few changes, some of them reducing readability to gain the minimal performance:\n - We create a different \"for\" depending of whether it should ignore \"alpha checking\" or not, instead of inside the for, and reduces branches inside.\n - We cache the pitch() value to avoid having to calculate the function inside each for and do a division operation with sizeof().\n - We combine the check of each \"for\" by cache the value beforehand (limit_width, limit_height).\n - In case both saturation and color operations are done, we create a unique branch where they share the same for avoid having to do the iteration twice.\n - We use uint16_t for the index in the \"for\".\n - To increase readability after so many duplicates and branches, we create static inline saturation_tone and color_tone which changes a pixel's color with those parameters. By being inline instead of a function, it improves performance.","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/b2268d7898bdafd4da204834bac09f6fc560553e"},{"sha":"c1357c7c80cb3277988e2327a86cc9db211a084b","author":{"name":"Albeleon","email":"ade4c42d47196006b02c898251521ee1e6b6ef59@gmail.com"},"message":"Correcting some flash issues (fix for #1371 4.13):\n - Game_Character flashes were limited to 128 no matter what the actual value was. An attribute \"flash_alpha\" has been added to account for this, and when the flash is set and invoked in its subclasses (Event, Vehicle, Player) we use that attribute.\n - Battle_Animation \"flash_length\" has been changed from 5 to 12, because the way it was before it was almost unnoticeable in comparison with RPG_RT.\n - Battle_Animation and Game_Interpreter_Map: The translation of the flash values [0,31] with \"<< 3\" operation meant the flash value for each part would be [0, 248]. With \"x * 255 / 31\", the values are [0, 255].","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/c1357c7c80cb3277988e2327a86cc9db211a084b"},{"sha":"6a3c6ebebb04bca748859bad523f7e5deda8e43d","author":{"name":"Albeleon","email":"ade4c42d47196006b02c898251521ee1e6b6ef59@gmail.com"},"message":"Blit Weather images without showing the transparent pixels:\n\nThe reason why they were printed was because Weather uses ToneBlit over itself, which the way bitmap.cpp deals with means it shouldn't skip pixels with alpha 0. To solve it, we add to ToneBlit an optional input bool \"check_alpha\" (default false), which will check that parameter even if \"&src == this\". We apply it to the rain and snow (check_alpha = true).","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/6a3c6ebebb04bca748859bad523f7e5deda8e43d"},{"sha":"a93a2cb00e2058d09e36d0e6e9037b5c63020d4f","author":{"name":"Carsten Teibes","email":"34c6fceca75e456f25e7e99531e2425c6c1de443@f4ke.de"},"message":"Only do out-of-bounds checks for fixed-size images\nFixes #1333, Related: #1223","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/a93a2cb00e2058d09e36d0e6e9037b5c63020d4f"},{"sha":"f433b42fd2358972e02638b986635fb5cdff561b","author":{"name":"Carsten Teibes","email":"34c6fceca75e456f25e7e99531e2425c6c1de443@f4ke.de"},"message":"Implement flying enemies in Battle (Fixes #1220)","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/f433b42fd2358972e02638b986635fb5cdff561b"},{"sha":"1f6a0acafbcfc4ac761ab88463d5143ae87b745e","author":{"name":"Carsten Teibes","email":"34c6fceca75e456f25e7e99531e2425c6c1de443@f4ke.de"},"message":"Reformat some comments","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/1f6a0acafbcfc4ac761ab88463d5143ae87b745e"},{"sha":"41ce022006a657ca3cb05e0e8abe734f62b2d3a4","author":{"name":"Carsten Teibes","email":"34c6fceca75e456f25e7e99531e2425c6c1de443@f4ke.de"},"message":"Update doxygen config and fix some doxygen warnings","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/41ce022006a657ca3cb05e0e8abe734f62b2d3a4"},{"sha":"80faea4da30d45dfc4a2cdabb26b365090390124","author":{"name":"Carsten Teibes","email":"34c6fceca75e456f25e7e99531e2425c6c1de443@f4ke.de"},"message":"Ignore other transitions when setting attributes\nResolves a warning about missing enumeration values in switch statement.","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/80faea4da30d45dfc4a2cdabb26b365090390124"},{"sha":"8d193bf2c51fd28af4670a1b5ae861bf9086d86b","author":{"name":"Carsten Teibes","email":"34c6fceca75e456f25e7e99531e2425c6c1de443@f4ke.de"},"message":"Do not fall-through on automatic battler placement","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/8d193bf2c51fd28af4670a1b5ae861bf9086d86b"},{"sha":"fb14595ba60d5cfceaa6c87c88b31aa702a4bbc4","author":{"name":"Carsten Teibes","email":"34c6fceca75e456f25e7e99531e2425c6c1de443@f4ke.de"},"message":"Resolve an integer comparison warning","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/fb14595ba60d5cfceaa6c87c88b31aa702a4bbc4"},{"sha":"31fd8d1a871d1645e95c349ed14dbc55620aa8d2","author":{"name":"Brian Saydak","email":"fffe6a54a74bebc432bedba0a3b5c851935016ea@saydak.de"},"message":"Update AndroidManifest.xml\n\nBump SDK Version. Probably overlooked this occurence.","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/31fd8d1a871d1645e95c349ed14dbc55620aa8d2"},{"sha":"d73c23ebab74e9b8ba544aa3d63ef849da9526a8","author":{"name":"Carsten Teibes","email":"34c6fceca75e456f25e7e99531e2425c6c1de443@f4ke.de"},"message":"Resolve warnings in \"Release\" mode (no assertions)","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/d73c23ebab74e9b8ba544aa3d63ef849da9526a8"},{"sha":"249f2059911980db02f8cb7b4453cb98f75dcedc","author":{"name":"Carsten Teibes","email":"34c6fceca75e456f25e7e99531e2425c6c1de443@f4ke.de"},"message":"Merge pull request #1396 from Brianum/patch-1\n\nUpdate AndroidManifest.xml","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/249f2059911980db02f8cb7b4453cb98f75dcedc"},{"sha":"ad1c5bebb877a489554b0e93b04285daf7fdc958","author":{"name":"Ghabry","email":"c6669d97d029bfefe94391838a801c544c2a16a7@mastergk.de"},"message":"BattleTest: Filter garbage data inserted in the equipment by the editor","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/ad1c5bebb877a489554b0e93b04285daf7fdc958"},{"sha":"6e4d549c9c8dc9d67c0c578ab0ace73afea313ed","author":{"name":"Francisco de la Peña","email":"f35d74c6329fb62741a37206a7cb776a72c8e32d@fran.cr"},"message":"Fix missing background on battle test quit in emscripten\nalso, improve Win9x emulation with a proper message ;)","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/6e4d549c9c8dc9d67c0c578ab0ace73afea313ed"},{"sha":"d71d981c3dece138c00cfe9b16f4a3aad9f8d3fe","author":{"name":"Gabriel","email":"c6669d97d029bfefe94391838a801c544c2a16a7@mastergk.de"},"message":"Merge pull request #1400 from fdelapena/battle_test_exit\n\nFix missing background on battle test quit in emscripten","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/d71d981c3dece138c00cfe9b16f4a3aad9f8d3fe"},{"sha":"baff0862ef161bf1926b73ce48946a1415140c94","author":{"name":"Gabriel","email":"c6669d97d029bfefe94391838a801c544c2a16a7@mastergk.de"},"message":"Merge pull request #1399 from carstene1ns/misc\n\nMisc stuff (maintenance mostly)","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/baff0862ef161bf1926b73ce48946a1415140c94"},{"sha":"4bebc3d6dbbf0e297e04aa8188835a8fb49c66d5","author":{"name":"Carsten Teibes","email":"34c6fceca75e456f25e7e99531e2425c6c1de443@f4ke.de"},"message":"Merge pull request #1380 from Albeleon/flashtone\n\nToneBlit performance and Method Implementation, Sprite Flashes, other fixes","distinct":false,"url":"https://api.github.com/repos/carstene1ns/easyrpg-player/commits/4bebc3d6dbbf0e297e04aa8188835a8fb49c66d5"}]}
{"actor":{"display_login":"carstene1ns"}}