Commit graph

185 commits

Author SHA1 Message Date
Kp af52e78a50 Move similar/arch/ogl/ogl.c -> similar/arch/ogl/ogl.cpp 2013-08-24 17:10:35 +00:00
Kp d909692148 Allow compiler to unroll pow2ize 2013-08-24 16:44:23 +00:00
Kp 20cf3f4cdb Mark various OGL functions static 2013-08-24 16:44:23 +00:00
Kp 8ef8371563 Use unsigned screen width/height 2013-08-24 16:44:23 +00:00
Kp b3e2c99b17 Use MALLOC for ogl_init_pixel_buffers 2013-08-20 02:58:15 +00:00
Kp a04cd57d71 Move */main/multi.c -> similar/main/multi.c 2013-08-11 23:46:13 +00:00
Kp 8d13642c9f Hide GM_CAPTURE tests behind static inline 2013-08-11 20:46:52 +00:00
Kp 0c3adc48df Hide GM_HOARD tests behind static inline 2013-08-11 20:46:52 +00:00
Kp 4e6142d779 Move similar/arch/ogl/gr.c -> similar/arch/ogl/gr.cpp 2013-08-10 03:56:14 +00:00
Kp e750c90b00 Mark more math as const correct 2013-08-10 03:55:50 +00:00
Kp bca0dacc98 Merge branch d2x-rebirth/master into unification/master
Conflicts:
	SConstruct
2013-08-09 22:53:45 +00:00
Kp 33aa8937d9 Merge branch d1x-rebirth/master into unification/master
Conflicts:
	SConstruct
	common/main/multi.h
	similar/main/gamerend.c
2013-08-09 22:49:04 +00:00
zico 830bcd7845 merge with ccea6b3547 2013-08-09 17:25:42 +02:00
zico a527348681 Added MULTI_FIRE_BOMB as alteration of MULTI_FIRE to keep bombs mapped in a Multiplayer match for later Host authority and to make their chaff ability work correctly. Additionally added MULTI_FIRE_TRACK to only send Network_laser_track if > -1. On the way I made laser.c a bit more similar between D1X and D2X 2013-08-09 17:21:03 +02:00
Kp 2cc0068fa9 Move */main/fvi.c -> similar/main/fvi.c 2013-08-09 03:13:33 +00:00
Kp 2cd7748e93 Convert vsprintf to vsnprintf 2013-08-09 01:58:17 +00:00
zico 40c5f10e20 Added definition of DESIGNATED_GAME_FPS as 30 and DESIGNATED_GAME_FRAMETIME based on the former. We use those for d_tick_count intervals and to scale other parts that have never been properly aligned to FrameTime before. In that regard, Release builds will take DESIGNATED_GAME_FPS as MINIMUM_FPS for -maxfps argument 2013-08-08 22:07:29 +02:00
Kp a881ee455e Remove fix.h 2013-08-08 03:01:48 +00:00
Kp b624684ba5 Switch gr_printf(x,y,"%s",s) to gr_string(x,y,s) 2013-08-08 03:01:47 +00:00
Kp 400b18b78a Mark gauges variables const 2013-08-08 03:01:47 +00:00
Kp 9cb88f4db6 Store weapon_name as const char* 2013-08-08 03:01:47 +00:00
Kp e23a06fb4f Drop worthless font zeroing
BSS is initialized to zero.  Explicitly zeroing it again wastes time and
space.
2013-08-08 03:01:47 +00:00
zico bbaa3c21f3 HAMERS! Wait 33ms between each turn of a homing missile projectile, only scale turns if FPS are below 30 2013-08-08 00:29:56 +02:00
Kp f31f74c2e6 Add realloc cast to gr_set_mode 2013-08-07 02:39:43 +00:00
Kp b81100d54d Make OGL_VIEWPORT static inline 2013-08-07 02:39:43 +00:00
Kp 1b7c9734ad Pass unsigned dimensions to write_bmp 2013-08-07 02:39:43 +00:00
Kp 924cc78c43 Use MALLOC for save_screen_shot 2013-08-07 02:39:43 +00:00
Kp 4c3703c31c Remove unused function johns_obj_unlink 2013-08-07 02:33:19 +00:00
Kp 6a53581b55 Remove unused function is_object_in_seg 2013-08-07 02:33:19 +00:00
Kp 021fc26b77 Remove unused function remove_all_objects_but 2013-08-07 02:33:19 +00:00
Kp a39c44b6fd Remove unused function search_all_segments_for_object 2013-08-07 02:33:19 +00:00
Kp 98224892c5 Remove unused function expand_row 2013-08-07 02:33:19 +00:00
Kp 22d006f525 Remove unused function tex_format_supported 2013-08-07 02:33:19 +00:00
Kp bc8f302b40 Remove unused function on_seismic_level 2013-08-07 02:33:19 +00:00
Kp 84383deea2 Remove unused function wall_reset 2013-08-07 02:33:19 +00:00
Kp cd5bb27ff1 Remove unused function list_seg_objects 2013-08-07 02:33:19 +00:00
Kp b2305d4ab3 Remove unused function check_duplicate_objects 2013-08-07 02:33:19 +00:00
Kp d02daa44fa Remove unused function remove_incorrect_objects 2013-08-07 02:33:19 +00:00
Kp edc7e87c2e Remove unused function create_vclip_on_object 2013-08-07 02:33:19 +00:00
Kp 1b63fff340 Remove unused function obj_return_num_of_typeid 2013-08-07 02:33:19 +00:00
Kp f74910aa7f Remove unused function obj_return_num_of_type 2013-08-07 02:33:19 +00:00
Kp d316bc1bf5 Remove unused function object_goto_prev_viewer 2013-08-07 02:33:19 +00:00
Kp 768a5b190f Remove unused function game_expand_bitmap 2013-08-07 02:33:19 +00:00
Kp 18c430655f Remove unused function show_free_objects 2013-08-07 02:33:19 +00:00
Kp d7b978c433 Remove unused functions digi_mixer_set_max_channels, digi_mixer_get_max_channels 2013-08-07 02:33:19 +00:00
Kp 192d9f2178 Remove unused function tex_format_verify 2013-08-07 02:33:19 +00:00
Kp 78f3438c2b Remove unused function digi_audio_get_max_channels 2013-08-07 02:33:19 +00:00
Kp fa9a91a1ef Remove unused function digi_audio_set_max_channels 2013-08-07 02:33:19 +00:00
Kp d751b8f8ed Remove unused function digi_audio_set_digi_volume 2013-08-07 02:33:18 +00:00
Kp 1fd8a91f45 Remove unused function digi_set_sample_rate 2013-08-07 02:33:18 +00:00