Kp
badf0f4f90
Rewrite cast of (uint*) to standard type uint32_t
...
s/(\s*uint\s*\*\s*)/(uint32_t *)/g
2016-06-05 01:04:25 +00:00
Kp
aeebffccc0
Rewrite cast of (ushort*) to standard type uint16_t
...
s/(\s*ushort\s*\*\s*)/(uint16_t *)/g
2016-06-05 01:04:25 +00:00
Kp
b31446340c
Rewrite cast of (ubyte*) to standard type uint8_t
...
s/(\s*ubyte\s*\*\s*)/(uint8_t *)/g
2016-06-05 01:04:25 +00:00
zico
660d18c312
Check for GM_MULTI together with Netgame.InvulAppear in init_player_stats_new_ship(). Otherwise going into Singleplayer after starting a Multiplayer match with this option set can translate this effect into Singleplayer.
2016-05-30 15:00:07 +02:00
zico
e335cdacb3
Reverted 81d7db279b
and rather removed the terminator byte from string length in nm_set_item_input(). This also fixes possible 9 character length for pilot callsigns. Had to fix up COOL_SAYING_LEN as it was not considering the termintor but considering the original D2 source, this was a mess to begin with (def = 50, text string = 60, input field len = 45). Made score saying 50 characters as this seems to be the maximum witdth without overlapping.
2016-05-30 14:54:51 +02:00
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
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
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
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
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
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
Kp
9ab024edc4
Fix -Wshadow warnings in multi_restore_game
2016-05-21 17:24:51 +00:00
Kp
7898353a6c
Fix -Wshadow warnings in multi_disconnect_player
2016-05-21 17:24:51 +00:00
Kp
2dce0cd92d
Fix -Wshadow warnings in newmenu_create_structure
2016-05-21 17:24:51 +00:00
Kp
f3a4a6fef8
Fix -Wshadow warnings in newmenu_mouse
2016-05-21 17:24:50 +00:00
Kp
67cb366c25
Fix -Wshadow warnings in nm_string
2016-05-21 17:24:50 +00:00
Kp
4112f277ff
Remove useless setup of w
in nm_string
2016-05-21 17:24:50 +00:00
Kp
18a917a1d0
Fix -Wshadow warnings in read_model_file
2016-05-21 17:24:50 +00:00
Kp
7f721f98e2
Fix -Wshadow warnings in read_model_guns
2016-05-21 17:24:50 +00:00
Kp
a98e97505e
Fix -Wshadow warnings in do_door_close
2016-05-21 17:24:50 +00:00
Kp
5fb6619fe9
Fix -Wshadow warnings in state_save_all
2016-05-21 17:24:50 +00:00
Kp
36af30b2f6
Fix -Wshadow warnings in state_restore_all_sub
2016-05-21 17:24:50 +00:00