Free Hero Mesh

History of main.c of 169561bd42b31b5e
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.

History of the file that is called main.c at check-in 169561bd42b31b5e

2023-07-16
19:46
Change tron8to32 to handle multibyte characters only if has_mbcs is true. file: [b9732826a2] check-in: [b175421418] user: user, branch: trunk, size: 44909 [annotate] [blame] [check-ins using] [diff]
2023-07-15
02:07
Functions to convert between TRON-8 and TRON-32 (may be used in future for the text editor; currently unused, and may be removed if it is found to be unnecessary) file: [3ffe8990f0] check-in: [198a84f8d8] user: user, branch: trunk, size: 44897 [annotate] [blame] [check-ins using] [diff]
2022-08-11
20:11
Implement level hashes calculation. file: [db5cb1b03f] check-in: [a9af94f292] user: user, branch: trunk, size: 40646 [annotate] [blame] [check-ins using] [diff]
2022-08-10
05:45
Implement CONFIG_NO_STATUS file: [71b6e89339] check-in: [89cc6486f6] user: user, branch: trunk, size: 40580 [annotate] [blame] [check-ins using] [diff]
2022-07-21
23:39
Finish the implementation of multidependent pictures. file: [d5598f7687] check-in: [59c1955556] user: user, branch: trunk, size: 40604 [annotate] [blame] [check-ins using] [diff]
2022-07-18
06:38
Implement (partially) comconfig; also add back into game.c the ability to record solution timestamps (that was removed by mistake in the past), and improve documentation about compiling (in README file). file: [85ed0502be] check-in: [3bac201324] user: user, branch: trunk, size: 40591 [annotate] [blame] [check-ins using] [diff]
2022-07-06
05:20
Several changes needed to allow coordinate input to be implemented in future (including the CLICK message and InputXY keyword). Also fixes a bug that was caused by changing MoveItem from Uint8 to Uint16. file: [efe30dc6d5] check-in: [156b0a7c35] user: user, branch: trunk, size: 40284 [annotate] [blame] [check-ins using] [diff]
2022-07-02
16:14
Implement -O switch to output private solutions on stdout. file: [90be19d7e2] check-in: [169561bd42] user: user, branch: trunk, size: 40188 [annotate] [blame] [check-ins using] [diff]
2022-06-13
23:08
Split out the code for making a new puzzle set into a separate subroutine, and do not add user cache entries for them until they are loaded the first time. file: [f8cd0b8bae] check-in: [a36346d28e] user: user, branch: trunk, size: 40137 [annotate] [blame] [check-ins using] [diff]
2022-04-20
04:36
Implement -+ switch to load level by ID number instead of by order number. file: [97954d3e50] check-in: [33f8d50d24] user: user, branch: trunk, size: 39737 [annotate] [blame] [check-ins using] [diff]
2022-01-15
05:59
Implement the user sounds (uncompressed) and MML sounds; does not work in the game yet, and built-in sounds are not yet implemented. file: [c4bffb80c2] check-in: [5c902e7a3f] user: user, branch: trunk, size: 39527 [annotate] [blame] [check-ins using] [diff]
2022-01-13
06:48
Implement cryptographic hash algorithms. (These are not currently used by Free Hero Mesh but is expected to be used in future.) file: [f5412e16d8] check-in: [1293433867] user: user, branch: trunk, size: 39164 [annotate] [blame] [check-ins using] [diff]
2022-01-08
06:06
Flush output in SQL command line mode. file: [d1bd9cc799] check-in: [70ae21443d] user: user, branch: trunk, size: 39157 [annotate] [blame] [check-ins using] [diff]
2022-01-05
03:59
Set the correct name of the DIVISION.IDX lump when creating it. file: [1f3827f98d] check-in: [1d52f98ea2] user: user, branch: trunk, size: 39107 [annotate] [blame] [check-ins using] [diff]
2022-01-02
21:04
Implement loading the level divisions table; currently it does not do anything with this table, which will be implemented later. file: [9e06dc1a0b] check-in: [a731b53535] user: user, branch: trunk, size: 39069 [annotate] [blame] [check-ins using] [diff]
2021-12-25
06:33
Some corrections of custom level table, including initializing the schema properly; start a few more parts of its implementation too. file: [f3572b0f94] check-in: [66cf1d39ad] user: user, branch: trunk, size: 38246 [annotate] [blame] [check-ins using] [diff]
2021-12-14
06:54
Start to implement the LEVELS table. file: [3d54a4ff62] check-in: [c4208ea179] user: user, branch: trunk, size: 38246 [annotate] [blame] [check-ins using] [diff]
2021-11-18
00:56
Implement batch import mode. file: [d4c1330f51] check-in: [c75006b3f9] user: user, branch: trunk, size: 38260 [annotate] [blame] [check-ins using] [diff]
2021-10-05
00:26
Change the internal composite_slice function file: [2701a43599] check-in: [2312d4d6df] user: user, branch: trunk, size: 37689 [annotate] [blame] [check-ins using] [diff]
2021-10-02
01:55
Implement composite puzzle sets file: [4242250daf] check-in: [4919d2c22e] user: user, branch: trunk, size: 37672 [annotate] [blame] [check-ins using] [diff]
2021-09-12
00:57
Implement bizarro editing. file: [2fa2744cde] check-in: [6b326d94b8] user: user, branch: trunk, size: 33071 [annotate] [blame] [check-ins using] [diff]
2021-09-11
07:00
Implement much more of bizarro world (currently untested, and not implemented in level editor yet). file: [66efb586aa] check-in: [2a3e5126fe] user: user, branch: trunk, size: 33088 [annotate] [blame] [check-ins using] [diff]
2021-07-23
03:32
Use a SQL trigger to delete cache sets. file: [da2b52eaf3] check-in: [e8493ef846] user: user, branch: trunk, size: 32781 [annotate] [blame] [check-ins using] [diff]
2021-06-27
07:23
If level number specified on command-line exceeds maximum, use maximum level number instead. file: [a2b93bffbe] check-in: [0da277ed18] user: user, branch: trunk, size: 33015 [annotate] [blame] [check-ins using] [diff]
2021-05-23
20:24
Implement the "portable app" mode. file: [00e076bcbf] check-in: [3d7617dc1f] user: user, branch: trunk, size: 32950 [annotate] [blame] [check-ins using] [diff]
2021-05-18
06:25
Always disable buffering for stderr. file: [6c4bf4088e] check-in: [79b85a3d23] user: user, branch: trunk, size: 32556 [annotate] [blame] [check-ins using] [diff]
2021-05-11
19:16
Add the -f switch as a shortcut to only flush the user cache file: [3edb85d936] check-in: [09a2d2f5c8] user: user, branch: trunk, size: 32536 [annotate] [blame] [check-ins using] [diff]
2021-04-19
21:12
Display the PC character set in the internal test mode. file: [af1be27721] check-in: [92d021271e] user: user, branch: trunk, size: 32416 [annotate] [blame] [check-ins using] [diff]
2021-04-14
21:51
Add the missing -lm flag for linking file: [7b04ae5810] check-in: [7355156dce] user: user, branch: trunk, size: 32284 [annotate] [blame] [check-ins using] [diff]
2021-04-11
04:56
Start to implement loading dependent pictures (the file format isn't implemented yet, nor even defined yet, nor does the picture editor support this yet). file: [9dbf73c467] check-in: [e17ab8c4ed] user: user, branch: trunk, size: 32280 [annotate] [blame] [check-ins using] [diff]
2021-04-08
14:44
Add a compile-time assertion that multi-character literals are implemented in a suitable way. file: [9136db6a90] check-in: [6cb45f70ee] user: user, branch: trunk, size: 32263 [annotate] [blame] [check-ins using] [diff]
2021-03-30
06:32
Add the maxTrigger resource, to try to prevent some kinds of infinite loops file: [3e8c9f68c8] check-in: [655771dcba] user: user, branch: trunk, size: 32202 [annotate] [blame] [check-ins using] [diff]
2021-03-27
08:21
Implement the text editor, for editing the level title and level strings (currently, only editing the title is implemented). file: [021cdac3a0] check-in: [1665c0ca5d] user: user, branch: trunk, size: 32084 [annotate] [blame] [check-ins using] [diff]
2021-03-21
03:51
Implement the .autoSave resource. file: [d4bdc87885] check-in: [694a67346e] user: user, branch: trunk, size: 32075 [annotate] [blame] [check-ins using] [diff]
2021-03-20
04:36
Make some corrections to the implementation of dead animations file: [45d9e047ec] check-in: [d033ec4bd1] user: user, branch: trunk, size: 31861 [annotate] [blame] [check-ins using] [diff]
2021-02-22
03:16
Add an assertion to check that the value of N_MESSAGES is correct. Also add a note about unused standard message names in class.doc. file: [23edf40a2c] check-in: [c8c249b7be] user: user, branch: trunk, size: 31841 [annotate] [blame] [check-ins using] [diff]
2021-02-21
00:43
Add saving levels. (Now it is probably ready for public testing.) file: [1f36d14fae] check-in: [d89808c09a] user: user, branch: trunk, size: 31717 [annotate] [blame] [check-ins using] [diff]
2021-02-17
06:00
Add the internal "level_changed" variable; this is set in the level editor if changes are made which would potentially invalidate the solution, requiring the level version number to be incremented. (Some changes do not set this, such as changing the level title, or its order number. In this case, the level version number remains unchanged when the level is saved.) file: [310c045da5] check-in: [42049107bf] user: user, branch: trunk, size: 31725 [annotate] [blame] [check-ins using] [diff]
2021-01-11
06:22
Start to implement the picture editor file: [b062b0f69d] check-in: [6e1b1bf6d3] user: user, branch: trunk, size: 31667 [annotate] [blame] [check-ins using] [diff]
2021-01-10
03:23
Implement autotest mode and add the config.doc file file: [e9e638bdea] check-in: [42f95966ca] user: user, branch: trunk, size: 31542 [annotate] [blame] [check-ins using] [diff]
2021-01-08
02:29
Implement loading/saving the move list file: [46407c4aee] check-in: [eb23399aef] user: user, branch: trunk, size: 31438 [annotate] [blame] [check-ins using] [diff]
00:32
Change read_lump function; also add read_userstate and write_userstate. file: [926b9dec50] check-in: [7dab93e8a9] user: user, branch: trunk, size: 31438 [annotate] [blame] [check-ins using] [diff]
2020-12-20
18:49
Implement level strings and quiz buttons file: [f7a8e77b3c] check-in: [5d19455a9e] user: user, branch: trunk, size: 30865 [annotate] [blame] [check-ins using] [diff]
2020-12-19
22:24
Implement command to create a new empty puzzle set file: [55a050f2d9] check-in: [6d402e1175] user: user, branch: trunk, size: 30513 [annotate] [blame] [check-ins using] [diff]
07:12
Correct a few things in the file handling; make it read/write by default, but add a read-only option file: [0ebe47f999] check-in: [ea3c873bb0] user: user, branch: trunk, size: 30185 [annotate] [blame] [check-ins using] [diff]
2020-12-11
18:51
Implement the instructions for message local variables, and fix a mistake in the level loading file: [4316790edd] check-in: [442c84b49d] user: user, branch: trunk, size: 30070 [annotate] [blame] [check-ins using] [diff]
2020-12-01
22:09
Add traceAll resource file: [ee9e1c16af] check-in: [165d3cd4f7] user: user, branch: trunk, size: 30070 [annotate] [blame] [check-ins using] [diff]
2020-11-26
01:41
Implement objtrash() and generation number increasing; move initialization to a separate subroutine file: [64955f8adb] check-in: [daf44d7fbb] user: user, branch: trunk, size: 29737 [annotate] [blame] [check-ins using] [diff]
2020-11-22
02:05
Fix the level conversion/loading by changing the MRU logic slightly. file: [fec4beb6eb] check-in: [1939e893b0] user: user, branch: trunk, size: 29710 [annotate] [blame] [check-ins using] [diff]
2020-11-17
00:51
Add possibility to select levels. file: [eeee5538b3] check-in: [5b7677692b] user: user, branch: trunk, size: 29824 [annotate] [blame] [check-ins using] [diff]
2020-11-16
22:44
Correct some mistakes in the level loading file: [1983533b19] check-in: [8809d628a4] user: user, branch: trunk, size: 29559 [annotate] [blame] [check-ins using] [diff]
2020-10-20
23:21
Add game.c file (not implemented much) file: [d1369c2f61] check-in: [9d982f0655] user: user, branch: trunk, size: 29501 [annotate] [blame] [check-ins using] [diff]
2018-10-26
08:12
Implement scrollbars file: [71afcff0a8] check-in: [633696a6f5] user: user, branch: trunk, size: 29546 [annotate] [blame] [check-ins using] [diff]
06:47
A few minor corrections, including displaying width/height of level in editor and allowing loading levels by index. file: [fed1a85264] check-in: [01830be55a] user: user, branch: trunk, size: 28480 [annotate] [blame] [check-ins using] [diff]
2018-10-23
03:31
Add implementation of loading level index file: [d47c90633f] check-in: [17b9aedf92] user: user, branch: trunk, size: 28362 [annotate] [blame] [check-ins using] [diff]
2018-10-22
05:41
More stuff in editor and key binding file: [7611edaf9e] check-in: [02cc36cf71] user: user, branch: trunk, size: 27829 [annotate] [blame] [check-ins using] [diff]
2018-10-07
04:25
Make some improvements to compile script, and start edit.c (just a stub so far) file: [281782dbc2] check-in: [3f12058d2d] user: user, branch: trunk, size: 27719 [annotate] [blame] [check-ins using] [diff]
2018-08-19
21:53
Implement loading level titles (and level version and level code) file: [3f8604fa56] check-in: [69c81d7254] user: user, branch: trunk, size: 27673 [annotate] [blame] [check-ins using] [diff]
2018-08-18
01:44
Implement level loading; also several bug fixes needed for it to work properly. file: [f785d8c807] check-in: [126d717829] user: user, branch: trunk, size: 27408 [annotate] [blame] [check-ins using] [diff]
2018-07-10
05:56
Add a "maxObjects" resource. Also add some missing "extern" from declarations in heromesh.h and add a hidden "heap test" option file: [c418f63360] check-in: [402432f1b2] user: user, branch: trunk, size: 24057 [annotate] [blame] [check-ins using] [diff]
2018-07-08
00:13
Add some more stuff with graphics and some other stuff that was previously forgotten file: [2de729fbaa] check-in: [c5926b50b9] user: user, branch: trunk, size: 23712 [annotate] [blame] [check-ins using] [diff]
2018-06-24
02:12
Implement stack overflow protection file: [d2ea69aa98] check-in: [9f57c48591] user: user, branch: trunk, size: 23705 [annotate] [blame] [check-ins using] [diff]
2018-06-22
07:17
Add exec.c (moving some things from main.c); add definitions for exec.c in heromesh.h; also add a macro tracing option. file: [8f25720cf2] check-in: [9ffad27cd3] user: user, branch: trunk, size: 22800 [annotate] [blame] [check-ins using] [diff]
2018-06-16
03:26
Implement flush_usercache() (completely untested so far, though). file: [f367a2dcad] check-in: [19b4240efe] user: user, branch: trunk, size: 22826 [annotate] [blame] [check-ins using] [diff]
2018-06-15
21:06
Add the MESSAGES virtual table file: [73e39a2b6c] check-in: [ee25076d50] user: user, branch: trunk, size: 18808 [annotate] [blame] [check-ins using] [diff]
2018-06-10
16:34
Add some SQL functions file: [56dbbbf3e1] check-in: [81f52e6f42] user: user, branch: trunk, size: 18777 [annotate] [blame] [check-ins using] [diff]
06:10
Move around some BEGIN and COMMIT commands to avoid misnested transactions in some cases file: [8ee65d5a1a] check-in: [b4a4337c4a] user: user, branch: trunk, size: 18722 [annotate] [blame] [check-ins using] [diff]
05:27
Corrections and completions of class loading; implement -x switch; correction to schema file: [4a37978eeb] check-in: [08625cbba0] user: user, branch: trunk, size: 18722 [annotate] [blame] [check-ins using] [diff]
2018-06-09
00:42
Add the write_lump() function (uses upsert, which SQLite recently added) file: [af17e022b5] check-in: [a55e51e100] user: user, branch: trunk, size: 17179 [annotate] [blame] [check-ins using] [diff]
2018-06-08
21:15
More class loading codes; correction to user cache file: [91b8dc3f22] check-in: [81d74d79e1] user: user, branch: trunk, size: 16288 [annotate] [blame] [check-ins using] [diff]
2018-06-03
22:43
The syntax of for/next loops has been changed; also added some codes for dealing with user cache data file: [e806b2d7f2] check-in: [8b26cd42e7] user: user, branch: trunk, size: 15933 [annotate] [blame] [check-ins using] [diff]
2018-05-19
22:31
Add shell script to compile everything; support $CFLAGS and $EXE environment variables file: [00241b77ff] check-in: [f833310c79] user: user, branch: trunk, size: 9150 [annotate] [blame] [check-ins using] [diff]
2018-05-05
23:58
Implement preprocessor, and add some more opcode names, and a few bug fixed file: [2e8581e7e0] check-in: [79caf678be] user: user, branch: trunk, size: 9131 [annotate] [blame] [check-ins using] [diff]
2018-04-27
20:25
More codes and testing in class codes parser file: [03fb7ee697] check-in: [02b262b608] user: user, branch: trunk, size: 9044 [annotate] [blame] [check-ins using] [diff]
2018-04-16
00:14
Add some starting for loading class files (not much yet) file: [752b28ab5b] check-in: [e701e7c58f] user: user, branch: trunk, size: 9033 [annotate] [blame] [check-ins using] [diff]
2018-04-13
21:19
Add the "sqlFile" resource, and correct the gamma correction file: [e8db13f7e3] check-in: [a4882ad0b9] user: user, branch: trunk, size: 9025 [annotate] [blame] [check-ins using] [diff]
2018-04-09
04:15
Faster key bindings, and testing for key bindings file: [76acffeba5] check-in: [c8eb0a9e48] user: user, branch: trunk, size: 8601 [annotate] [blame] [check-ins using] [diff]
2018-04-08
23:31
Types, bug fixes, and test mode file: [9c681f49a8] check-in: [3df78ec087] user: user, branch: trunk, size: 11364 [annotate] [blame] [check-ins using] [diff]
2018-04-06
21:00
Add init_screen() and starting the type defintions for classes, and fix the picture loader to work with zoomed pictures file: [6d5db62424] check-in: [88e748ef6d] user: user, branch: trunk, size: 9743 [annotate] [blame] [check-ins using] [diff]
2018-04-02
23:54
Fix a mistake file: [9e50e0dd98] check-in: [1e31248216] user: user, branch: trunk, size: 9780 [annotate] [blame] [check-ins using] [diff]
18:22
Split picture reading codes into a separate file file: [d2f05c125d] check-in: [016ea5365e] user: user, branch: trunk, size: 9813 [annotate] [blame] [check-ins using] [diff]
2018-03-31
02:14
Add key bindings and some other stuff file: [ab2178c197] check-in: [c1ad4ad8cc] user: user, branch: trunk, size: 11916 [annotate] [blame] [check-ins using] [diff]
2018-03-26
23:56
Some more additions to the picture loading function in main.c (not complete yet, though, nor tested yet) file: [e6b0d2c360] check-in: [cae3f2d69d] user: user, branch: trunk, size: 8039 [annotate] [blame] [check-ins using] [diff]
2018-03-25
22:11
Added: Start writing main program file: [798f04dbcc] check-in: [6b70d94215] user: user, branch: trunk, size: 6492 [annotate] [blame] [check-ins using]