Kp
778d399fc1
Fix render build failure for +debug no-editor
2014-08-18 00:11:51 +00:00
Kp
353e22d314
Default construct g3s_codes to 0/ff
2014-08-16 18:14:11 +00:00
Kp
2a3176dc98
Use array<> for segment members
2014-08-16 18:14:00 +00:00
Kp
bd1ca6bf4d
Rewrite find_seg_side to be iterator based
2014-08-16 17:59:36 +00:00
Kp
47d0ecee39
Use array<> for get_side_verts
2014-08-16 17:42:23 +00:00
Kp
125d9257be
Use special type names for segment/object numbers
2014-08-13 02:57:12 +00:00
Kp
276d70d4c9
Move find_connect_side validation into find_seg_side
2014-08-12 03:08:39 +00:00
Kp
f492b736dd
Use range_for to iterate segment codes
2014-08-12 03:01:43 +00:00
Kp
2ae57a8529
Use array<> for find_joining_side_norms edge_verts
2014-08-12 02:58:08 +00:00
Kp
cec32ce3f5
Move render state arrays onto stack
2014-08-12 02:28:03 +00:00
Kp
4ec010ec75
Pack render side edges
2014-08-08 02:51:31 +00:00
Kp
f47aa29cd9
Use color_t for color values
2014-08-08 02:07:47 +00:00
Kp
ea8fbe5d7b
Use object helper to iterate in render_segment
2014-08-03 03:17:34 +00:00
Kp
4fadbbc92c
Replace render globals with const
2014-07-30 03:06:41 +00:00
Kp
6d3850b6c1
Use object helper to iterate over render segments
2014-07-30 03:06:41 +00:00
Kp
944f5eca99
List initialize render structures
2014-07-04 04:16:29 +00:00
Kp
d0b3d9e32e
Force desired conversion in render_object_search
2014-06-28 04:13:42 +00:00
zico
ad7cb106bc
Changed custom D1X license to GPLv3
2014-06-01 19:55:23 +02:00
Kp
f0ad549a7e
Pass objptridx_t to render_object_search
2014-01-11 23:03:56 +00:00
Kp
f4deb058a5
Pass objptridx_t to do_render_object
2014-01-11 23:02:43 +00:00
Kp
9a5d0f6f09
Use symbolic values for segment/object first/none
2014-01-06 04:17:55 +00:00
Kp
888f44336f
Use segment array for render visited[]
2014-01-01 03:42:00 +00:00
Kp
164001d977
Use 3 instead of 255 for third mode in rendering
2014-01-01 03:41:58 +00:00
Kp
745633eabe
Use vector to allow rendering unlimited robots
2013-12-29 04:54:08 +00:00
Kp
073f00974a
Eliminate uses of the typedef struct X { ... } X; pattern
...
C++ does not require this pattern.
import re, fileinput
to = re.compile(r'^typedef struct ([a-z_A-Z]+)\s*{')
tc = re.compile(r'^}(.*?)\s*([a-z_A-Z]+);$')
osn = None
for line in fileinput.input(inplace=True):
m = to.match(line)
if m:
osn = m.group(1)
print 'struct %s\n{' % osn
continue
if osn:
m = tc.match(line)
if m:
csn = m.group(2)
if osn == csn:
print '}%s;' % m.group(1)
osn = None
continue
else:
osn = None
print line,
2013-12-28 22:48:07 +00:00
Kp
f92195e557
Make render translation tables static const
2013-11-28 00:27:43 +00:00
Kp
e30f548d60
Invert sense of DbgAltTexMerge
2013-11-24 22:57:36 +00:00
Kp
2714679284
Mark private functions static
2013-11-02 04:23:55 +00:00
Kp
4cad87115d
Guard sometimes used function render_segment
2013-10-29 03:24:43 +00:00
Kp
e996814210
Move similar/main/render.c -> similar/main/render.cpp
2012-11-11 22:12:51 +00:00