Commit graph

65 commits

Author SHA1 Message Date
07da11fe40 Bugfix FS opening an invalid filepath 2023-02-26 16:56:32 +01:00
085e2c2947 Comment error 2023-02-25 09:31:44 +01:00
311b705fa9 Disable TCP client lib 2023-02-25 09:31:23 +01:00
96e1fb9223 Add basic (empty) TCP lib 2023-02-23 22:32:34 +01:00
Alessandro Proto
444652da12 Bugfix mouse events and cursor not being offset by border 2023-02-22 09:48:05 +01:00
aee3434b44 Revert "Bugfix width being offset by 1"
This reverts commit dd1834ad2b.
2023-02-20 20:16:25 +01:00
dd1834ad2b Bugfix width being offset by 1 2023-02-20 20:13:51 +01:00
e662e77fa5 Add gpu.clear 2023-02-19 21:38:11 +01:00
Alessandro Proto
ed66911489 Tweaked cursor size 2023-02-19 00:00:49 +01:00
Alessandro Proto
65cb15f6c8 Add support for underlined text in term 2023-02-18 23:49:21 +01:00
Alessandro Proto
3f9f036b49 Write the missing char U+FFFD when unable to render a char in term.write 2023-02-18 21:25:36 +01:00
Alessandro Proto
001ce2f626 Return nil if clipboard does not contain any text 2023-02-18 20:33:25 +01:00
Apache
03e0992328
add setClipboard and getClipboard to machine (#5) 2023-02-18 19:14:41 +01:00
Alessandro Proto
1dbbb23ff6 Catch unicode error to prevent state crash. 2023-02-18 18:09:00 +01:00
Alessandro Proto
38478b3359 Add sides arg to gpu.drawCircle 2023-02-18 11:38:25 +01:00
Alessandro Proto
e606dfee95 Cleanup 2023-02-17 19:22:24 +01:00
Alessandro Proto
0e5a4895fa Remove redundant file 2023-02-17 14:05:06 +01:00
Alessandro Proto
0a365f8b72 Update license header comment to reflect new repository url.
IDE got confused and broke something with the previous commit.
2023-02-17 13:19:10 +01:00
Alessandro Proto
03f82a6796 Revert "Update license header comment to reflect new repository url"
This reverts commit fffbb76a5e.
2023-02-17 13:15:56 +01:00
Alessandro Proto
fffbb76a5e Update license header comment to reflect new repository url 2023-02-17 13:11:04 +01:00
Alessandro Proto
9cc8377503 Added HQ audio channel.
Lowered sample rate to 16kHz to normal channels.
Arbitrary audio can only be played on the HQ channel
2023-02-16 21:49:33 +01:00
Alessandro Proto
8703733b91 Remove audio_end event.
Add audio_need event, emitted when the channel is ready to get more audio data
2023-02-16 21:29:12 +01:00
Alessandro Proto
32d5299a3f Add multiple audio channels (WIP) 2023-02-16 20:14:39 +01:00
Alessandro Proto
9907232af7 Added back volume arg 2023-02-16 19:12:50 +01:00
Alessandro Proto
9dd01041d0 Rename IPlugin to IComponent 2023-02-16 18:43:10 +01:00
Apache
2f701a6338
Add machine.title length checks (#4)
Setting an empty string resets the title, setting a string longer than 256 characters truncates it.
2023-02-16 14:37:13 +01:00
Alessandro Proto
f7591e0d35 Fix incomplete license on top of each file 2023-02-15 14:35:44 +01:00
Alessandro Proto
6cce546749 Add LICENSE to top of each source file 2023-02-15 14:26:04 +01:00
Alessandro Proto
dc51203d3e Add machine.vibrate to vibrate gamepad.
This location is temporary.
2023-02-15 13:23:38 +01:00
Alessandro Proto
8cdf2148ed Allow deletion of open files 2023-02-15 13:17:17 +01:00
Alessandro Proto
e3616e4ac6 Fix audio that was fucked up since the beginning 2023-02-14 21:05:15 +01:00
Alessandro Proto
e24192fb26 Add support for other audio waveforms 2023-02-13 22:36:30 +01:00
Alessandro Proto
d3bbedb30e Bugfix volume not being actually clamped 2023-02-13 21:55:42 +01:00
Alessandro Proto
4143417947 Make WebSocketClient use ObjectManager 2023-02-12 11:20:02 +01:00
Alessandro Proto
5dddc42910 Stop audio on close 2023-02-12 09:49:58 +01:00
Alessandro Proto
7254ba638c Hacky object management 2023-02-11 22:59:57 +01:00
Alessandro Proto
5a510c6eb6 better gpubuffer code structure 2023-02-10 21:45:04 +01:00
Alessandro Proto
392c1b9aca Add timer.now() to get current time in milliseconds (UTC) 2023-02-10 20:43:58 +01:00
Alessandro Proto
b212f41fea Allow floating point in timer.start 2023-02-10 20:21:09 +01:00
Alessandro Proto
23d062682a Add size mismatch error to drawBuffer 2023-02-10 14:13:44 +01:00
Alessandro Proto
cf12454a83 Allow gpubuffers to be drawn out of bounds 2023-02-10 14:12:12 +01:00
Alessandro Proto
8b5fa96a74 Rewrite everything 2023-02-09 22:17:17 +01:00
Alessandro Proto
3502da4889 Add support for byte arrays to audio.play 2023-02-07 22:19:05 +01:00
Alessandro Proto
8191c7dc85 Improved audio pipeline 2023-02-04 22:41:14 +01:00
Alessandro Proto
1187a262d9 Bugfix audio.stop not clearing queue 2023-02-04 17:54:03 +01:00
Alessandro Proto
b12eac4bed Move chars closer to close gaps 2023-02-04 11:43:24 +01:00
Alessandro Proto
3e3693bc2e Finish audio library 2023-02-04 11:41:12 +01:00
Alessandro Proto
bf6424c0d1 Allow resizable screen 2023-02-03 22:59:20 +01:00
Alessandro Proto
e0f3dc578b Audio prototype lib 2023-02-03 19:13:26 +01:00
Alessandro Proto
2949239598 Bugfix crash on text too long 2023-02-02 19:02:54 +01:00