Overview
Comment: | Implement diagonal shoving. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
57d6d9a4f724ce42d8e8aabaa7184691 |
User & Date: | user on 2021-04-02 19:32:39 |
Other Links: | manifest | tags |
Context
2021-04-02
| ||
23:39 | Some improvements to documentation check-in: 536bbdfe8a user: user tags: trunk | |
19:32 | Implement diagonal shoving. check-in: 57d6d9a4f7 user: user tags: trunk | |
07:08 | Begin to implement sounds; it is currently unused and is not fully implemented, nor tested yet. check-in: c144d8069c user: user tags: trunk | |
Changes
Modified class.c from [8c2ce69ad5] to [42fb9875e1].
︙ | |||
1337 1338 1339 1340 1341 1342 1343 | 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 | - + | n=tokenv; nxttok(); if(tokent!=TF_CLOSE) ParseError("Close parentheses expected\n"); return n; } for(;;) { if(tokent==TF_CLOSE) return n; |
︙ |
Modified class.doc from [e05ea8d8f3] to [3525425cc1].
︙ | |||
394 395 396 397 398 399 400 | 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 | - + | Shovable Set the Shovable variable for this class to 0x55 (meaning it is shovable in all four directions). (Shovable <dir...>) Set this object to be shovable in the specified directions, which can be |
︙ | |||
1833 1834 1835 1836 1837 1838 1839 | 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 | - + + | === Hit values === This section describes the bits of the return value of the HIT and HITBY messages; these values are also used as the Arg3 of those messages. Some descriptions below are marked with an asterisk. If the Compatible flag is set for the object that returned this value, then all bits with |
︙ | |||
1888 1889 1890 1891 1892 1893 1894 | 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 | - + | bit13 * Abort before actually moving the object and before trying sliding. bit14 * Do not set the Moved flag even if successful. |
︙ | |||
1983 1984 1985 1986 1987 1988 1989 1990 | 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 | + + | * Many variables are limited to 16-bits. * Moving objects is not allowed during LASTIMAGE processing. * The way that the trigger phase works is different. * In the ARRIVED and DEPARTED messages, Arg1 is always zero. * Diagonal shoving is not possible. |
Modified exec.c from [371fab5994] to [6b2118fd7b].
︙ | |||
835 836 837 838 839 840 841 | 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 | - + - + + + + + + + + + + + + + | while(objE!=VOIDLINK) { if(o->oflags&(OF_DESTROYED|OF_VISUALONLY)) break; oE=objects[objE]; if(oE->height>0) { hit&=0xFC287000; v=send_message(objE,obj,MSG_HIT,NVALUE(oE->x),NVALUE(oE->y),NVALUE(hit)); if(v.t) Throw("Type mismatch in HIT/HITBY"); |
︙ |