| 1053 | return ret; |
| 1054 | } |
| 1055 | int ObjInitMarker(object *objp) { |
| 1056 | int ret = 1; |
| 1057 | static int first = 1; |
| 1058 | static int polynum = -1; |
| 1059 | ASSERT(objp->type == OBJ_MARKER); |
| 1060 | // Set size & shields |
| 1061 | objp->shields = 100; |
| 1062 | objp->size = 2.0; |
| 1063 | // Set up control info |
| 1064 | SetObjectControlType(objp, CT_NONE); |
| 1065 | objp->movement_type = MT_NONE; |
| 1066 | ObjSetRenderPolyobj(objp, Marker_polynum); |
| 1067 | PageInPolymodel(Marker_polynum, OBJ_MARKER, &objp->size); |
| 1068 | objp->lm_object.used = 0; |
| 1069 | objp->lighting_render_type = LRT_STATIC; |
| 1070 | return ret; |
| 1071 | } |
| 1072 | int ObjInitDoor(object *objp, bool reinit) { |
| 1073 | // Set up movement info |
| 1074 | objp->movement_type = MT_NONE; |
no test coverage detected