BADIM-PC\Vadim
f8af6390ab
This code makes assumption that get_script_config(tic)->singleComment is 3 chars long #478
2017-12-22 11:48:14 +03:00
BADIM-PC\Vadim
6a19f59b9d
#341 added pin button to synchronize banks between editors
2017-12-21 12:51:34 +03:00
BADIM-PC\Vadim
1a31f4e762
#473 fixed timer
2017-12-21 11:41:25 +03:00
BADIM-PC\Vadim
67d5ad4860
#477 api keywords moved to TIC module
2017-12-21 10:40:56 +03:00
BADIM-PC\Vadim
1280a1291a
#477 script config moved to TIC module
2017-12-21 10:28:14 +03:00
BADIM-PC\Vadim
b26eb6bd1c
#477 added block string [[ string ]] highlight
2017-12-21 09:09:45 +03:00
BADIM-PC\Vadim
63c0c77ea5
#477 fixed wrong highlight, when word nested api or keyword
2017-12-21 08:44:50 +03:00
BADIM-PC\Vadim
71c7144aa5
perf opt
...
don't draw invisible chars in the Code Editor
2017-12-21 00:10:44 +03:00
BADIM-PC\Vadim
838f676569
added JS and Moon syntax
2017-12-20 23:39:21 +03:00
BADIM-PC\Vadim
77158e1b6f
no message
2017-12-20 23:20:11 +03:00
BADIM-PC\Vadim
d5035caf47
added api and keywords syntax
2017-12-20 23:14:41 +03:00
BADIM-PC\Vadim
354c0a4701
numbers parsing optimisation
2017-12-20 22:59:45 +03:00
BADIM-PC\Vadim
b4b002464d
digit syntax works
...
detects 0x 0X .5 5e8
2017-12-20 22:46:08 +03:00
BADIM-PC\Vadim
e449656d57
single comment work
2017-12-20 22:06:43 +03:00
BADIM-PC\Vadim
d77aa85d4e
string block works
2017-12-20 21:57:29 +03:00
BADIM-PC\Vadim
0e35b78508
no message
2017-12-20 21:23:59 +03:00
BADIM-PC\Vadim
a235f62277
block comment works
2017-12-20 21:15:44 +03:00
BADIM-PC\Vadim
169877976e
single comments works
2017-12-20 20:53:19 +03:00
BADIM-PC\Vadim
9c43614612
reset bank indexes when cart is changed
2017-12-20 15:16:42 +03:00
BADIM-PC\Vadim
2eacc2bf34
Please, add "cartidge reset" api call #473
2017-12-20 15:07:35 +03:00
BADIM-PC\Vadim
0e997f5d33
Impossible to exit infinite while loop #197
...
fixed in JS
2017-12-20 14:42:34 +03:00
BADIM-PC\Vadim
a60099a587
#474
...
removed (s32) radius conversion
2017-12-20 13:58:44 +03:00
BADIM-PC\Vadim
6c6fa6cc8e
Speedup api_circle, api_tri. #474
...
it crashed when you try to draw circle with y<0
2017-12-20 10:10:30 +03:00
Vadim Grigoruk
46eb6f7a9a
Merge pull request #474 from jahodfra/circle3
...
Speedup api_circle, api_tri.
2017-12-20 10:06:09 +03:00
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
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
BADIM-PC\Vadim
f7de8f0d61
.50 version
2017-11-24 14:26:48 +03:00
Seppi
d7dbadff25
Removing last param from duktape to remove gcc warnings
2017-10-24 01:00:34 -05:00
Seppi
eae56d0188
adding the return status to fsOpenSystemPath so that gcc doesn't throw warnings
2017-10-24 01:00:05 -05:00
BADIM-PC\Vadim
112cbe5ebd
.47 build
2017-10-20 13:18:53 +03:00
BADIM-PC\Vadim
24828a9bc8
#303
2017-10-20 12:52:54 +03:00
BADIM-PC\Vadim
ca5f2a105c
no message
2017-10-20 12:25:05 +03:00
BADIM-PC\Vadim
99f1a912a6
no message
2017-10-20 11:48:04 +03:00
BADIM-PC\Vadim
e311fa42a8
removed system color func
2017-10-20 10:37:30 +03:00
BADIM-PC\Vadim
d529493685
no message
2017-10-20 10:32:31 +03:00
BADIM-PC\Vadim
fe0b2a44b5
no message
2017-10-20 10:31:38 +03:00
BADIM-PC\Vadim
280828548e
no message
2017-10-20 10:16:38 +03:00
BADIM-PC\Vadim
bf93beb4c4
no message
2017-10-20 09:58:35 +03:00
BADIM-PC\Vadim
9480723418
no message
2017-10-20 09:36:54 +03:00
Vadim Grigoruk
2f99f85d34
Merge pull request #342 from death/bounds-checking
...
better bounds checking for memcpy, memset
2017-10-17 21:49:32 +03:00
Matheus Lessa
dfa500f366
just that small micro-optimisation suggested
2017-10-17 15:48:25 -02:00
death
48f61d7b80
better bounds checking for memcpy, memset
2017-10-17 07:00:45 +03:00
Matheus Lessa
73c6a00346
added command '-code-watch <code.lua>' to not only inject code from file, but also reload it on window gained focus sdl event
2017-10-16 16:22:25 -02:00
Matheus Lessa
0e38df48e3
Merge remote-tracking branch 'upstream/tic_0.47.0' into tic_0.47.0
2017-10-16 15:34:36 -02:00
BADIM-PC\Vadim
2e09116513
btn() always returns number #339
2017-10-16 10:26:07 +03:00