MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / PlaceProcPoint

Function PlaceProcPoint

Descent3/procedurals.cpp:481–485  ·  view source on GitHub ↗

Adds one point to a bitmap

Source from the content-addressed store, hash-verified

479}
480// Adds one point to a bitmap
481static inline void PlaceProcPoint(int x, int y, uint8_t color) {
482 x &= (PROC_SIZE - 1);
483 y &= (PROC_SIZE - 1);
484 ProcDestData[y * PROC_SIZE + x] = color;
485}
486// Adds a sphere lightning bolt
487void AddProcSphereLightning(int handle, static_proc_element *proc) {
488 int procnum = proc - GameTextures[handle].procedural->static_proc_elements;

Callers 8

DoDynamicRisingEmberFunction · 0.85
DoDynamicSpinnersFunction · 0.85
DoDynamicRandomEmberFunction · 0.85
DoDynamicRoamersFunction · 0.85
DoDynamicFountainFunction · 0.85
DoDynamicConeFunction · 0.85
DoDynamicFallRightFunction · 0.85
DoDynamicFallLeftFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected