MCPcopy Create free account
hub / github.com/crawl/crawl / add

Method add

crawl-ref/source/dlua.cc:124–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void dlua_chunk::add(int line, const string &s)
125{
126 if (first == -1)
127 first = line;
128
129 if (line != last && last != -1)
130 {
131 while (last++ < line)
132 chunk += '\n';
133 }
134
135 chunk += " ";
136 chunk += s;
137 last = line;
138}
139
140void dlua_chunk::set_chunk(const string &s)
141{

Callers 15

apply_markersMethod · 0.45
print_segmentMethod · 0.45
stop_attack_promptFunction · 0.45
pack_buffersMethod · 0.45
create_malign_gatewayFunction · 0.45
_gozag_place_shopFunction · 0.45
pack_buffersMethod · 0.45
draw_minibarsMethod · 0.45
pack_buffersMethod · 0.45
_place_corruption_seedFunction · 0.45
shillelaghFunction · 0.45
pack_buffersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected