Mon, 09 Jul 2018 19:34:36 +0300 |
Matti Hamalainen |
Get rid of unused variables and clean up the logic slightly in mpExportColorData()
|
Mon, 09 Jul 2018 18:52:27 +0300 |
Matti Hamalainen |
Quick fix for using correct filename extension in format import file selector.
|
Mon, 09 Jul 2018 18:08:06 +0300 |
Matti Hamalainen |
Use the MPWriteCtx class. However, due to this refactoring, there are
|
Mon, 09 Jul 2018 18:07:04 +0300 |
Matti Hamalainen |
Add helper class MPWriteCtx for exporting data and source code.
|
Mon, 09 Jul 2018 17:44:47 +0300 |
Matti Hamalainen |
Clean up the format import code a bit.
|
Mon, 09 Jul 2018 11:30:01 +0300 |
Matti Hamalainen |
Update notes.
|
Sat, 07 Jul 2018 16:02:48 +0300 |
Matti Hamalainen |
Cleanups.
|
Sat, 07 Jul 2018 03:22:38 +0300 |
Matti Hamalainen |
Rename 'bool' -> 'boolean'.
|
Fri, 06 Jul 2018 19:43:56 +0300 |
Matti Hamalainen |
Add some comments to the postprocess script.
|
Fri, 06 Jul 2018 18:58:28 +0300 |
Matti Hamalainen |
Improve error handling of local storage saving/loading.
|
Fri, 06 Jul 2018 18:44:19 +0300 |
Matti Hamalainen |
Oops, g_dirty should've been boolean all the time.
|
Fri, 06 Jul 2018 18:42:31 +0300 |
Matti Hamalainen |
Cleanups and few comments added.
|
Fri, 06 Jul 2018 18:40:11 +0300 |
Matti Hamalainen |
Move file operations from draw function to events handling.
|
Fri, 06 Jul 2018 18:20:28 +0300 |
Matti Hamalainen |
Do store_undo() in mpSetNativeImage() when supposedly successfully loading
|
Fri, 06 Jul 2018 18:16:26 +0300 |
Matti Hamalainen |
Remove some unused globals.
|
Fri, 06 Jul 2018 06:41:04 +0300 |
Matti Hamalainen |
Make right-clicking work on the Load icon.
|
Fri, 06 Jul 2018 06:40:43 +0300 |
Matti Hamalainen |
Use the constant for RIGHT mouse button instead of magic number.
|
Fri, 06 Jul 2018 06:22:21 +0300 |
Matti Hamalainen |
Update notes.
|
Fri, 06 Jul 2018 06:22:10 +0300 |
Matti Hamalainen |
Change it so that each "machine type" uses separate local storage variable.
|
Fri, 06 Jul 2018 06:14:27 +0300 |
Matti Hamalainen |
Implement quick save/load ("S"/"L") via browser local storage.
|
Fri, 06 Jul 2018 05:29:26 +0300 |
Matti Hamalainen |
Change mpSaveNativeImage() to mpGetNativeImage().
|
Fri, 06 Jul 2018 05:28:15 +0300 |
Matti Hamalainen |
Split Blob creation to mpMakeBinaryBlob().
|
Fri, 06 Jul 2018 05:27:49 +0300 |
Matti Hamalainen |
Add function for checking availability of browser local storage.
|
Fri, 06 Jul 2018 05:26:59 +0300 |
Matti Hamalainen |
Remove fexists(), it's not in use.
|
Fri, 06 Jul 2018 03:19:00 +0300 |
Matti Hamalainen |
PRG export works now.
|
Fri, 06 Jul 2018 03:18:53 +0300 |
Matti Hamalainen |
Cleanups.
|
Fri, 06 Jul 2018 02:59:47 +0300 |
Matti Hamalainen |
Change "Export TXT" icon to "export SRC".
|
Fri, 06 Jul 2018 02:59:25 +0300 |
Matti Hamalainen |
Make PRG export work. Also some improvements in overall error handling.
|
Fri, 06 Jul 2018 02:58:28 +0300 |
Matti Hamalainen |
Improve mpSaveBinaryFile() to also handle string format data. Also improve
|
Fri, 06 Jul 2018 02:10:59 +0300 |
Matti Hamalainen |
More work on mpExportMachinePRG().
|
Fri, 06 Jul 2018 01:05:31 +0300 |
Matti Hamalainen |
More work towards jpeg/png image export/import.
|
Fri, 06 Jul 2018 00:45:31 +0300 |
Matti Hamalainen |
Misc. cleanups.
|
Fri, 06 Jul 2018 00:43:19 +0300 |
Matti Hamalainen |
Clean up/refactor image (jpeg/png) importing a bit and rename function.
|
Fri, 06 Jul 2018 00:42:06 +0300 |
Matti Hamalainen |
Refactor machine program and source exporting.
|
Fri, 06 Jul 2018 00:39:41 +0300 |
Matti Hamalainen |
Refactor mpExportFormat() a bit.
|
Fri, 06 Jul 2018 00:27:38 +0300 |
Matti Hamalainen |
Set dirty flag on setup.
|
Fri, 06 Jul 2018 00:23:23 +0300 |
Matti Hamalainen |
Refactor export_image() and export_image_sans_border() to use common code,
|
Fri, 06 Jul 2018 00:19:38 +0300 |
Matti Hamalainen |
Indentation cleanups.
|
Thu, 05 Jul 2018 23:58:43 +0300 |
Matti Hamalainen |
Rename two more functions.
|
Thu, 05 Jul 2018 23:55:18 +0300 |
Matti Hamalainen |
Clean up mpImportFormat() a bit.
|
Thu, 05 Jul 2018 23:43:28 +0300 |
Matti Hamalainen |
Rename few functions and a variable.
|
Thu, 05 Jul 2018 23:19:14 +0300 |
Matti Hamalainen |
Cleanup.
|
Thu, 05 Jul 2018 23:04:27 +0300 |
Matti Hamalainen |
Rename variable.
|
Thu, 05 Jul 2018 21:52:39 +0300 |
Matti Hamalainen |
Clean set_machine() and rename to mpSetupMachine()
|
Thu, 05 Jul 2018 21:51:01 +0300 |
Matti Hamalainen |
Set g_dirty flag in refresh() to ensure screen update after certain
|
Thu, 05 Jul 2018 21:26:09 +0300 |
Matti Hamalainen |
Cleanup.
|
Thu, 05 Jul 2018 20:41:12 +0300 |
Matti Hamalainen |
Get rid of some unused code.
|
Thu, 05 Jul 2018 13:49:42 +0300 |
Matti Hamalainen |
Add a kludge in the post-processing script to fix the help() function.
|
Thu, 05 Jul 2018 13:37:12 +0300 |
Matti Hamalainen |
Use Math.trunc() instead of Math.floor()
|
Thu, 05 Jul 2018 13:30:43 +0300 |
Matti Hamalainen |
Add note about 'save as' working.
|
Thu, 05 Jul 2018 13:28:58 +0300 |
Matti Hamalainen |
Add a JS post-processing script written in Perl.
|
Thu, 05 Jul 2018 13:28:31 +0300 |
Matti Hamalainen |
When in rubberband mode, do not delay screen updates.
|
Thu, 05 Jul 2018 12:45:03 +0300 |
Matti Hamalainen |
Improve 'dirty' flag for only updating canvas when something changes.
|
Thu, 05 Jul 2018 12:41:35 +0300 |
Matti Hamalainen |
Cleanups.
|
Thu, 05 Jul 2018 12:41:12 +0300 |
Matti Hamalainen |
Attempt to optimize makepoint() slightly.
|
Thu, 05 Jul 2018 12:16:33 +0300 |
Matti Hamalainen |
Cleanups.
|
Wed, 04 Jul 2018 23:41:51 +0300 |
Matti Hamalainen |
Remove dots from format exts.
|
Wed, 04 Jul 2018 23:38:42 +0300 |
Matti Hamalainen |
Indent.
|
Wed, 04 Jul 2018 23:38:36 +0300 |
Matti Hamalainen |
Sort machine selection list.
|
Wed, 04 Jul 2018 23:23:40 +0300 |
Matti Hamalainen |
Update notes.
|
Wed, 04 Jul 2018 21:07:01 +0300 |
Matti Hamalainen |
Make a note about 'save' not working yet vs. 'save as'.
|
Wed, 04 Jul 2018 21:04:47 +0300 |
Matti Hamalainen |
Fix "quick save".
|
Wed, 04 Jul 2018 20:59:22 +0300 |
Matti Hamalainen |
Update notes, remove native format load/save from "not working" list.
|
Wed, 04 Jul 2018 20:57:44 +0300 |
Matti Hamalainen |
Fix AAS extension, until we can figure out a better system for these.
|
Wed, 04 Jul 2018 20:56:30 +0300 |
Matti Hamalainen |
Add dot to format export file extension.
|
Wed, 04 Jul 2018 20:56:19 +0300 |
Matti Hamalainen |
Disable the TXT and EMU export functionality as they are not working yet.
|
Wed, 04 Jul 2018 20:51:36 +0300 |
Matti Hamalainen |
Oops, forgot to commit this.
|
Wed, 04 Jul 2018 20:45:32 +0300 |
Matti Hamalainen |
Micro-cleanup :P
|
Wed, 04 Jul 2018 20:44:56 +0300 |
Matti Hamalainen |
Some more interface cleanupping.
|
Wed, 04 Jul 2018 20:44:31 +0300 |
Matti Hamalainen |
Cleanup.
|
Wed, 04 Jul 2018 20:43:37 +0300 |
Matti Hamalainen |
Use defined format extensions in the file selector. Also display format name
|
Wed, 04 Jul 2018 19:54:07 +0300 |
Matti Hamalainen |
Cosmetic.
|
Wed, 04 Jul 2018 19:53:04 +0300 |
Matti Hamalainen |
Add some comments.
|
Wed, 04 Jul 2018 18:55:47 +0300 |
Matti Hamalainen |
Define g_exportname for name of the format that the export is done in.
|
Wed, 04 Jul 2018 18:45:46 +0300 |
Matti Hamalainen |
Rename some variables.
|
Wed, 04 Jul 2018 18:44:11 +0300 |
Matti Hamalainen |
Random cleanups.
|
Wed, 04 Jul 2018 18:07:51 +0300 |
Matti Hamalainen |
Add link to Mercurial repo.
|
Wed, 04 Jul 2018 18:05:37 +0300 |
Matti Hamalainen |
Fix display of which page we just switched to (spare or front).
|
Wed, 04 Jul 2018 17:34:22 +0300 |
Matti Hamalainen |
Clean up and fix the flood fill functions.
|
Wed, 04 Jul 2018 17:30:46 +0300 |
Matti Hamalainen |
Cosmetic cleanups.
|
Wed, 04 Jul 2018 14:55:46 +0300 |
Matti Hamalainen |
Cleanups.
|
Wed, 04 Jul 2018 14:50:11 +0300 |
Matti Hamalainen |
Clean up g_spare related things.
|
Wed, 04 Jul 2018 14:42:03 +0300 |
Matti Hamalainen |
Cosmetics.
|
Wed, 04 Jul 2018 13:56:13 +0300 |
Matti Hamalainen |
Cleanups.
|
Wed, 04 Jul 2018 13:39:11 +0300 |
Matti Hamalainen |
Cleanups.
|
Wed, 04 Jul 2018 12:10:35 +0300 |
Matti Hamalainen |
Cleanup.
|
Wed, 04 Jul 2018 11:55:02 +0300 |
Matti Hamalainen |
Oops, remove prefread.js from the sources list as well.
|
Wed, 04 Jul 2018 11:19:45 +0300 |
Matti Hamalainen |
Move note to javascript.
|
Wed, 04 Jul 2018 10:50:42 +0300 |
Matti Hamalainen |
Add some comments.
|
Wed, 04 Jul 2018 10:49:16 +0300 |
Matti Hamalainen |
Update author blurb.
|
Wed, 04 Jul 2018 10:47:00 +0300 |
Matti Hamalainen |
Remove prefread.pde, it's not used either.
|
Wed, 04 Jul 2018 10:46:00 +0300 |
Matti Hamalainen |
Delete java.pde, it is not used obviously.
|
Wed, 04 Jul 2018 10:39:23 +0300 |
Matti Hamalainen |
Add .hgignore.
|
Wed, 04 Jul 2018 10:38:29 +0300 |
Matti Hamalainen |
Initialize g_data, to be sure ..
|
Wed, 04 Jul 2018 10:38:13 +0300 |
Matti Hamalainen |
Remove dead code.
|
Wed, 04 Jul 2018 10:36:43 +0300 |
Matti Hamalainen |
Refactor the import/export stuff a bit and the GUI bits for JS.
|
Wed, 04 Jul 2018 10:34:12 +0300 |
Matti Hamalainen |
Add several new helper functions for loading and saving formats using Javascript facilities.
|
Wed, 04 Jul 2018 10:33:42 +0300 |
Matti Hamalainen |
Make fexists() return always true.
|
Wed, 04 Jul 2018 10:28:01 +0300 |
Matti Hamalainen |
Add missing Multipaint data files - icons.bin and templates.
|
Wed, 04 Jul 2018 10:27:30 +0300 |
Matti Hamalainen |
As we launch from a browser now, include the HTML and necessary Javascript
|
Wed, 04 Jul 2018 10:12:16 +0300 |
Matti Hamalainen |
Delete Processing 3 related (commented out) things.
|
Wed, 04 Jul 2018 10:11:50 +0300 |
Matti Hamalainen |
Remove dead code.
|
Wed, 04 Jul 2018 10:11:12 +0300 |
Matti Hamalainen |
Attempt to limit CPU usage by using frameRate().
|
Wed, 04 Jul 2018 10:10:46 +0300 |
Matti Hamalainen |
The delay() function does not exist in ProcessingJS, so don't use it.
|
Wed, 04 Jul 2018 10:08:35 +0300 |
Matti Hamalainen |
Cleanup / optimize.
|
Wed, 04 Jul 2018 10:06:10 +0300 |
Matti Hamalainen |
Use console.log() to log message() things in browser console.
|
Wed, 04 Jul 2018 10:05:42 +0300 |
Matti Hamalainen |
Missed one char -> int() cast.
|
Wed, 04 Jul 2018 10:03:14 +0300 |
Matti Hamalainen |
Remove the use of 'gui' variable.
|
Wed, 04 Jul 2018 10:01:05 +0300 |
Matti Hamalainen |
ProcessingJS does not provide "platform" variables, we need to define them ourselves.
|
Wed, 04 Jul 2018 09:55:10 +0300 |
Matti Hamalainen |
Remove the use of 'debugger' variable, as it is reserved in Javascript.
|
Wed, 04 Jul 2018 09:48:33 +0300 |
Matti Hamalainen |
Remove unused code and variables.
|
Wed, 04 Jul 2018 09:08:47 +0300 |
Matti Hamalainen |
Oops, fix the coordinate printing.
|
Wed, 04 Jul 2018 09:07:25 +0300 |
Matti Hamalainen |
Make the machine setup sections a bit more uniform in order.
|
Wed, 04 Jul 2018 09:03:08 +0300 |
Matti Hamalainen |
Cosmetics and indentation.
|
Wed, 04 Jul 2018 08:57:43 +0300 |
Matti Hamalainen |
Check for characters < 32 in drawchar() because 32 is deducted from the value.
|
Wed, 04 Jul 2018 08:55:48 +0300 |
Matti Hamalainen |
Change the help() function and its usage to have more than one parameter to
|
Wed, 04 Jul 2018 08:51:19 +0300 |
Matti Hamalainen |
Various minor code cleanups.
|
Tue, 03 Jul 2018 22:17:48 +0300 |
Matti Hamalainen |
Fix many calculations (divisions) that assume integer variable division
|
Tue, 03 Jul 2018 21:27:18 +0300 |
Matti Hamalainen |
Cast char to int where needed and other related operations.
|
Tue, 03 Jul 2018 21:22:49 +0300 |
Matti Hamalainen |
Regreplace s/ & 15/ & 0x0f/g; s/ & 240/ & 0xf0/g
|