122 |
|
_COrTextArea_Resize Oni_COrTextArea_Resize = (_COrTextArea_Resize)0; |
123 |
|
int16_t ONICALL DD_COrTextArea_Resize(void* inTextArea, UUtRect* inBounds, int16_t inNumTextEntries) { |
124 |
|
if (inTextArea == COgCommandLine) { |
125 |
< |
inBounds->top -= 5; |
125 |
> |
inBounds->top -= 8; |
126 |
|
} |
127 |
|
return Oni_COrTextArea_Resize(inTextArea, inBounds, inNumTextEntries); |
128 |
|
} |
136 |
|
OBJtOSD_All *inOSD = (OBJtOSD_All *) inObject->object_data; |
137 |
|
OBJtOSD_TriggerVolume *trigger_osd = &inOSD->osd.trigger_volume_osd; |
138 |
|
M3tPoint3D *points = trigger_osd->volume.worldPoints; |
139 |
– |
M3tPoint3D trigger_center = {0, 0, 0}; |
139 |
|
UUtUns32 shade = 0xFFFFFF; |
140 |
|
|
141 |
|
if (!OBJgTriggerVolume_Visible) { |
164 |
|
M3rGeom_Line_Light(points + 1, points + 5, shade); |
165 |
|
M3rGeom_Line_Light(points + 3, points + 7, shade); |
166 |
|
M3rGeom_Line_Light(points + 2, points + 6, shade); |
168 |
– |
|
169 |
– |
for(itr = 0; itr < M3cNumBoundingPoints; itr++) |
170 |
– |
{ |
171 |
– |
MUmVector_Add(trigger_center, trigger_center, points[itr]); |
172 |
– |
} |
173 |
– |
|
174 |
– |
MUmVector_Scale(trigger_center, (1.0f / ((float) M3cNumBoundingPoints))); |
167 |
|
} |
168 |
|
|
169 |
|
_ONrMechanics_Register Oni_ONrMechanics_Register = (_ONrMechanics_Register)0; |