annotate Engine/stru298.cpp @ 2553:48708da03b7f

Party Creation UI logic separated from MainMenu
author a.parshin
date Wed, 13 May 2015 02:20:05 +0200
parents 68cdef6879a0
children
rev   line source
2499
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1 #define _CRTDBG_MAP_ALLOC
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
2 #include <stdlib.h>
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
3 #include <crtdbg.h>
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
4
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
5 #include "stru298.h"
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
6
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
7
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
8 //----- (0040261D) --------------------------------------------------------
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
9 void stru298::Add(__int16 uID, __int16 a3, __int16 x, __int16 y, __int16 z, char a7, char a8)
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
10 {
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
11 if (count < 100)
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
12 {
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
13 pIDs[count] = uID;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
14 pXs[count] = x;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
15 pYs[count] = y;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
16 pZs[count] = z;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
17 field_324[count] = a3;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
18 field_3EC[count] = a8;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
19 field_450[count++] = a7;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
20 }
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
21 }