Commit Graph

262 Commits

Author SHA1 Message Date
Vadim Grigoruk 80695209a4
Merge pull request #464 from frenetic/enable-delete-canvas
Enable deleting a selection by pressing DEL on keyboard
2017-12-13 12:00:53 +03:00
Guilherme Medeiros 8112aae9e7 Enable deleting a selection by pressing DEL on keyboard
Currently, if you press DELETE the entire sprite is removed.
If you have a selection and press delete, everything is lost.
This commit checks if you have a selection. If so, it only removes the selected area.
2017-12-12 20:08:39 -03:00
BADIM-PC\Vadim c90b3ba171 Impossible to exit infinite while loop #197
review changes for 18aca45673 (r26209938)
2017-12-12 13:46:05 +03:00
BADIM-PC\Vadim 18aca45673 Impossible to exit infinite while loop #197 2017-12-12 12:50:39 +03:00
Vadim Grigoruk 67bfbf4729
Merge pull request #459 from jahodfra/api_blit2
Speed up of api_blit
2017-12-12 09:26:05 +03:00
BADIM-PC\Vadim 80dcda8c2a textri glitch. Textured triangle disappears. #458 2017-12-11 22:05:49 +03:00
BADIM-PC\Vadim b25ed2a188 Merge branch 'pr/456' 2017-12-11 13:08:50 +03:00
Vadim Grigoruk 4d1685bfe7
Merge pull request #456 from frenetic/remove_whitespaces_when_pasting_palette
Remove whitespaces when pasting a new palette
2017-12-11 12:49:11 +03:00
BADIM-PC\Vadim 2c8b10a0c2 some small fixes for #456 2017-12-11 12:46:52 +03:00
BADIM-PC\Vadim 9fd5484acc Merge branch '#341' 2017-12-11 12:21:08 +03:00
BADIM-PC\Vadim 7a6dba1f24 no message 2017-12-11 12:20:04 +03:00
BADIM-PC\Vadim b13fc33aed no message 2017-12-11 11:59:14 +03:00
BADIM-PC\Vadim 409564cdde no message 2017-12-11 11:44:46 +03:00
Guilherme Medeiros 67e6dc281f Remove whitespaces when pasting a new palette
Im trying to solve issue https://github.com/nesbox/TIC-80/issues/455.
When copying a hex palette from the web, it palette may contain spaces, tabs or carriage commands (\r or \n).
Pasting it on TIC-80 will not work, making the users life difficult (they have to fix the string in an editor).

This commit enables pasting hex palettes with blank spaces.
2017-12-10 15:00:12 -03:00
BADIM-PC\Vadim de236794b6 no message 2017-12-10 13:02:13 +03:00
BADIM-PC\Vadim 8f060245df no message 2017-12-10 12:55:45 +03:00
BADIM-PC\Vadim be7151386d no message 2017-12-10 12:12:09 +03:00
BADIM-PC\Vadim 694a016334 no message 2017-12-10 11:32:49 +03:00
František Jahoda b4f1afd474 Remove conditions from api_blit. 2017-12-08 23:54:38 +01:00
František Jahoda 2bb436eac6 Update two pixels at once. 2017-12-08 22:42:00 +01:00
BADIM-PC\Vadim 86a320e9ad Merge branch '#446' 2017-12-08 15:04:43 +03:00
BADIM-PC\Vadim 7a44b70b12 popup msg draws on top with animation 2017-12-08 15:03:59 +03:00
BADIM-PC\Vadim effcdbf485 added OVR to Sprite and Map editors 2017-12-08 13:54:01 +03:00
BADIM-PC\Vadim 2b406bce51 Pre-seed the random generator in the Lua environment #127 2017-12-07 17:45:29 +03:00
BADIM-PC\Vadim 31063a0818 command quit missing #430 2017-12-07 17:13:05 +03:00
BADIM-PC\Vadim fbd7203599 variable in the config to show/hide shadow #424 2017-12-07 17:03:22 +03:00
BADIM-PC\Vadim 3030b5bafa Switching to fullscreen #407 2017-12-07 16:42:06 +03:00
BADIM-PC\Vadim ec1cf454a5 no message 2017-12-07 16:02:03 +03:00
BADIM-PC\Vadim 295a530405 new command line option for pro version #416 2017-12-07 14:25:39 +03:00
BADIM-PC\Vadim 05eb6446d0 no message 2017-12-07 12:01:17 +03:00
BADIM-PC\Vadim 37d93c2808 DRAW_TILE_BODY breaks Windows build? #442 2017-12-06 10:35:43 +03:00
BADIM-PC\Vadim 19247d0e35 DRAW_TILE_BODY breaks Windows build? #442 2017-12-06 08:36:16 +03:00
Vadim Grigoruk 477dcb389d
Merge pull request #423 from jahodfra/drawtile2
Speedup drawTile 2.
2017-12-04 17:48:59 +03:00
BADIM-PC\Vadim c956d26d11 sync() raises "RangeError: invalid stack index 0" in JS #437 2017-12-04 10:42:26 +03:00
František Jahoda 96fe96dd00 Implement changes from overlap drawing. 2017-12-03 22:39:22 +01:00
František Jahoda 21312e2cd3 Minor styling changes. 2017-12-03 22:20:49 +01:00
František Jahoda 2af202e5ec Prettify macro 2017-12-03 22:20:49 +01:00
František Jahoda 0bc1022b67 Speed up drawTile.
Clip the tile in all orientations.
Speed up blitting for scale=1.
2017-12-03 22:20:49 +01:00
BADIM-PC\Vadim fce433d272 Merge branch 'overlap_mode_429' 2017-12-02 19:21:23 +03:00
BADIM-PC\Vadim 2d4a36d66c added vertical border scroll 2017-12-02 19:19:17 +03:00
BADIM-PC\Vadim 6cd9d17b9e no message 2017-12-01 13:01:48 +03:00
BADIM-PC\Vadim c0c90287b8 added getPixel 2017-12-01 11:25:07 +03:00
BADIM-PC\Vadim 096cd980df no message 2017-12-01 10:40:53 +03:00
BADIM-PC\Vadim 01669fcd89 no message 2017-12-01 09:40:06 +03:00
BADIM-PC\Vadim 05bad24852 no message 2017-11-30 16:50:21 +03:00
BADIM-PC\Vadim b46be919d4 Revert "added OVR palette"
This reverts commit 68a89c7421.
2017-11-30 16:42:06 +03:00
BADIM-PC\Vadim 983c31475d no message 2017-11-30 16:41:37 +03:00
BADIM-PC\Vadim 68a89c7421 added OVR palette 2017-11-30 16:23:37 +03:00
BADIM-PC\Vadim a2e97b018a no message 2017-11-30 15:51:52 +03:00
BADIM-PC\Vadim c69d36abb7 OVR works 2017-11-30 14:21:05 +03:00