summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b64706)
raw | patch | inline | side by side (parent: 2b64706)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Thu, 31 Aug 2017 22:47:55 +0000 (01:47 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Fri, 1 Sep 2017 00:33:55 +0000 (03:33 +0300) |
src/game/g_triggers.pas | patch | blob | history |
index a1183e8e6899aacf51d23705851c21330fbdbcb1..6698288c33cda673ec4fe9129256171494b1fc1c 100644 (file)
--- a/src/game/g_triggers.pas
+++ b/src/game/g_triggers.pas
end;
gTriggers[find_id] := Trigger;
- e_LogWritefln('created trigger with map index %s, findid=%s (%s)', [Trigger.mapIndex, find_id, Trigger.mapId]);
+ //e_LogWritefln('created trigger with map index %s, findid=%s (%s)', [Trigger.mapIndex, find_id, Trigger.mapId]);
{
writeln('trigger #', find_id, ': pos=(', Trigger.x, ',', Trigger.y, ')-(', Trigger.width, 'x', Trigger.height, ')',
// Êîëè÷åñòâî òðèããåðîâ:
Mem.WriteInt(count);
- e_LogWritefln('saving %s triggers (count=%s)', [Length(gTriggers), count]);
+ //e_LogWritefln('saving %s triggers (count=%s)', [Length(gTriggers), count]);
if count = 0 then exit;
Mem.WriteByte(gTriggers[i].TriggerType);
if (gTriggers[i].TriggerType = TRIGGER_NONE) then continue; // empty one
// Ñïåöèàëüíûå äàííûå òðèããåðà: äà â æîïó, ïîòîì èç êàðòû îïÿòü âûòàùèì; ñîõðàíèì òîëüêî èíäåêñ
- e_LogWritefln('=== trigger #%s saved ===', [gTriggers[i].mapIndex]);
+ //e_LogWritefln('=== trigger #%s saved ===', [gTriggers[i].mapIndex]);
Mem.WriteInt(gTriggers[i].mapIndex);
//p := @gTriggers[i].Data;
//Mem.WriteMemory(p, SizeOf(TTriggerData));