zico
1856e73ca6
Addition to 3366658a5bd2b30a82949b8b301e97b324ce539d: Changed show_netgame_info and pass netgame as reference and const; removed struct and extern; declared ngii inside show_netgame_info().
2016-05-30 13:49:06 +02:00
zico
a8ed0aaa9c
Added breaks in event.cpp to prevent unwanted events if -nomouse and/or -nojoystick is given; Added automap_apply_input() to prevent multiple inputs per frame causing multiple movement applications.
2016-05-30 13:17:42 +02:00
Kp
604778248d
Fix -Wshadow warning in get_chunks_state
...
get_chunks_state has a member named `data` and its constructor took a
parameter named `data`. This is unambiguous in the language, but causes
a warning from gcc's -Wshadow when building with WORDS_NEED_ALIGNMENT.
Rename the parameter to eliminate the warning.
Reported-by: derhass <https://github.com/dxx-rebirth/dxx-rebirth/pull/196 >
2016-05-29 17:46:32 +00:00
Kp
f073e9e377
Fold nm_messagebox call in net_udp_do_join_game
2016-05-28 17:31:27 +00:00
Kp
82a8f6ebb0
Pass bm_mode to gr_init_bitmap
2016-05-28 17:31:27 +00:00
Kp
dcc56e6b39
Propagate bm_mode::linear into iff_read_bitmap
2016-05-28 17:31:27 +00:00
Kp
c00f918a8e
Propagate bm_mode::linear into bald_guy_load
2016-05-28 17:31:26 +00:00
Kp
3fb16c1d7a
Propagate bm_mode::linear into pcx_read_bitmap
2016-05-28 17:31:26 +00:00
Kp
398596c468
Use enum for bitmap mode
2016-05-28 17:31:26 +00:00
Kp
a0cc2bfc7e
Pass canvas to ogl_upixelc
2016-05-28 17:31:26 +00:00
Kp
0253907a88
Factor out ogl_upixelc palette lookups
2016-05-28 17:31:26 +00:00
Kp
7d468491a1
Fix -Wshadow warnings in mission.cpp
2016-05-22 17:49:32 +00:00
Kp
e3eceb2c6e
Fix -Wshadow warnings in load_mission
2016-05-22 17:49:31 +00:00
Kp
9f76e9e97a
Fix -Wshadow warnings in init_boss_segments
2016-05-22 17:49:31 +00:00
Kp
ed330960f5
Fix -Wshadow warnings in _g3_draw_poly
2016-05-22 17:49:31 +00:00
Kp
692bede8c3
Fix -Wshadow warnings in gr_toggle_fullscreen
2016-05-22 17:49:31 +00:00
Kp
f98c47047a
Fix -Wshadow warnings in med_rotate_group
2016-05-22 17:49:31 +00:00
Kp
523b7f036b
Fix -Wshadow warnings in med_create_segment
2016-05-22 17:49:30 +00:00
Kp
688b376a90
Fix -Wshadow warnings in write_wall_text
2016-05-22 17:49:30 +00:00
Kp
0cae71b8a6
Fix -Wshadow warnings in draw_model
2016-05-22 17:49:30 +00:00
Kp
994225c188
Use array<> for dumpmine arrays
2016-05-22 17:49:30 +00:00
Kp
f0dcd47b5c
Fold determine_used_textures_level call to load_level
2016-05-22 17:49:30 +00:00
Kp
9d0c6f59a5
Remove always-zero piggy_page_flushed
...
Descent for DOS supported paging content on demand. Rebirth has no
support for paging content out, but retained piggy_page_flushed
to track whether anything had been paged out. Commit 3c20c24
("Disable
piggy_bitmap_page_out_all") removed the last site that could set
piggy_bitmap_page_out_all to a non-zero value. All remaining code
either tests it for non-zero or sets it to zero.
Remove the statements that set it to zero.
Remove assertions that the value is zero.
Remove conditional blocks that execute only when it is non-zero.
2016-05-22 17:49:30 +00:00
Kp
7e3ea961c1
Pass object_base &to draw_player
2016-05-21 17:24:51 +00:00
Kp
c61a3d5e0f
Fix -Wshadow warnings in do_ai_frame
2016-05-21 17:24:51 +00:00
Kp
439da0e74a
Fix -Wshadow warnings in set_vertex_counts
2016-05-21 17:24:51 +00:00
Kp
191da8a243
Fix -Wshadow warnings in med_delete_segment
2016-05-21 17:24:51 +00:00
Kp
96708457fc
Fix -Wshadow warnings in med_save_group
2016-05-21 17:24:51 +00:00
Kp
9fd62715c1
Fix -Wshadow warnings in med_load_group
2016-05-21 17:24:51 +00:00
Kp
4572b313b9
Fix -Wshadow warnings in draw_segment
2016-05-21 17:24:51 +00:00
Kp
1a99ddae17
Fix -Wshadow warnings in check_segment
2016-05-21 17:24:51 +00:00
Kp
0ea22e1b9e
Fix -Wshadow warnings in assign_uvs_to_side
2016-05-21 17:24:51 +00:00
Kp
dbae87a0a1
Fix -Wshadow warnings in load_game_data
2016-05-21 17:24:51 +00:00
Kp
eca671b2f8
Fix -Wshadow warnings in show_netplayerinfo
2016-05-21 17:24:51 +00:00
Kp
f87819b359
Fix -Wshadow warnings in newdemo_strip_frames
2016-05-21 17:24:51 +00:00
Kp
f2f7cb7e96
Fix -Wshadow warnings in newdemo_playback_one_frame
2016-05-21 17:24:51 +00:00
Kp
4a04d26c17
Fix -Wshadow warnings in newdemo_goto_end
2016-05-21 17:24:51 +00:00
Kp
9c4448f78c
Fix -Wshadow warnings in RAIIsocket::closesocket
2016-05-21 17:24:51 +00:00
Kp
6de7046226
Fix -Wshadow warnings in net_udp_setup_game
2016-05-21 17:24:51 +00:00
Kp
6ce7cd4ec5
Fix -Wshadow warnings in draw_player
2016-05-21 17:24:51 +00:00
Kp
ebc9d55b90
Fix -Wshadow warnings in draw_automap
2016-05-21 17:24:51 +00:00
Kp
97f38bf01d
Fix -Wshadow warnings in draw_all_edges
2016-05-21 17:24:51 +00:00
Kp
176d9c0837
Fix -Wshadow warnings in read_m3u
2016-05-21 17:24:51 +00:00
Kp
e600528b83
Fix -Wshadow warnings in centers_dialog_handler
2016-05-21 17:24:51 +00:00
Kp
c7940d12f9
Fix -Wshadow warnings in load_exit_models
2016-05-21 17:24:51 +00:00
Kp
f48247d5c7
Fix -Wshadow warnings in render_compare_context_t
2016-05-21 17:24:51 +00:00
Kp
560401e1ff
Fix -Wshadow warnings in check_face
2016-05-21 17:24:51 +00:00
Kp
213c5952d2
Fix -Wshadow warnings in mark_player_path_to_segment
2016-05-21 17:24:51 +00:00
Kp
989cbb9337
Fix -Wshadow warnings in save_hoard_data
2016-05-21 17:24:51 +00:00
Kp
79c9d19429
Fix -Wshadow warnings in init_hoard_data
2016-05-21 17:24:51 +00:00