Free Hero Mesh

History of game.c of 3bac20132497bea8
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 file game.c at check-in 3bac20132497bea8

2023-10-31
23:36
Make control and middle button to draw lines from clicked location for helping with alignment. file: [64a615a82b] check-in: [382666e88a] user: user, branch: trunk, size: 60138 [annotate] [blame] [check-ins using] [diff]
2023-10-18
04:56
Change colour of (X,Y) coordinates to make it easier to read. file: [4b1de8bd7f] check-in: [1ca3a03298] user: user, branch: trunk, size: 60014 [annotate] [blame] [check-ins using] [diff]
2023-10-17
01:33
Implement SHIFT+DELETE to delete moves up to the mark. file: [db30238ae3] check-in: [5c766650a2] user: user, branch: trunk, size: 60014 [annotate] [blame] [check-ins using] [diff]
2023-10-16
00:12
Implement save state slots, including loading personal best solutions. file: [1d7efeafa0] check-in: [cc0df8402f] user: user, branch: trunk, size: 59412 [annotate] [blame] [check-ins using] [diff]
2023-10-13
04:11
Add the ^? command (which is used only for debugging and may be changed in future). file: [8b747a8794] check-in: [8ad7607451] user: user, branch: trunk, size: 56732 [annotate] [blame] [check-ins using] [diff]
2023-08-29
19:25
Make CTRL+DEL to delete all moves ahead of the current point in the move list, as described in a note in the HEARTS1 puzzle set. file: [b5e694ad5d] check-in: [e5df02f6f7] user: user, branch: trunk, size: 55908 [annotate] [blame] [check-ins using] [diff]
2023-07-18
05:43
Add 'rS' to set replay speed to a number with absolute instead of relative setting. file: [c6d45694fd] check-in: [ec8a917348] user: user, branch: trunk, size: 55561 [annotate] [blame] [check-ins using] [diff]
2022-10-05
23:26
Implement LastR, NextR, ThisR; this is not tested and not fully complete; it will be used in future to implement replacing objects with new ones in COLLIDE and COLLIDEBY messages. file: [522c906303] check-in: [1114ae75d5] user: user, branch: trunk, size: 55497 [annotate] [blame] [check-ins using] [diff]
2022-07-19
18:03
Check if sqlite3_column_text returns a null pointer, in the levels_column function in game.c. file: [c6efffb6bc] check-in: [e4569f54cc] user: user, branch: trunk, size: 55455 [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: [548c7bc0d9] check-in: [3bac201324] user: user, branch: trunk, size: 55432 [annotate] [blame] [check-ins using] [diff]
2022-07-06
19:36
Implement coordinate input. file: [05d4b7dc52] check-in: [87a8bc6a74] user: user, branch: trunk, size: 55133 [annotate] [blame] [check-ins using] [diff]
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: [d2afebc6be] check-in: [156b0a7c35] user: user, branch: trunk, size: 54307 [annotate] [blame] [check-ins using] [diff]
2022-07-02
16:14
Implement -O switch to output private solutions on stdout. file: [d822424b13] check-in: [169561bd42] user: user, branch: trunk, size: 54304 [annotate] [blame] [check-ins using] [diff]
2022-07-01
21:09
Change MoveItem to Uint16 and fix the encoders/decoders for future use (only numbers 8 to 255 are currently in use). file: [d17a145787] check-in: [1aadd6299e] user: user, branch: trunk, size: 53191 [annotate] [blame] [check-ins using] [diff]
2022-06-30
05:46
Implement the .saveSolutions.private option (and the SQL functions to work with it), and remove the unused .allowMouseWarp option. file: [740d5e2168] check-in: [e71ea9875c] user: user, branch: trunk, size: 52962 [annotate] [blame] [check-ins using] [diff]
02:50
Change some things in game.c to use sizeof(MoveItem) instead of assuming that each move item is one byte long. file: [2346a86e7d] check-in: [f4c84adc9c] user: user, branch: trunk, size: 51260 [annotate] [blame] [check-ins using] [diff]
2022-06-29
05:54
Make do_load_moves and the SQL solution move list function using the new move list decoding functions. file: [941e9e54d5] check-in: [063db0939e] user: user, branch: trunk, size: 51095 [annotate] [blame] [check-ins using] [diff]
2022-06-28
03:57
Some more changes in game.c and in documentation, to work with the new move list encoding/decoding functions. file: [e7202bf383] check-in: [c295ff21b6] user: user, branch: trunk, size: 51161 [annotate] [blame] [check-ins using] [diff]
2022-06-26
04:05
Use the new move list functions in move list import/export functions, and change the type of replay_size from Uint16 to size_t. file: [dd24aafcf7] check-in: [cafa4fd29b] user: user, branch: trunk, size: 49684 [annotate] [blame] [check-ins using] [diff]
2022-06-22
22:40
Start to implement move list encoding, to be used in future if coordinate input is implemented (and possibly other features that might benefit from this capability). file: [104890bd44] check-in: [77553ee70b] user: user, branch: trunk, size: 49976 [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: [3e921952d6] check-in: [33f8d50d24] user: user, branch: trunk, size: 48796 [annotate] [blame] [check-ins using] [diff]
2022-03-03
01:39
If you click on an object to view the description but doesn't have one, try the one below, until finding one that has a description (if any). file: [6c6e1550de] check-in: [ce300fde56] user: user, branch: trunk, size: 48726 [annotate] [blame] [check-ins using] [diff]
2022-02-11
21:25
Implement the connection movement. file: [145146cd02] check-in: [7f3f255b14] user: user, branch: trunk, size: 48670 [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: [73bec037e1] check-in: [d15195a921] user: user, branch: trunk, size: 48497 [annotate] [blame] [check-ins using] [diff]
2022-01-07
05:46
Implement divisions of levels in the list of levels menu in the game (only for puzzle sets that have any divisions). file: [e517a0c994] check-in: [5c59b19d96] user: user, branch: trunk, size: 48429 [annotate] [blame] [check-ins using] [diff]
2021-12-30
21:49
Implement pattern strings and some other commands, an da few more corrections, in the (LevelTable) block implementation. file: [2c724763e6] check-in: [b629fea66f] user: user, branch: trunk, size: 45307 [annotate] [blame] [check-ins using] [diff]
2021-12-29
00:29
Implement all of the rest of the (LevelTable) block and its displaying and processing, except the string matching, which will be implemented later. file: [7219595d81] check-in: [d24dfda327] user: user, branch: trunk, size: 45305 [annotate] [blame] [check-ins using] [diff]
2021-12-27
20:33
More corrections, and more work on implementation, of custom level table definitions. file: [b19cf21fe8] check-in: [702847e470] user: user, branch: trunk, size: 45155 [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: [d6b8ec0435] check-in: [66cf1d39ad] user: user, branch: trunk, size: 43119 [annotate] [blame] [check-ins using] [diff]
2021-12-21
05:32
Improvements to list of levels. file: [de971fc52d] check-in: [de3c1465df] user: user, branch: trunk, size: 43079 [annotate] [blame] [check-ins using] [diff]
2021-12-17
03:01
Implement list of levels (currently the tall mode lacks details; this will be added in future). file: [853adbf6a3] check-in: [2b9a22d541] user: user, branch: trunk, size: 42331 [annotate] [blame] [check-ins using] [diff]
2021-12-15
07:12
Auto-update the LEVELS table when it is appropriate to do so. file: [5006bb9149] check-in: [656b937843] user: user, branch: trunk, size: 35858 [annotate] [blame] [check-ins using] [diff]
2021-11-30
04:36
Display descriptions of inventory items when clicking them. file: [641fb75f65] check-in: [4ff3818394] user: user, branch: trunk, size: 35634 [annotate] [blame] [check-ins using] [diff]
2021-11-25
01:17
Implement .autoWin option (to do something if you have won, e.g. auto advance to next level). file: [2ace16c827] check-in: [ccc683e688] user: user, branch: trunk, size: 35070 [annotate] [blame] [check-ins using] [diff]
2021-10-28
02:37
Implement ^x and also some , and = variants of a few instructions. file: [17a420d135] check-in: [0d3bc1253d] user: user, branch: trunk, size: 33296 [annotate] [blame] [check-ins using] [diff]
2021-10-24
07:41
Disallow inserting/deleting moves during the solution replay file: [f49e5e6f35] check-in: [730d600d55] user: user, branch: trunk, size: 33151 [annotate] [blame] [check-ins using] [diff]
2021-10-23
05:43
Implement move list deletion/insertion mode. file: [75a646347e] check-in: [d950a4244a] user: user, branch: trunk, size: 32963 [annotate] [blame] [check-ins using] [diff]
2021-10-02
01:55
Implement composite puzzle sets file: [25a4dc3668] check-in: [4919d2c22e] user: user, branch: trunk, size: 31931 [annotate] [blame] [check-ins using] [diff]
2021-09-30
21:08
Add SOLUTION_MOVE_LIST function, F9 to flash player location, shift and middle mouse button, and a documentation correction. file: [2ff75549f9] check-in: [28b482dea1] user: user, branch: trunk, size: 31911 [annotate] [blame] [check-ins using] [diff]
2021-09-12
04:37
Add possibility to adjust replay speed at run time. file: [63ee4dfd40] check-in: [1d89b3ab66] user: user, branch: trunk, size: 31818 [annotate] [blame] [check-ins using] [diff]
2021-09-09
06:18
Free Hero Mesh is starting to be bizarro. file: [012a2779dc] check-in: [9ded322f4f] user: user, branch: trunk, size: 31652 [annotate] [blame] [check-ins using] [diff]
2021-06-18
00:28
Display yellow level numbers in solution replay mode file: [437c5a9174] check-in: [d803d36742] user: user, branch: trunk, size: 31501 [annotate] [blame] [check-ins using] [diff]
2021-06-10
18:51
Remember which levels have been solved in the user cache database file: [75daa49f6d] check-in: [c20acae981] user: user, branch: trunk, size: 31459 [annotate] [blame] [check-ins using] [diff]
2021-05-23
02:22
Implement a key binding command to record the solution even if auto recording solutions is not enabled. file: [775aabf4a7] check-in: [1a2fee8a44] user: user, branch: trunk, size: 31131 [annotate] [blame] [check-ins using] [diff]
2021-05-18
05:27
Implement slow replay mode. file: [82e0e69943] check-in: [7498f8d701] user: user, branch: trunk, size: 31006 [annotate] [blame] [check-ins using] [diff]
2021-04-07
22:05
Allow displaying help and level strings in the examine object menu. file: [1849237165] check-in: [dc43d63bc6] user: user, branch: trunk, size: 30466 [annotate] [blame] [check-ins using] [diff]
2021-03-29
23:48
Implement saving solutions. file: [f4202f9aed] check-in: [07dd5d8d17] user: user, branch: trunk, size: 29870 [annotate] [blame] [check-ins using] [diff]
2021-03-23
05:06
Fix a bug in game.c causing it to use the wrong replay data when switching between the game and editor. file: [be2f426be6] check-in: [d0f39b05fa] user: user, branch: trunk, size: 28302 [annotate] [blame] [check-ins using] [diff]
2021-03-20
04:36
Make some corrections to the implementation of dead animations file: [9b17d3be8b] check-in: [d033ec4bd1] user: user, branch: trunk, size: 28238 [annotate] [blame] [check-ins using] [diff]
02:26
Implement death animations file: [6482a4e0d5] check-in: [152aca780c] user: user, branch: trunk, size: 28196 [annotate] [blame] [check-ins using] [diff]
2021-03-19
06:09
Implement sleeping during autotest if the .progress resource is set to a negative number. file: [bcf987b98f] check-in: [a747e28795] user: user, branch: trunk, size: 27515 [annotate] [blame] [check-ins using] [diff]
2021-03-08
06:16
Fix 16-bit writes in compatibility mode file: [bc87d2bc32] check-in: [2bc4991d49] user: user, branch: trunk, size: 27478 [annotate] [blame] [check-ins using] [diff]
2021-03-07
21:44
Implement (Help Misc1) for help text to be defined by the level strings file: [3633182984] check-in: [42d0691852] user: user, branch: trunk, size: 27395 [annotate] [blame] [check-ins using] [diff]
03:53
Make some changes for the case when both -a and -t are specified file: [9cf5f3a549] check-in: [4f7bcb6296] user: user, branch: trunk, size: 27136 [annotate] [blame] [check-ins using] [diff]
2021-03-06
05:22
Add the global examine command file: [03a7e35a75] check-in: [c1b51c9521] user: user, branch: trunk, size: 27050 [annotate] [blame] [check-ins using] [diff]
2021-03-05
06:57
When you toggle solution replay, ensure that the user replay is saved (if any) file: [f0b75ac91a] check-in: [3c53032e2c] user: user, branch: trunk, size: 25169 [annotate] [blame] [check-ins using] [diff]
2021-02-23
04:10
Add an indication of win/lose. file: [f645560f73] check-in: [e838ccc089] user: user, branch: trunk, size: 25131 [annotate] [blame] [check-ins using] [diff]
2021-02-22
04:53
Add a mark type and some instructions dealing with it. file: [057f0a96ef] check-in: [902bd1a80d] user: user, branch: trunk, size: 24987 [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: [0d57595d6a] check-in: [eaf7cc8eb1] user: user, branch: trunk, size: 24913 [annotate] [blame] [check-ins using] [diff]
2021-02-07
00:16
Implement load/import/export move lists. file: [627e7b922e] check-in: [9769459c6a] user: user, branch: trunk, size: 24907 [annotate] [blame] [check-ins using] [diff]
2021-01-10
03:23
Implement autotest mode and add the config.doc file file: [bcb10cb33f] check-in: [42f95966ca] user: user, branch: trunk, size: 23400 [annotate] [blame] [check-ins using] [diff]
2021-01-09
03:03
Fix a mistake in the solution replay and document that command. file: [5f7adb0422] check-in: [8524828a0e] user: user, branch: trunk, size: 21888 [annotate] [blame] [check-ins using] [diff]
00:56
Implement the solution replay file: [a95ee4649a] check-in: [3edc879c32] user: user, branch: trunk, size: 21895 [annotate] [blame] [check-ins using] [diff]
2021-01-08
02:29
Implement loading/saving the move list file: [537835c926] check-in: [eb23399aef] user: user, branch: trunk, size: 20736 [annotate] [blame] [check-ins using] [diff]
2021-01-07
07:42
Add a placeholder icon for the new move at the end of the move list file: [e1f2a7b97d] check-in: [7a6ec6b4a1] user: user, branch: trunk, size: 19640 [annotate] [blame] [check-ins using] [diff]
2021-01-06
22:07
Implement clicking on the move list to rewind/replay, and display the move number when hovering the move list file: [6379500623] check-in: [6aab82917f] user: user, branch: trunk, size: 19544 [annotate] [blame] [check-ins using] [diff]
2021-01-05
07:12
Implement displaying the replay list file: [8e4e41abe4] check-in: [d308a8c8ca] user: user, branch: trunk, size: 18770 [annotate] [blame] [check-ins using] [diff]
2021-01-04
07:15
Implement the inventory display file: [271271dcf7] check-in: [0ba0570c8c] user: user, branch: trunk, size: 18334 [annotate] [blame] [check-ins using] [diff]
02:44
Implement replay marks. file: [ba2cd038c4] check-in: [0393bebb68] user: user, branch: trunk, size: 17268 [annotate] [blame] [check-ins using] [diff]
00:39
Start to implement replay. (The replay implementation is not yet complete; it doesn't display the replay list anywhere, nor does it save it, nor replay solutions.) file: [6ca5fb9cf3] check-in: [1c62f22813] user: user, branch: trunk, size: 16927 [annotate] [blame] [check-ins using] [diff]
2020-12-21
01:20
Implement LocateMe file: [9af2d99ebb] check-in: [c32d302e15] user: user, branch: trunk, size: 15775 [annotate] [blame] [check-ins using] [diff]
2020-12-20
21:40
Implement '^d' and horizontal lines in popup texts file: [718011a9b2] check-in: [0770ad617e] user: user, branch: trunk, size: 15067 [annotate] [blame] [check-ins using] [diff]
2020-12-18
19:34
Change the object examination screen to correctly check the generation of any object which is referenced in a variable file: [0e527e4bff] check-in: [6925d721e0] user: user, branch: trunk, size: 14462 [annotate] [blame] [check-ins using] [diff]
08:07
Many changes (still not quite right, it seems) file: [8fca8ad497] check-in: [a5ad5e4eeb] user: user, branch: trunk, size: 14429 [annotate] [blame] [check-ins using] [diff]
2020-12-17
00:28
Implement popup text (partially) file: [4ed4013de1] check-in: [00363b01aa] user: user, branch: trunk, size: 14415 [annotate] [blame] [check-ins using] [diff]
2020-12-16
06:25
Partially implement game input handling (so far, recording is not implemented); also implement the input phase and beginning phase so far file: [2c811f4938] check-in: [3cce7686db] user: user, branch: trunk, size: 14124 [annotate] [blame] [check-ins using] [diff]
00:37
Correct a few problems in the animation handling file: [d0dfda7e81] check-in: [3608bd2d5d] user: user, branch: trunk, size: 13424 [annotate] [blame] [check-ins using] [diff]
00:08
Start the implementation of animations. file: [fc378111c4] check-in: [0f84344e70] user: user, branch: trunk, size: 13380 [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: [39fcdeb76e] check-in: [870cc89301] user: user, branch: trunk, size: 11989 [annotate] [blame] [check-ins using] [diff]
2020-12-10
22:26
Implement object examine mode better now. file: [0ea21b73a0] check-in: [a84d299534] user: user, branch: trunk, size: 11989 [annotate] [blame] [check-ins using] [diff]
05:37
Start to implement object examination menu in game.c; this revealed that there are still some duplicate objects being loaded, though file: [d5437772c7] check-in: [76cf67a257] user: user, branch: trunk, size: 6187 [annotate] [blame] [check-ins using] [diff]
2020-12-05
22:29
Add a few of the things necessary to implement timers, for animation. file: [265f8fa7b6] check-in: [3ec62d29f5] user: user, branch: trunk, size: 3993 [annotate] [blame] [check-ins using] [diff]
2020-12-02
05:41
Implement begin_level() and screen_message() file: [cdd25f4bc4] check-in: [435ee485bb] user: user, branch: trunk, size: 3633 [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: [7106f2aed5] check-in: [c1e8833d15] user: user, branch: trunk, size: 3463 [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: [adfd260a0a] check-in: [8119f365c2] user: user, branch: trunk, size: 3390 [annotate] [blame] [check-ins using] [diff]
2020-10-20
23:21
Added: Add game.c file (not implemented much) file: [39a9a6de05] check-in: [9d982f0655] user: user, branch: trunk, size: 3237 [annotate] [blame] [check-ins using]