Kp
a40c19f770
Fix con_puts buffer overread
...
ASan reports a 2K read from a small string literal.
Also, fix silly double copy in con_add_buffer_line and delete too-short
memset in con_add_buffer_line.
2013-12-19 03:31:24 +00:00
Kp
779d1b95db
Defer freeing window until after EVENT_WINDOW_CLOSED
2013-12-19 03:11:56 +00:00
Kp
743893bd56
Assign per-type missile names in miniview
2013-12-18 05:01:00 +00:00
Kp
83f7427aad
Convert vsprintf to vsnprintf
2013-12-18 05:00:36 +00:00
Kp
7c0204095e
Simplify name setup in load_pig1
2013-12-18 05:00:20 +00:00
Kp
49bcd3bb64
Use D1 reactor times when emulating D1
2013-12-18 04:53:07 +00:00
Kp
0938e819e5
Advertise map-mode via overload of typing-mode
...
Tell other clients when map mode is active, for the same reason that
typing mode is advertised.
2013-12-18 04:51:46 +00:00
Kp
8c74708ad4
Improve layout of D2 powerup_info
2013-12-18 04:51:46 +00:00
Kp
76b4a6c57e
Avoid memcpy on object
2013-12-18 04:51:46 +00:00
Kp
9776827a33
Make Objects[] a C++ array
2013-12-18 04:51:46 +00:00
Kp
7caf9bbcd4
Unify WALL_IS_DOORWAY
...
Both games used the same meaning, but called values by different names.
2013-12-18 04:51:46 +00:00
Kp
2f18c5037d
Store group lists as countarray objects
2013-12-18 03:48:52 +00:00
Kp
8c649b677b
Optimize group deletion
2013-12-18 03:46:50 +00:00
Kp
2d0c64ffb8
Fix generation of demo filename
...
Broken in cb4fd7c1b4
by removal of dot from DEMO_EXT.
2013-12-18 03:43:40 +00:00
Kp
7fe542abc3
Simplify SubtractFromGroup cleanup
2013-12-17 04:43:38 +00:00
Kp
3381e5de52
Simplify group exhaustion test in med_move_group
2013-12-17 04:03:35 +00:00
Kp
e8de74b8bf
Reject inappropriate printf usage
2013-12-17 04:03:35 +00:00
Kp
51e328e538
Use score_rputs instead of score_rprintf where possible
2013-12-17 04:03:35 +00:00
Kp
11a0c44a3c
Use do_screen_message instead of do_screen_message_fmt where possible
2013-12-17 04:03:35 +00:00
Kp
2ebcd12147
Use warning_puts instead of warning_printf where possible
2013-12-17 04:03:35 +00:00
Kp
89652c010b
Use err_puts instead of err_printf where possible
2013-12-17 04:03:35 +00:00
Kp
150281ac28
Use thief_message_str instead of thief_message where possible
2013-12-17 04:03:34 +00:00
Kp
be742f8848
Use powerup_basic_str instead of powerup_basic where possible
2013-12-17 04:03:34 +00:00
Kp
65657c6809
Use nm_messagebox_str instead of nm_messagebox where possible
2013-12-17 04:03:34 +00:00
Kp
d15347f16f
Use HUD_init_message_literal instead of HUD_init_message where possible
2013-12-17 04:03:34 +00:00
Kp
21de8bc8f6
Use buddy_message_str instead of buddy_message where possible
2013-12-17 04:03:34 +00:00
Kp
21cc89e2c8
Use ui_dputs_at instead of ui_dprintf_at where possible
2013-12-17 04:03:34 +00:00
Kp
7efeb3f29d
Use PHYSFSX_puts instead of PHYSFSX_printf where possible
2013-12-17 04:03:34 +00:00
Kp
c3c1695ba5
Use gr_ustring instead of gr_uprintf where possible
2013-12-17 04:03:34 +00:00
Kp
1bf3722670
Use gr_string instead of gr_printf where possible
2013-12-17 04:03:34 +00:00
Kp
3d79fe9b40
Use editor_status instead of editor_status_fmt where possible
2013-12-17 04:03:34 +00:00
Kp
a99b07c98e
Use Error_puts instead of Error where possible
2013-12-17 04:03:34 +00:00
Kp
f82ba904bd
Use Warning_puts instead of Warning where possible
2013-12-17 04:03:34 +00:00
Kp
335cabcc79
Use con_puts instead of con_printf where possible
2013-12-17 04:03:34 +00:00
Kp
9a189bcfd1
Unify SDL_mixer setup
2013-12-17 04:01:22 +00:00
Kp
08767eb1c5
Probe for libphysfs during configure stage
2013-12-17 04:01:22 +00:00
Kp
15e03d7e9a
Factor out configure functionality
2013-12-17 04:01:22 +00:00
Kp
2bad2375bb
Add type checking for select_file_recursive
2013-12-17 04:01:21 +00:00
Kp
38a5c03d5d
Add type checking for newmenu_listbox
2013-12-17 03:58:17 +00:00
Kp
be041a9cfc
Add type checking for ui_create_dialog
2013-12-17 03:49:24 +00:00
Kp
77c0b58591
Fix editor crash introduced in 47c00c712
...
glow_values may be NULL, so check before dereferencing it.
2013-12-17 03:48:31 +00:00
Kp
279f123f56
Simplify FADE_FLATPOLY logic
2013-12-17 03:46:35 +00:00
zico
47c00c7128
Added code which draws activated headlights or their absence to g3_draw_polygon_model. This was never implemented in D2X - probably because most of interp.c was adopted from D1X.
2013-12-16 08:37:51 +01: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
d1fa9ff7a6
Simplify setup for ui_messagebox_n
2013-12-15 21:54:59 +00: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
b7fda7ee15
Fix nm_messagebox usage to avoid redundant format string parse
2013-12-15 21:53:40 +00:00
Kp
b30639b0c4
Add special case to save CPPDEFINES to configure header
...
Avoid cluttering the command line by moving CPPDEFINES to the configure
header.
2013-12-15 21:53:20 +00:00