Commit Graph

549 Commits

Author SHA1 Message Date
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
BADIM-PC\Vadim
e3ad17f609 no message 2017-11-30 13:10:20 +03:00
BADIM-PC\Vadim
f578428381 no message 2017-11-30 12:21:34 +03:00
BADIM-PC\Vadim
f39c7290d4 Merge branch 'pr_425_tiny_fixes' 2017-11-30 09:20:53 +03:00
Vadim Grigoruk
761e2a4be9 Merge pull request #425 from jahodfra/api_blit
Optimize api_blit inner loop.
2017-11-30 09:19:57 +03:00
BADIM-PC\Vadim
7d259c7d9e no message 2017-11-30 09:12:34 +03:00
František Jahoda
f9247f1fcb Optimize api_blit inner loop.
Function takes half of the clock time.
2017-11-29 22:56:45 +01:00
BADIM-PC\Vadim
0de8eb418d .50.1 build 2017-11-28 09:33:01 +03:00
BADIM-PC\Vadim
3e183219ab Allow to load a map of tiles of any length, not only 32kb #412 2017-11-28 09:16:52 +03:00
BADIM-PC\Vadim
3e79600b0d Zoom tool doesn't have help text #419 2017-11-28 09:10:51 +03:00
BADIM-PC\Vadim
769f5c4b0a "tic80 -fullscreen" command line needed #418 2017-11-28 09:05:34 +03:00
BADIM-PC\Vadim
505e71e9f6 tic80 0.5 prerelease crashes with ctrl+s or save #417 2017-11-27 20:46:32 +03:00
BADIM-PC\Vadim
627122c4b6 tic80 0.5 prerelease crashes with ctrl+s or save #417 2017-11-27 20:43:03 +03:00
BADIM-PC\Vadim
0f6132d137 restored 'dofile' function 2017-11-27 19:38:10 +03:00