Overview
Comment: | Implement defining the CollisionLayers value for a class. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
34870ce7e8199730416aa0a45f5018af |
User & Date: | user on 2021-01-08 09:14:04 |
Other Links: | manifest | tags |
Context
2021-01-09
| ||
00:56 | Implement the solution replay check-in: 3edc879c32 user: user tags: trunk | |
2021-01-08
| ||
09:14 | Implement defining the CollisionLayers value for a class. check-in: 34870ce7e8 user: user tags: trunk | |
02:29 | Implement loading/saving the move list check-in: eb23399aef user: user tags: trunk | |
Changes
Modified class.c from [234c623d64] to [e553676803].
︙ | |||
1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 | 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 | + + + + | case OP_SUBS: ptr=parse_instructions(cla,ptr,hash,compat); break; case OP_LABEL: pushback=1; ptr=parse_instructions(cla,ptr,hash,compat); break; case OP_COLLISIONLAYERS: cl->collisionLayers=i=class_def_misc(); if(i&~255) ParseError("CollisionLayers out of range\n"); break; case 0x0200 ... 0x02FF: set_message_ptr(cla,tokenv&255,ptr); ptr=parse_instructions(cla,ptr,hash,compat); break; case 0xC000 ... 0xFFFF: set_message_ptr(cla,tokenv+256-0xC000,ptr); ptr=parse_instructions(cla,ptr,hash,compat); |
︙ |
Modified class.doc from [f20817474d] to [843e407ddb].
︙ | |||
240 241 242 243 244 245 246 247 248 249 250 251 252 253 | 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 | + + + + | each of which is either zero or one. They are meant to be on five lines of five numbers each, making a 5x5 matrix, where the centre means this object's location. (Climb <number>) Define the Climb variable for this class. (CollisionLayers <numbers...>) Define the CollisionLayers variable for this class. The format is the same as for Misc4 (see below), but only the low 8-bits are usable. Compatible Sets the Compatible flag for this class. ,Compatible Sets the Compatible flag for this class, but removes the restriction of some variables limited to 16-bits. |
︙ |