Prev: 46935 Up: Map Next: 47019
46955: Rock Templates
The object records of the four rocks (the types 44 to 47). Set_Up_Room_Objects copies one of them, chosen by the room x, into a decoration record, and then writes the x position that it takes from the table at Room_Object_X_Positions. The y position 160 is the floor. Bytes 10 to 14 give the size of the rock as an obstacle, so that creatures and weapons bounce off it: its half width, the width of its middle, its height, its depth and the x offset of its middle (see Check_Object_Contact). Bit 0 of the redraw flags is set so that the rock is drawn without being erased first.
Rock of type 44.
Rock_Templates 46955 DEFB 44 Type, x, room x, y, room y and attribute (yellow).
46956 DEFB 128
46957 DEFB 0
46958 DEFB 160
46959 DEFB 0
46960 DEFB 70
46961 DEFB 0,0,0,0 Not used.
46965 DEFB 20 Size of the obstacle (see Check_Object_Contact).
46966 DEFB 8
46967 DEFB 34
46968 DEFB 27
46969 DEFB 4
46970 DEFB 1 Redraw flags (bit 0 is set).
Rock of type 45.
46971 DEFB 45 Type, x, room x, y, room y and attribute (yellow).
46972 DEFB 128
46973 DEFB 0
46974 DEFB 160
46975 DEFB 0
46976 DEFB 70
46977 DEFB 0,0,0,0 Not used.
46981 DEFB 22 Size of the obstacle (see Check_Object_Contact).
46982 DEFB 12
46983 DEFB 34
46984 DEFB 27
46985 DEFB 4
46986 DEFB 1 Redraw flags (bit 0 is set).
Rock of type 46.
46987 DEFB 46 Type, x, room x, y, room y and attribute (yellow).
46988 DEFB 128
46989 DEFB 0
46990 DEFB 160
46991 DEFB 0
46992 DEFB 70
46993 DEFB 0,0,0,0 Not used.
46997 DEFB 22 Size of the obstacle (see Check_Object_Contact).
46998 DEFB 12
46999 DEFB 26
47000 DEFB 19
47001 DEFB 4
47002 DEFB 1 Redraw flags (bit 0 is set).
Rock of type 47.
47003 DEFB 47 Type, x, room x, y, room y and attribute (yellow).
47004 DEFB 128
47005 DEFB 0
47006 DEFB 160
47007 DEFB 0
47008 DEFB 70
47009 DEFB 0,0,0,0 Not used.
47013 DEFB 18 Size of the obstacle (see Check_Object_Contact).
47014 DEFB 8
47015 DEFB 18
47016 DEFB 11
47017 DEFB 0
47018 DEFB 1 Redraw flags (bit 0 is set).
Prev: 46935 Up: Map Next: 47019