Commit graph

4676 commits

Author SHA1 Message Date
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
Kp 5d306d06be Switch endlevel message dialog not to use nm_messagebox1 2013-12-15 19:00:59 +00:00
Kp 55f67c72d1 Switch MP abort-game menu not to use nm_messagebox1 2013-12-15 18:59:25 +00:00
Kp adee72c624 Move -pthread to be Linux only 2013-12-15 18:59:01 +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 3fb0ffa19b Add typedef for newmenu subfunction 2013-12-15 18:57:54 +00:00
Kp cea46651fc Check type of window handler function 2013-12-15 18:51:26 +00:00
Kp dc36ee3ab3 Store kconfig labels separately 2013-12-15 18:51:23 +00:00
Kp f05b6f0008 Use on-stack bit array for tracking AI segment visits 2013-12-15 18:50:39 +00:00
Kp 2eb1128a76 Move Automap_full_depth into struct automap
It is only used when the map is open.
2013-12-15 18:46:42 +00:00
Kp f351cc024d Add convenience alias 'dxx' to SConstruct 2013-12-15 18:46:42 +00:00
Kp 7088720507 Use C++ array for Automap_visited 2013-12-15 18:46:42 +00:00
zico 804ed35d26 Slightly different but better handling for segment depth in Automap when having full map powerup or cheat so segment limits can be adjusted properly; In D2 draw unexplored areas blue when cheating and give HUD message when activating cheat; Added note in automap code to specify why grates in Descent1 fade 2013-12-15 13:11:14 +01:00
Kp 027b6fd20a Only build tables in debug builds 2013-12-15 05:20:37 +00:00
Kp 2ce15e5703 Remove unused extern object variables 2013-12-15 01:59:05 +00:00
Kp ddffec01c7 Use enum for multi_send_msgsend_state values 2013-12-15 01:52:13 +00:00
Kp f8756b2c19 Combine composition of IFF name/indicator 2013-12-15 01:50:29 +00:00