MCPcopy Create free account
hub / github.com/SimHacker/micropolis / Init

Method Init

MicropolisCore/src/CellEngine/src/cellengine.cpp:306–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304
305
306void CellEngine::Init()
307{
308 name = "";
309 screenMem = NULL;
310 screenWidth = 0;
311 screenHeight = 0;
312 screenRowBytes = 0;
313 backMem = NULL;
314 backSize = 0;
315 backRowBytes = 0;
316 backWidth = 0;
317 backHeight = 0;
318 backBorder = 2;
319 frontMem = NULL;
320 maskMem = NULL;
321 maskRowBytes = 0;
322 maskWidth = 0;
323 maskHeight = 0;
324 masked = 0;
325 neighborhood = 33; // garble
326 rule = NULL;
327 ruleStatic = 0;
328 ruleSize = 0;
329 ruleName = NULL;
330 x = 0;
331 y = 0;
332 dx = 0;
333 dy = 0;
334 width = 0;
335 height = 0;
336 idealWidth = 0;
337 idealHeight = 0;
338 phase = 0;
339 ticks = 0;
340 wrap = 5;
341 steps = 1;
342 frob = -1;
343 rumble = 0;
344 rumblemax = 0;
345 hubba = 0;
346 inflation = 0;
347 high = 255;
348 low = 0;
349 maskClip = 0;
350 moveImage = 0;
351 numbera = 0;
352 numberb = 0;
353 numberc = 0;
354 anglea = 0;
355 angleb = 0;
356 anglec = 0;
357 pointax = 0;
358 pointay = 0;
359 pointbx = 0;
360 pointby = 0;
361 pointcx = 0;
362 pointcy = 0;
363 clipRects = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected