Free Hero Mesh

All files named "edit.c"
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 for edit.c

2023-10-31
23:36
Make control and middle button to draw lines from clicked location for helping with alignment. file: [9a00c6e87e] check-in: [382666e88a] user: user, branch: trunk, size: 65095 [annotate] [blame] [check-ins using] [diff]
2023-08-25
21:53
Correct a mistake in edit.c so that it does not mistakenly use RLE if the object's Dir variable is different than the previous object. file: [fab4b81851] check-in: [417251f440] user: user, branch: trunk, size: 64990 [annotate] [blame] [check-ins using] [diff]
2023-01-31
19:26
Add 'mm' binding ALT with middle mouse button to write coordinates to the Misc value of MRU. file: [3ade7c9610] check-in: [67716681cf] user: user, branch: trunk, size: 64972 [annotate] [blame] [check-ins using] [diff]
2022-08-11
20:11
Implement level hashes calculation. file: [50c4e83094] check-in: [a9af94f292] user: user, branch: trunk, size: 64064 [annotate] [blame] [check-ins using] [diff]
2022-07-28
03:23
Fix the version_change logic in edit.c to work with the new user state format. (It no longer works with the old format, although it will automatically be upgraded in game.c anyways, so it is unlikely to need to work with the old format.) file: [3f10c9de85] check-in: [846874b02f] user: user, branch: trunk, size: 62580 [annotate] [blame] [check-ins using] [diff]
2022-06-28
04:45
Use the move encoding functions in the level import function. file: [6dfe3afa21] check-in: [5463756bc9] user: user, branch: trunk, size: 62492 [annotate] [blame] [check-ins using] [diff]
2022-06-08
04:39
Fix a problem with the level importing and implement the F record in level importing. file: [6d33b70e63] check-in: [78faa91e26] user: user, branch: trunk, size: 62511 [annotate] [blame] [check-ins using] [diff]
2022-03-09
04:46
When a level is changed, set the user state to unsolved even if no solution has been recorded. file: [fbb61cd5b6] check-in: [e93f746d5e] user: user, branch: trunk, size: 62155 [annotate] [blame] [check-ins using] [diff]
2022-01-29
05:55
Implement the Sound instruction. (There are still a few problems such as clicks at the end of some sound effects, and a few problems with the sound test menu. However, it mostly works, now.) file: [cc13f87281] check-in: [d15195a921] user: user, branch: trunk, size: 61781 [annotate] [blame] [check-ins using] [diff]
2022-01-04
02:21
Implement level index editor, including divisions. (Currently, the divisions is not used outside of the level index editor; later, this should be fixed) file: [13e928d083] check-in: [8117ec3cff] user: user, branch: trunk, size: 61713 [annotate] [blame] [check-ins using] [diff]
2021-12-15
07:12
Auto-update the LEVELS table when it is appropriate to do so. file: [cd3b37ede3] check-in: [656b937843] user: user, branch: trunk, size: 52085 [annotate] [blame] [check-ins using] [diff]
2021-11-18
00:56
Implement batch import mode. file: [6224a071ca] check-in: [c75006b3f9] user: user, branch: trunk, size: 51689 [annotate] [blame] [check-ins using] [diff]
2021-11-06
03:28
Implement importing solutions when importing the level data. file: [cca5f42c2a] check-in: [aeb7bb0218] user: user, branch: trunk, size: 51159 [annotate] [blame] [check-ins using] [diff]
2021-09-30
03:21
Implement selection rectangles, and PLAYFIELD virtual table. file: [f2c9f9d8a1] check-in: [2119a02b07] user: user, branch: trunk, size: 49811 [annotate] [blame] [check-ins using] [diff]
2021-09-18
22:37
Add 'am' editor command to make MRU item by SQL results file: [60ceeab4c3] check-in: [16400482c5] user: user, branch: trunk, size: 48891 [annotate] [blame] [check-ins using] [diff]
00:23
Implement some mouse-based controls in level strings editor. file: [3dcbbc08e2] check-in: [0cad524186] user: user, branch: trunk, size: 48296 [annotate] [blame] [check-ins using] [diff]
2021-09-12
00:57
Implement bizarro editing. file: [10af50702a] check-in: [6b326d94b8] user: user, branch: trunk, size: 47839 [annotate] [blame] [check-ins using] [diff]
2021-09-05
06:11
Correct a problem in the string editor when inserting graphic control characters. file: [3589f5cda0] check-in: [0da86bb01b] user: user, branch: trunk, size: 47237 [annotate] [blame] [check-ins using] [diff]
2021-08-30
05:16
In the class/image selection menu, ensure that the selected item will be scrolled into view when changing the selection. file: [3b166365cb] check-in: [c2f30f9949] user: user, branch: trunk, size: 47224 [annotate] [blame] [check-ins using] [diff]
2021-08-05
18:34
Avoid segfault in level strings list, when trying to edit or select non-existing strings. file: [3dcea60d30] check-in: [3b07da3314] user: user, branch: trunk, size: 46784 [annotate] [blame] [check-ins using] [diff]
2021-06-25
04:17
Fix a bug in writing message numbers into CLASS.DEF lump file: [a68bdbab0e] check-in: [a0a2d667be] user: user, branch: trunk, size: 46757 [annotate] [blame] [check-ins using] [diff]
2021-06-23
19:31
When saving a level in the level editor, ensure that level strings are null-terminated. file: [cff0e2cf25] check-in: [8bb2908d01] user: user, branch: trunk, size: 46751 [annotate] [blame] [check-ins using] [diff]
2021-05-26
05:03
Implement the \d escape for embedding data in strings. The ability to use this data is not implemented yet. file: [70b9d7bc21] check-in: [a9cc459c7a] user: user, branch: trunk, size: 46704 [annotate] [blame] [check-ins using] [diff]
2021-05-05
20:03
Add the possibility to edit Misc/Dir of existing objects. file: [597bb9c9cc] check-in: [acca5b95d3] user: user, branch: trunk, size: 46554 [annotate] [blame] [check-ins using] [diff]
2021-05-02
20:13
When adding a new object to the MRU list, ensure that it is selected as the current MRU. file: [33f0991a96] check-in: [aaae541d8a] user: user, branch: trunk, size: 46041 [annotate] [blame] [check-ins using] [diff]
2021-05-01
01:10
Allow number pad keys to be used in the class/image selection menu in the level editor. file: [7224dafdb1] check-in: [1b9b475745] user: user, branch: trunk, size: 46029 [annotate] [blame] [check-ins using] [diff]
2021-04-20
02:32
Add the possibility to specify the level version number when importing (optional) file: [58dde81db5] check-in: [2885d776fc] user: user, branch: trunk, size: 45844 [annotate] [blame] [check-ins using] [diff]
2021-04-18
22:44
Implement pasting into text input prompts file: [de2922fa30] check-in: [b43a526002] user: user, branch: trunk, size: 45696 [annotate] [blame] [check-ins using] [diff]
22:20
Correct a mistake in importing level titles file: [c0b2b83ad9] check-in: [ce10815b30] user: user, branch: trunk, size: 45642 [annotate] [blame] [check-ins using] [diff]
2021-03-28
20:25
Complete implementing level strings in the level editor (I think) file: [621212b430] check-in: [51681082e0] user: user, branch: trunk, size: 45644 [annotate] [blame] [check-ins using] [diff]
06:01
Start to implement editing level strings (not finished yet) file: [b7508d9e96] check-in: [59dfac25ca] user: user, branch: trunk, size: 44129 [annotate] [blame] [check-ins using] [diff]
2021-03-27
22:08
Add 'lt' for setting level title by SQL codes, and make ^P in the text editor to remember the last character picket file: [dca0840b6e] check-in: [7518eafb66] user: user, branch: trunk, size: 41133 [annotate] [blame] [check-ins using] [diff]
08:21
Implement the text editor, for editing the level title and level strings (currently, only editing the title is implemented). file: [53e03af8b4] check-in: [1665c0ca5d] user: user, branch: trunk, size: 40887 [annotate] [blame] [check-ins using] [diff]
2021-03-23
05:00
Implement the possibility to add new levels into the puzzle set. file: [52228f0c2a] check-in: [bbdc443497] user: user, branch: trunk, size: 33190 [annotate] [blame] [check-ins using] [diff]
2021-03-11
05:38
Implement importing levels file: [2aa028c0b1] check-in: [04cceae6dc] user: user, branch: trunk, size: 31787 [annotate] [blame] [check-ins using] [diff]
2021-03-06
06:04
Add level exporting. (Importing is not implemented yet.) file: [d19625c559] check-in: [dd82c6e9b5] user: user, branch: trunk, size: 26379 [annotate] [blame] [check-ins using] [diff]
2021-03-02
23:07
Fix another mistake in saving levels file: [2014453d2e] check-in: [5a0f5f4cb4] user: user, branch: trunk, size: 24368 [annotate] [blame] [check-ins using] [diff]
2021-02-23
04:02
Correct a mistake in saving levels in the level editor. file: [e1933f37c4] check-in: [ea89397bdc] user: user, branch: trunk, size: 24368 [annotate] [blame] [check-ins using] [diff]
2021-02-21
00:51
Add editor help for objects, and add support for number pad in some more contexts. file: [966e7a69cf] check-in: [131e9f9ca6] user: user, branch: trunk, size: 24368 [annotate] [blame] [check-ins using] [diff]
00:43
Add saving levels. (Now it is probably ready for public testing.) file: [19de92fbba] check-in: [d89808c09a] user: user, branch: trunk, size: 23808 [annotate] [blame] [check-ins using] [diff]
2021-02-18
05:06
Add 'lc' and 'lv' to set level code and level version. file: [5ea8991e9d] check-in: [5439829a5f] user: user, branch: trunk, size: 19301 [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: [7284a1e678] check-in: [42049107bf] user: user, branch: trunk, size: 19101 [annotate] [blame] [check-ins using] [diff]
2021-02-16
22:21
In add_mru function in editor, do not add blank MRUs file: [7b51e96b29] check-in: [a87bcb73f5] user: user, branch: trunk, size: 19059 [annotate] [blame] [check-ins using] [diff]
07:11
In the level editor, add the possibility to clear levels, resize levels, and to fill the playfield with one kind of object. file: [fba48953dd] check-in: [2f8784fac0] user: user, branch: trunk, size: 19041 [annotate] [blame] [check-ins using] [diff]
2021-02-13
04:46
Add Misc/Dir editing file: [077a253bca] check-in: [94aad6dd1b] user: user, branch: trunk, size: 18778 [annotate] [blame] [check-ins using] [diff]
2021-02-11
22:51
Always use objtrash to free objects in editor, not free file: [f72f24e675] check-in: [b8f0f5f65a] user: user, branch: trunk, size: 14925 [annotate] [blame] [check-ins using] [diff]
22:37
Check for collision layers when adding objects in the editor file: [ecf182b369] check-in: [73439c4682] user: user, branch: trunk, size: 14922 [annotate] [blame] [check-ins using] [diff]
2021-02-09
04:12
Add commands into the editor to add objects into the level. (TODO: Add support for dragging) file: [24b1ea6d74] check-in: [eaf7cc8eb1] user: user, branch: trunk, size: 14716 [annotate] [blame] [check-ins using] [diff]
2021-02-07
04:39
Implement rewrite_class_def (untested so far) file: [5794ce4c6b] check-in: [9f93963467] user: user, branch: trunk, size: 13882 [annotate] [blame] [check-ins using] [diff]
2021-02-06
02:30
Implement MRU selection bindings in editor file: [18ed2d8b41] check-in: [ec992367da] user: user, branch: trunk, size: 12235 [annotate] [blame] [check-ins using] [diff]
2021-02-03
02:13
Implement clicking on MRU on left margin in level editor in order to select one file: [8d6920b388] check-in: [c52084ea2e] user: user, branch: trunk, size: 12045 [annotate] [blame] [check-ins using] [diff]
2020-12-19
22:24
Implement command to create a new empty puzzle set file: [4ddc1ba4e4] check-in: [6d402e1175] user: user, branch: trunk, size: 11879 [annotate] [blame] [check-ins using] [diff]
2020-12-15
02:26
Change the command code of the "select level" command from '^L' to 'go' since a ^ command is not helpful for this situation file: [07a6400988] check-in: [870cc89301] user: user, branch: trunk, size: 11433 [annotate] [blame] [check-ins using] [diff]
2020-11-22
04:29
Implement level selection in game play mode (not yet complete; needs to initialize the level too), and add some more keyboard commands to the class selection menu in the editor. file: [59f741fea8] check-in: [c1e8833d15] user: user, branch: trunk, size: 11433 [annotate] [blame] [check-ins using] [diff]
2020-11-17
00:51
Add possibility to select levels. file: [3d6313a0b5] check-in: [5b7677692b] user: user, branch: trunk, size: 10847 [annotate] [blame] [check-ins using] [diff]
2020-11-16
04:51
Implement properly (hopefully) the mouse button down event in edit.c and game.c file: [9c9daca4d1] check-in: [8119f365c2] user: user, branch: trunk, size: 10774 [annotate] [blame] [check-ins using] [diff]
2020-10-20
23:21
Add game.c file (not implemented much) file: [3d325ead70] check-in: [9d982f0655] user: user, branch: trunk, size: 10619 [annotate] [blame] [check-ins using] [diff]
2019-02-10
18:10
Allow left and right arrow keys in class select menu to select which image file: [edf43e2b05] check-in: [2da745c85b] user: user, branch: trunk, size: 10549 [annotate] [blame] [check-ins using] [diff]
2018-10-31
23:35
Implement more of the class/image select menu file: [ac0c1161ab] check-in: [39715134ca] user: user, branch: trunk, size: 10192 [annotate] [blame] [check-ins using] [diff]
2018-10-28
18:51
Start implementing class/image selection menu file: [928ca89952] check-in: [68e715091a] user: user, branch: trunk, size: 8607 [annotate] [blame] [check-ins using] [diff]
2018-10-26
06:47
A few minor corrections, including displaying width/height of level in editor and allowing loading levels by index. file: [ce143bd0c0] check-in: [01830be55a] user: user, branch: trunk, size: 3863 [annotate] [blame] [check-ins using] [diff]
2018-10-23
03:16
Some more display in the margin in the editor file: [e979aee854] check-in: [31ac1ffcb3] user: user, branch: trunk, size: 3707 [annotate] [blame] [check-ins using] [diff]
2018-10-22
05:41
More stuff in editor and key binding file: [47203e30e6] check-in: [02cc36cf71] user: user, branch: trunk, size: 2173 [annotate] [blame] [check-ins using] [diff]
2018-10-20
18:09
Begin implementing the editor; also start to implement execution of key binding commands file: [574b134f31] check-in: [4d0fdefe0c] user: user, branch: trunk, size: 1407 [annotate] [blame] [check-ins using] [diff]
2018-10-07
04:25
Added: Make some improvements to compile script, and start edit.c (just a stub so far) file: [240eb74098] check-in: [3f12058d2d] user: user, branch: trunk, size: 306 [annotate] [blame] [check-ins using]