Overview
Comment: | Several minor corrections to documentation. No code changes. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
3a60ccaef6965a85d09ade7b7ef6ae8d |
User & Date: | user on 2022-02-14 08:01:07 |
Other Links: | manifest | tags |
Context
2022-02-14
| ||
08:22 | Implement the (userflags) syntax with an implied attribute. check-in: 7268a9ce16 user: user tags: trunk | |
08:01 | Several minor corrections to documentation. No code changes. check-in: 3a60ccaef6 user: user tags: trunk | |
2022-02-13
| ||
19:32 | Implement XStep and YStep instructions. check-in: a6d1d398e5 user: user tags: trunk | |
Changes
Modified ARCHITECTURE from [cf4caa50f5] to [776275acf7].
︙ | |||
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | + + + - + + - + + | (locate_me) which is called by exec.c. hash.c,hash.h: A set of functions for computing cryptographic hashes. These functions can be used outside of Free Hero Mesh, too. If you want to add new algorithms, use the multicodec table to assign the numbers. (Currently they are not used for anything, but some planned features may use it in future.) imgtofhm.c: A separate program (not compiled into Free Hero Mesh) for batch importing pictures into Free Hero Mesh. instruc,instruc.h,instruc.js: The "instruc" file contains a list of the keywords and internal operator names used in the class definitions. Some of these are only used internally, although most are available directly as keywords. Many are also opcodes in the compiled P-code, although some are only used as keywords, which are handled during class loading. The instruc.js program generates instruc.h from instruc. keyicons.xbm: Graphics for key icons. These are used to display the replay |
︙ | |||
81 82 83 84 85 86 87 | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | - + + | quarks for use with the resource manager. The quarks.js program converts quarks into quarks.h. smallxrm.c,smallxrm.h: An implementation of the X resource manager. This can be used independently from Free Hero Mesh. sound.c: Implements sound effects. Also deals with loading sound effects, |
︙ |
Modified class.doc from [36fb7b963b] to [6a4cbc1458].
︙ | |||
79 80 81 82 83 84 85 | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | - + | \c Makes further text centred. \dDATA\ Includes inline data in the string. The data is not displayed, but can be read by class codes, or used in level titles to provide data |
︙ | |||
580 581 582 583 584 585 586 | 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 | - + + - + + | * Object: A reference to an object. There are no literals of this type. * String: A string in quotation marks. There are no string manipulation functions; the only thing that can be done with a string is to display it, or to compare if one string matches another. * Sound: A named sound effect. Values of this type cannot be compared with |
︙ | |||
1245 1246 1247 1248 1249 1250 1251 | 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 | - + | ArraySlice ( array start count -- array ) Make a slice of an array. The new reference aliases the original array. Coordinates are zero-based. Assassinate ( -- ) ** Destroy this object without sending any messages. The object is marked as destroyed, but its variables are still accessible until the garbage |
︙ | |||
1509 1510 1511 1512 1513 1514 1515 | 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 | - + | Checks hardness/sharpness and shoving like is done by Move, subject to From and Arg3. The direction is a direction relative to From, not to Self. The result is 1 if shoving or sharpness is successful, or 0 otherwise. This will update Arg3,including at least setting the low three bits; the new value of Arg3 may then be used as the return value from HITBY. It is intended that this instruction is used inside of a HITBY block, in case you want to do some of your own processing. The |
︙ | |||
1638 1639 1640 1641 1642 1643 1644 | 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 | - + | ,min ( in1 in2 -- out ) Whichever input number is lesser (signed). mod ( in1 in2 -- out ) Unsigned divide in1 by in2 producing the remainder. ,mod ( in1 in2 -- out ) |
︙ | |||
1763 1764 1765 1766 1767 1768 1769 | 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 | - + + | ,ObjDir ( obj dir -- obj ) Find the top-most object in the cell one step in the specified direction from the specified object. ObjLayerAt ( layers x y -- obj ) Find an object with the given CollisionLayers bits set at that location. If you specify multiple bits, it finds one with any of those bits. (It |
︙ | |||
1808 1809 1810 1811 1812 1813 1814 | 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 | - + | Rel ( dir -- dir ) Resolves a relative direction to an absolute direction. ,Rel ( obj dir -- dir ) Resolves a relative direction to an absolute direction, using the direction of the specified object as the base. If zero is specified |
︙ | |||
1897 1898 1899 1900 1901 1902 1903 | 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 | - + | Sweep ( xstart ystart xend yend order msg arg1 arg2 -- ) Send a message to all objects in the specified rectangle, given its corners. The coordinates are treated as signed, so you can safely make a surrounding rectangle with a specified radius if wanted. If all of the coordinates are out of range and not on opposite sides of the playfield, no messages are sent. The order of sending the messages is starting at |
︙ | |||
1938 1939 1940 1941 1942 1943 1944 | 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 | - + | pending, it will clear the trigger and send it like it does during the trigger phase, setting Arg1 as appropriate, but From is set to the object calling it instead of 0, and Arg2 and Arg3 will be inherited from the current values of those variables. The return value is ignored. Since the trigger is cleared before it is sent, it is safe for objects to call the triggers of objects in a loop. |
︙ | |||
2728 2729 2730 2731 2732 2733 2734 | 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 | - + | The label name must have a colon at front; if a comma is also added then numeric values of this column are treated as signed. (<string> <label> <width> <format> <color>) Defines a display column. The <label> is the name of the data column. The <width> is a number 1 to 255 or it can be * for fill width; only the last column is allowed to be fill width (although it is also OK if |
︙ |
Modified edit.doc from [5f662b4d3a] to [d2b98051f2].
︙ | |||
206 207 208 209 210 211 212 | 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | - + | one above or below by shift and arrows. If you push alt and arrows, will move the cursor to the next division in that direction. Push insert to add a division (just above the cursor), or delete to delete a division (only divisions can be deleted in this way, not levels). Another way to reorder the items is to add marks by pushing F2 (or click |
︙ |
Modified picedit.doc from [fe0ca8910f] to [5b2aad712f].
︙ | |||
89 90 91 92 93 94 95 | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | - + | square in order for this to work. F2 Rotate marked area counterclockwise by 90 degrees. The marked area must be square in order for this to work. F3 |
︙ | |||
203 204 205 206 207 208 209 | 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 | - + - + - + | For clicking in the palette or the Pick mode, with the middle or right mouse button, you can also push CTRL or SHIFT keys with it in order to affect only odd or only even coordinates. === Dependent pictures === |