Commit Graph

264 Commits

Author SHA1 Message Date
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