František Jahoda
2416c2e60f
Fix problem with circle of unit radius.
2017-12-19 22:47:02 +01:00
BADIM-PC\Vadim
2a50d66ecd
Silent note bug #449
2017-12-19 17:05:08 +03:00
BADIM-PC\Vadim
8a87df5a8b
"resume" command resets time() #476
2017-12-19 14:02:56 +03:00
František Jahoda
c64ee7e69c
Speedup api_circle, api_tri.
2017-12-18 22:44:22 +01:00
BADIM-PC\Vadim
ebb2e8646a
compilation warning
2017-12-18 16:53:30 +03:00
BADIM-PC\Vadim
a7b1035415
revert of #472 and #471
2017-12-18 16:48:32 +03:00
BADIM-PC\Vadim
e58547b9d4
Revert "Expand drawHLineDma loop."
...
This reverts commit 2da54945b6
.
2017-12-18 16:36:35 +03:00
BADIM-PC\Vadim
84de8534b3
Revert "Simplify loop."
...
This reverts commit aa1cc5ae2b
.
2017-12-18 16:36:27 +03:00
BADIM-PC\Vadim
ca0a6d1035
Revert "Use drawhline in api_tri."
...
This reverts commit 09c1743295
.
2017-12-18 16:35:53 +03:00
František Jahoda
09c1743295
Use drawhline in api_tri.
2017-12-17 23:04:38 +01:00
BADIM-PC\Vadim
78f0222bcc
BT Keyboard Focus On Android Version #60
2017-12-17 22:33:53 +03:00
BADIM-PC\Vadim
d2fe2adddb
#341
...
added mask parameter for sync()
2017-12-17 22:11:01 +03:00
BADIM-PC\Vadim
b35513b692
fixed textri() crash
2017-12-17 20:50:07 +03:00
BADIM-PC\Vadim
e5bc8f2741
Crash on TIC-80 Pro #470
2017-12-17 18:39:13 +03:00
František Jahoda
aa1cc5ae2b
Simplify loop.
2017-12-17 12:31:25 +01:00
František Jahoda
2da54945b6
Expand drawHLineDma loop.
2017-12-17 00:54:57 +01:00
František Jahoda
30d0a8aedb
Speedup api_circle.
2017-12-17 00:00:50 +01:00
tic
1d0fae0715
#469 fixed segmentation fault
2017-12-16 09:00:32 +03:00
tic
1fce190db2
#469 removed compilation warning
2017-12-16 08:49:52 +03:00
BADIM-PC\Vadim
c9ea8acb0b
#341
...
added one sync() call per frame limitation
2017-12-15 21:16:45 +03:00
BADIM-PC\Vadim
c20fa09c0f
changed params order for sync() api - section,bank,tocart
...
added 'pal' section to sync()
2017-12-15 16:01:51 +03:00
BADIM-PC\Vadim
f87414d050
bank id encoded directly to chunk
2017-12-15 15:35:41 +03:00
BADIM-PC\Vadim
2edc203062
load text cart format works
2017-12-15 15:13:31 +03:00
BADIM-PC\Vadim
8c6c9e2810
save project in text format works
2017-12-15 14:38:28 +03:00
BADIM-PC\Vadim
a2e59da716
check banks overflow
2017-12-15 12:00:33 +03:00
BADIM-PC\Vadim
f7f30d47dc
added banks saving to a .tic cart
2017-12-15 11:52:37 +03:00
BADIM-PC\Vadim
07616adaca
added banks loading from a .tic cart
2017-12-15 11:42:25 +03:00
BADIM-PC\Vadim
e210027e71
changed studio.editor struct indexing
2017-12-14 20:31:04 +03:00
BADIM-PC\Vadim
272f6af991
1 bank for non Pro build
2017-12-14 17:19:35 +03:00
BADIM-PC\Vadim
295dd90766
added separate editor per bank
2017-12-14 17:08:04 +03:00
BADIM-PC\Vadim
bb1f8053d0
first bank renamed to bank0
2017-12-14 15:37:05 +03:00
BADIM-PC\Vadim
83396664b5
removed some compilation warnings for mingw
2017-12-14 15:19:13 +03:00
BADIM-PC\Vadim
4f55ed7667
palette excluded from bank
2017-12-14 15:05:43 +03:00
BADIM-PC\Vadim
e8cb3599df
no message
2017-12-14 14:56:45 +03:00
BADIM-PC\Vadim
ebd40d5e74
code loads from all the banks on the game start
2017-12-14 14:53:47 +03:00
BADIM-PC\Vadim
2242873d88
no message
2017-12-14 14:40:06 +03:00
BADIM-PC\Vadim
d2daa0a653
code banks switching
2017-12-14 14:38:06 +03:00
BADIM-PC\Vadim
6e8a478ee9
lua/js sync impl
2017-12-14 11:50:50 +03:00
BADIM-PC\Vadim
62a64515ef
added sections/banks to SYNC api
2017-12-14 10:54:23 +03:00
BADIM-PC\Vadim
e956330af1
no message
2017-12-13 23:24:31 +03:00
BADIM-PC\Vadim
4da11f995d
added global methods to get bank data
2017-12-13 23:04:22 +03:00
BADIM-PC\Vadim
7f04a7963a
added destructors for modules
2017-12-13 21:14:03 +03:00
BADIM-PC\Vadim
16f9531484
temporary removed embed cart section and disabled native export
2017-12-13 20:25:40 +03:00
BADIM-PC\Vadim
b7a148a85e
no message
2017-12-13 20:14:32 +03:00
BADIM-PC\Vadim
65e27d0c6d
temporary removed embed cart section and disabled native export
2017-12-13 20:05:33 +03:00
BADIM-PC\Vadim
afd6fbc832
code and palette moved to the bank section
2017-12-13 19:54:00 +03:00
BADIM-PC\Vadim
3ad2ff4a6b
no message
2017-12-13 17:09:25 +03:00
BADIM-PC\Vadim
9c50e5a135
no message
2017-12-13 16:02:16 +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
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
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
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