Kp
9a5d0f6f09
Use symbolic values for segment/object first/none
2014-01-06 04:17:55 +00:00
Kp
40e90fea22
Move Light_subtracted[] to Segments[].light_subtracted
2014-01-01 03:33:27 +00:00
Kp
094dfbf3d4
Reduce header inclusions
2013-12-31 03:22:03 +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
bdf55f907b
Use assignment instead of memcpy
2013-12-25 23:50:26 +00:00
Kp
f9269b0fb4
Show failed hostname when DNS lookup fails
2013-12-25 03:22:06 +00:00
Kp
1e8036bd24
Split compiler.h for PCH compatibility
2013-12-21 05:12:38 +00:00
Kp
f0bae2c8cd
Add EVENT_WINDOW_CREATED to centralize window init/deinit logic
2013-12-20 02:51:24 +00:00
zico
35266309d0
Made version mismatch screen spill out some explanatory information about Multi protocol version
2013-12-19 14:03:00 +01:00
Kp
9776827a33
Make Objects[] a C++ array
2013-12-18 04:51:46 +00:00
zico
45a39d7587
Fixed usage of nm_messagebox_str in net_udp_process_dump
2013-12-16 06:23:06 +01:00
zico
340af42d86
Due to increased calls of multi_do_frame introduced in 6bd9c2bfc1
net_udp_start_poll needed to be modified to see if a player joined or left; Also constantly refill the list in case players change but their numbers don't (i.e. one leaves and one joins at the same time)
2013-12-16 06:13:44 +01:00
Kp
92e8cb7a31
Add type checking to newmenu subfunction userdata
2013-12-15 21:54:38 +00:00
Kp
3908215e73
Add type checking to nm_messagebox format string
2013-12-15 21:54:17 +00:00
Kp
8f9015acd2
Switch manual join menu not to use nm_messagebox1
...
Fixes a remotely triggerable crash caused by parsing game names as a
format string.
2013-12-15 18:58:02 +00:00
Kp
cea46651fc
Check type of window handler function
2013-12-15 18:51:26 +00:00
Kp
14811b12d9
Format entire game description in a single call
2013-12-15 01:47:07 +00:00
Kp
a3fa660d33
Remove casts in dxx_sendto calls
2013-12-11 04:05:24 +00:00
zico
6bd9c2bfc1
Rearranged game mode check so ANARCHY_ONLY_MISSION will not prohibit CTF, Hoard or Bounty
2013-12-10 01:52:19 +01:00
zico
dae83f9edc
Set PPS limits from 5 to 40
2013-12-09 14:25:32 +01:00
zico
3e2fd4f74b
Improved pdata update sync when firing and not limiting general use of the force flag
2013-12-09 14:05:24 +01:00
zico
2e407fa5a8
Removed short packets and added segment number to quaternion structure
2013-12-09 14:00:23 +01:00
Kp
75c229c6bf
Normalize con_printf newline usage
2013-12-07 21:13:37 +00:00
Kp
70149044c1
Switch gr_printf(x,y,s) to gr_string(x,y,s)
2013-12-06 04:02:13 +00:00
Kp
0726431030
Simplify preparing secret level text in MP game setup
2013-12-06 00:24:07 +00:00
Kp
8ecfce07a1
Fix missing declarations when tracker is enabled
...
Drakona reports that tracker support does not build. Fix it.
2013-12-04 23:43:45 +00:00
Kp
2714679284
Mark private functions static
2013-11-02 04:23:55 +00:00
Kp
74db12f880
Move similar/main/net_udp.c -> similar/main/net_udp.cpp
2012-11-11 22:12:51 +00:00