Subversion Repositories public

Rev

Rev 217 | Rev 245 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 217 Rev 223
Line 132... Line 132...
132
	}
132
	}
133
 
133
 
134
	return NULL;
134
	return NULL;
135
}
135
}
136
 
136
 
-
 
137
LAP *disassemble::getLapT(uint32 time)
-
 
138
{
-
 
139
LAP_NODE *akt = lap_node;
-
 
140
 
-
 
141
	while (akt)
-
 
142
	{
-
 
143
	   if ((akt->lap->start_time + akt->lap->total_time / 100) >= time)
-
 
144
	      return akt->lap;
-
 
145
 
-
 
146
	   akt = akt->next;
-
 
147
	}
-
 
148
 
-
 
149
	return NULL;
-
 
150
}
-
 
151
 
137
RUN_NODE *disassemble::addRun ()
152
RUN_NODE *disassemble::addRun ()
138
{
153
{
139
RUN_NODE *akt, *n;
154
RUN_NODE *akt, *n;
140
 
155
 
141
	if (run_node == 0)		// First run to add
156
	if (run_node == 0)		// First run to add