Commit Graph

357 Commits

Author SHA1 Message Date
BADIM-PC\Vadim 7e6eaccda6 no message 2018-01-24 14:01:19 +03:00
BADIM-PC\Vadim ee5830b613 no message 2018-01-24 12:20:05 +03:00
BADIM-PC\Vadim 6cc4560cdc Use WebAssembly instead ASM.JS #515 2018-01-22 16:35:19 +03:00
BADIM-PC\Vadim e0cc606d2c Special functions should have common formatting #503 2018-01-22 14:28:14 +03:00
BADIM-PC\Vadim 607515947c SYNC label appears everywhere if your computer is slow #511 2018-01-22 12:59:34 +03:00
BADIM-PC\Vadim cb7206db34 dev prefix for .70 2018-01-22 12:37:18 +03:00
BADIM-PC\Vadim 102458869b dev prefix for .70 2018-01-22 12:34:21 +03:00
Vadim Grigoruk a3d6768d6b
Merge pull request #513 from technomancy/ctrl-page
Use ctrl-pageup/pagedown to cycle thru modes.
2018-01-22 11:04:32 +03:00
Vadim Grigoruk 25fe45b914
Merge pull request #510 from frenetic/fix-flip-than-move
Fix flipping a selection then trying to move it
2018-01-22 11:01:47 +03:00
Phil Hagelberg d8303a0a2b Use ctrl-pageup/pagedown to cycle thru modes. 2018-01-21 21:49:46 -08:00
BADIM-PC\Vadim eeed981c6c web player works faster if monitor refresh rate > 60Hz #512 2018-01-21 17:28:28 +03:00
Guilherme Medeiros fe39b5d6c7 Fix flipping a selection than trying to move it
After flipping a selection, when we try to move it, TIC-80 was getting the previous seleciton back and then moving it.
2018-01-21 00:00:03 -03:00
BADIM-PC\Vadim bd4905e8c3 no message 2018-01-16 11:25:53 +03:00
BADIM-PC\Vadim b567be4da5 .60.3 hotfix 2018-01-13 15:16:03 +03:00
BADIM-PC\Vadim 0f7d0f9882 Keywords get highlighted incorrectly #505 2018-01-12 08:21:03 +03:00
BADIM-PC\Vadim 2126e3ce9e 60.1 release 2018-01-11 14:57:33 +03:00
BADIM-PC\Vadim e58286276c some textri() optimisations 2018-01-11 14:28:46 +03:00
BADIM-PC\Vadim 87343a388f #477 keyword/api not valid if we have dot before 2018-01-11 13:46:23 +03:00
BADIM-PC\Vadim db77e93370 #497 USE_VSYNC added to the config (true by default) 2018-01-11 13:29:44 +03:00
BADIM-PC\Vadim ea362a12e0 #197 wait 1 sec before exit infinite loop 2018-01-11 12:41:44 +03:00
BADIM-PC\Vadim 329a6bad0b #477 keyword/api should have space before 2018-01-11 11:58:15 +03:00
BADIM-PC\Vadim c33e345eac moonscript moved to 3rd-party 2018-01-11 07:57:14 +03:00
BADIM-PC\Vadim dca6c03300 SDL_net moved to 3rd-party 2018-01-10 17:36:49 +03:00
BADIM-PC\Vadim 94e949e85e BlipBuf moved to 3rd-party 2018-01-10 17:11:22 +03:00
BADIM-PC\Vadim ce8d603594 update to SDL 2.0.7 #502
moving Duktape to 3rd-party
2018-01-10 14:45:53 +03:00
BADIM-PC\Vadim 00d35e7387 update to SDL 2.0.7 #502
moving ext libs to 3rd-party
2018-01-10 12:30:19 +03:00
BADIM-PC\Vadim b3c3b401d1 Game Menu -> Gamepad Config configures only 2 gamepads #494 2018-01-10 11:54:54 +03:00
BADIM-PC\Vadim 53ccf8fba0 "keymap" command configures only 2 gamepads #496
removed KEYMAP command
2018-01-10 11:18:55 +03:00
BADIM-PC\Vadim 4188b92432 Merge branch 'SDL_207' 2018-01-09 16:43:34 +03:00
BADIM-PC\Vadim 5e2dba394e moved local 'includes' to 3rd-party 2018-01-09 14:37:38 +03:00
BADIM-PC\Vadim ab4d0cd9cb mingw, Android fixes 2018-01-08 15:35:39 +03:00
BADIM-PC\Vadim 2a76fbd705 misprint: SDL_SCANCODE_RGUI mapped twice, SDL_SCANCODE_LGUI not mapped #499 2018-01-08 10:44:08 +03:00
Vadim Grigoruk dc1aa89fd3
Merge pull request #498 from jahodfra/hide_mouse
Don't show mouse if we don't use it for input.
2018-01-08 10:41:06 +03:00
Guilherme Medeiros 6b092a55f3 Rotate sprite selection
Adds selection rotation.
Solves issue https://github.com/nesbox/TIC-80/issues/103
2018-01-06 17:08:11 -03:00
František Jahoda efadc1fe65 Don't show mouse if we don't use it for input. 2018-01-05 23:22:23 +01:00
BADIM-PC\Vadim bcd37adbb9 Revert "Possible issue with sfx: Bass tones sounds high #438"
This reverts commit 2bb479031e.
2018-01-05 21:54:30 +03:00
BADIM-PC\Vadim 394b3139b5 Show info if your game has problems with sync #497
refresh rate is 59 on UWP for some reason
2018-01-05 12:56:19 +03:00
BADIM-PC\Vadim 9c20b3a2f3 Show info if your game has problems with sync #497
showSync changed from bool to frames counter
2018-01-05 12:34:14 +03:00
BADIM-PC\Vadim b9310a496b Show info if your game has problems with sync #497
removed minDelay, and soundblit() calls after screen is rendered
2018-01-05 01:56:37 +03:00
BADIM-PC\Vadim cee75df3bb Show info if your game has problems with sync #497
added dropped frames counter
2018-01-05 01:32:55 +03:00
BADIM-PC\Vadim d93d1f539b Show info if your game has problems with sync #497
there is no sense to use delay less then 10ms
2018-01-05 00:38:59 +03:00
BADIM-PC\Vadim 8f3e01a528 Show info if your game has problems with sync #497 2018-01-04 17:09:27 +03:00
BADIM-PC\Vadim 4f0b6dab37 start audio playing just before first queuing 2018-01-04 15:46:21 +03:00
BADIM-PC\Vadim 37b5e246b0 VSYNC fixes for 100Hz displays 2018-01-04 15:22:33 +03:00
Guilherme Medeiros f6902aefac Enable horizontal or vertical flipping of a sprite selection
Solves part of the issue https://github.com/nesbox/TIC-80/issues/103
2018-01-03 19:24:18 -03:00
BADIM-PC\Vadim 424f47d8d4 Don't use ESC and F1-F12 buttons in keyboard input #492
changed key codes
2018-01-03 18:33:32 +03:00
BADIM-PC\Vadim 1f7823ea6e Don't use ESC and F1-F12 buttons in keyboard input #492 2018-01-03 15:52:12 +03:00
BADIM-PC\Vadim 1e09c653ec TIC-80 crashes when moving mouse over keys in sfx mode #493 2018-01-03 14:41:19 +03:00
BADIM-PC\Vadim d4131c0bb5 Games get desynced #491 2017-12-31 13:27:54 +03:00
BADIM-PC\Vadim c9fb9cbe73 Games get desynced #491
removed timer using with VSYNC together
2017-12-31 13:15:05 +03:00
BADIM-PC\Vadim d4948ebb46 Revert "removed VSYNC using, games get desynced when using it with timer"
This reverts commit 9d722bfb87.
2017-12-31 12:43:00 +03:00
BADIM-PC\Vadim 9d722bfb87 removed VSYNC using, games get desynced when using it with timer 2017-12-31 12:41:55 +03:00
BADIM-PC\Vadim 8af72bbff9 key/keyp: Right shift doesn't work #488
added right shift/ctrl/alt handling
2017-12-31 00:55:42 +03:00
BADIM-PC\Vadim d20232d673 #484 small fix 2017-12-29 19:20:37 +03:00
BADIM-PC\Vadim 16ba85425d #484 key api always should return bool value 2017-12-29 19:11:52 +03:00
BADIM-PC\Vadim 95724eeccb key() / keyp() works in JS 2017-12-29 18:47:03 +03:00
BADIM-PC\Vadim 7e9cf5648f no message 2017-12-29 18:22:21 +03:00
BADIM-PC\Vadim ca0a7c7167 added key() / keyp() LUA api 2017-12-29 17:59:07 +03:00
BADIM-PC\Vadim c3a57954aa no message 2017-12-29 15:44:42 +03:00
BADIM-PC\Vadim acbacb574e no message 2017-12-29 15:25:29 +03:00
BADIM-PC\Vadim db261ff93f Add support to crtl or shift to indent/unindent anywhere in the line #485
small fix, because history() saves cursor position too
2017-12-28 22:44:07 +03:00
Guilherme Medeiros ea9f478076 Add support to crtl or shift to indent/unindent anywhere in the line
Fixes issue https://github.com/nesbox/TIC-80/issues/192
2017-12-28 15:21:38 -03:00
BADIM-PC\Vadim 2bb479031e Possible issue with sfx: Bass tones sounds high #438 2017-12-27 16:34:59 +03:00
BADIM-PC\Vadim 8daa4c7f38 Use mouse and gamepad simultaneously #484 2017-12-27 15:47:33 +03:00
BADIM-PC\Vadim 9786c6dcc5 Move persistent memory outside of the RAM #483 2017-12-27 12:51:13 +03:00
BADIM-PC\Vadim bac3a9c3b6 some sfx processing minor fixes 2017-12-26 00:15:13 +03:00
BADIM-PC\Vadim a2ed1a0453 some UI improvements in Music Editor 2017-12-25 23:57:58 +03:00
BADIM-PC\Vadim 7756f3c365 .60 beta build 2017-12-24 12:36:58 +03:00
BADIM-PC\Vadim 86f6c78fc4 #60 show soft keyboard when when screen touched or mode switched to console/code 2017-12-24 12:24:41 +03:00
BADIM-PC\Vadim abd3665c54 no message 2017-12-24 12:23:19 +03:00
BADIM-PC\Vadim 5667058369 HTML version should run on 60 FPS only, because some video cards have 100 Hz refresh rate 2017-12-23 19:26:46 +03:00
BADIM-PC\Vadim 1dc31e3c67 using SDL_ConvertAudio instead manual sound samples conversion 2017-12-23 19:17:43 +03:00
BADIM-PC\Vadim 59fe65f133 emscripten compilation fix 2017-12-23 19:16:29 +03:00
BADIM-PC\Vadim 913d4759cf #477 script detection changes 2017-12-23 18:35:16 +03:00
BADIM-PC\Vadim 6bb605e640 #479 moved parse logic to lang config 2017-12-23 18:19:51 +03:00
BADIM-PC\Vadim f78397ffea TIC as single exe without dlls 2017-12-22 18:26:03 +03:00
BADIM-PC\Vadim de7557e4f9 #341 native export has been restored and now it supports compressing 2017-12-22 16:13:34 +03:00
BADIM-PC\Vadim ef502b2496 #477 outline func moved to TIC module 2017-12-22 14:20:15 +03:00
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