Files
AM2R-Community-Updates/objects/oLogEntry.object.gmx
2020-12-22 20:54:55 -06:00

161 lines
4.5 KiB
XML

<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>&lt;undefined&gt;</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>0</depth>
<persistent>0</persistent>
<parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</maskName>
<events>
<event eventtype="0" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>label = "";
logid = 0;
newlog = 0;
optionid = 0;
alarm[0] = 1;
tarea_x1 = 0;
tarea_y1 = y - 4;
tarea_x2 = 160;
tarea_y2 = y + 11;
t_x = 0;
t_y = 0;
t_click = 0;
widescreen = oControl.widescreen;
widescreen_space = oControl.widescreen_space;
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="2" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>if (global.gotolog == logid) {
global.curropt = optionid;
with (oLogScreenControl) {
expanded = 1;
event_user(2);
x = (view_wview[0] / 2) + 150 + (3*(widescreen_space/2));
}
}
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="3" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>if (t_click) {
t_x = mouse_x;
t_y = mouse_y;
if (point_in_rectangle(t_x, t_y, tarea_x1, tarea_y1, tarea_x2, tarea_y2)) {
global.curropt = optionid;
with (oLogScreenControl) if (expanded == 0) {
expanded = 1;
event_user(2);
}
}
}
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="8" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>draw_set_font(fontGUI2);
offset = oLogScreenControl.rectoffset * 4;
if (global.curropt == optionid) {
w = string_width(label);
draw_background_ext(bgOptionLine, x - 2, y - 1, w + 4, 1, 0, make_color_rgb(160, 160, 160), 0.4);
}
draw_set_alpha(image_alpha);
draw_set_color(c_black);
draw_text(x + 1 - offset, y - 3, label);
draw_set_color(c_white);
if (global.curropt != optionid) draw_set_color(c_gray);
if (global.newlog[logid]) draw_background(bgLogNew, x - 6, y - 1); // relocated
draw_text(x - offset, y - 4, label);
draw_set_alpha(1);
</string>
</argument>
</arguments>
</action>
</event>
</events>
<PhysicsObject>0</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>0</PhysicsObjectShape>
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>0</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints/>
</object>