Commit graph

143 commits

Author SHA1 Message Date
Alessandro Proto
dba8f8c600 Remove missing file reference from project 2023-02-16 18:39:40 +01:00
ee44873e07
Remove debug log from Audio.GenerateWave 2023-02-16 16:11:58 +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
5045fa757c
Create codeql.yml 2023-02-16 10:49:05 +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
4017296426 Add .editorconfig
Add template for inserting license on top of source files.
2023-02-15 14:17:38 +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
d744432a50 Dispose IDisposable objects on close.
Objects that implement the IDisposable interface didn't get collected by GC.
2023-02-15 13:15:39 +01:00
Alessandro Proto
e37ed56a43 Add gamepad support 2023-02-14 23:06:37 +01:00
Alessandro Proto
e3616e4ac6 Fix audio that was fucked up since the beginning 2023-02-14 21:05:15 +01:00
Alessandro Proto
5e95e74545 Improved waveforms of triangle and sawtooth 2023-02-14 16:23:01 +01:00
Alessandro Proto
8e08c80d91 Better square waveform 2023-02-14 15:04:48 +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
6d9dbda7b5 Revert "Pointers are headache"
This reverts commit 1ca007b8d5.
2023-02-12 20:54:29 +01:00
Alessandro Proto
34cf7a6bc4 Window out of focus should no longer lag 2023-02-12 20:54:20 +01:00
Alessandro Proto
1ca007b8d5 Pointers are headache 2023-02-12 20:03:31 +01:00
Alessandro Proto
33037a40fc Hide console by default 2023-02-12 17:33:06 +01:00
Alessandro Proto
1b2ad30759 Add togglable console window 2023-02-12 17:32:43 +01:00
Alessandro Proto
b477e74141 Bugfix out of bounds file mode 2023-02-12 12:44:45 +01:00
Alessandro Proto
963d47afb2 Getting ready for 0.0.8-alpha 2023-02-12 11:22:16 +01:00
Alessandro Proto
4143417947 Make WebSocketClient use ObjectManager 2023-02-12 11:20:02 +01:00
Alessandro Proto
f9f56c8063 Rename Metatable functions 2023-02-12 11:19:29 +01:00
Alessandro Proto
5dddc42910 Stop audio on close 2023-02-12 09:49:58 +01:00
Alessandro Proto
d318523bde use UserData instead of tables 2023-02-12 09:49:51 +01:00
Alessandro Proto
7254ba638c Hacky object management 2023-02-11 22:59:57 +01:00
Alessandro Proto
b84db27f83 Add OnClose event.
Reboot shortcut resets steps to 0
2023-02-11 22:20:23 +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
ffa223b5b3 Force queue processing end 2023-02-10 20:24:28 +01:00
Alessandro Proto
b212f41fea Allow floating point in timer.start 2023-02-10 20:21:09 +01:00
Alessandro Proto
38c62c8f45 Update bios.lua to use the new index.json file 2023-02-10 19:26:17 +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
bcb358ed9d Merge branch 'main' of https://github.com/Capy64/Capy64 2023-02-07 22:19:34 +01:00
Alessandro Proto
6240179118 Renamed all functions to read*.
Add buffer:read() (WIP)
2023-02-07 22:19:27 +01:00
Alessandro Proto
3502da4889 Add support for byte arrays to audio.play 2023-02-07 22:19:05 +01:00
e6082c9ea8
Update issue templates 2023-02-06 22:10:11 +01:00
4eec297c69
Create README.md 2023-02-06 22:04:47 +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
15e700008e Rename InputEmitter to EventEmitter.
Add screen_resize event.
2023-02-03 22:58:36 +01:00
Alessandro Proto
aec372feb8 Reduced logs by Discord RPC 2023-02-03 22:57:49 +01:00
Alessandro Proto
e0f3dc578b Audio prototype lib 2023-02-03 19:13:26 +01:00