dxx-rebirth/similar/main
Kp 0d045ae3da Fix Windows net_udp build
Convert the RAIIsocket to a simple SOCKET before passing it to FD_SET.
Otherwise, the build fails with:

```
similar/main/net_udp.cpp: In function 'int {anonymous}::udp_general_packet_ready(dcx::{anonymous}::RAIIsocket&)':
similar/main/net_udp.cpp:969:2: error: use of deleted function 'bool dcx::{anonymous}::RAIIsocket::operator==(T) const [with T = long long unsigned int]'
  969 |  FD_SET(sock, &set);
      |  ^~~~~~
similar/main/net_udp.cpp:493:29: note: declared here
  493 |  template <typename T> bool operator==(T) const = delete;
      |                             ^~~~~~~~
```
2022-08-16 03:15:04 +00:00
..
ai.cpp Use enum class for multi_send_robot_position_priority 2022-07-16 15:26:12 +00:00
aipath.cpp Use enum class for Difficulty_level_type 2022-07-16 15:26:12 +00:00
automap.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
bm.cpp Pass LevelSharedRobotInfoState to various functions that need it 2022-07-09 13:39:29 +00:00
bmread.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
cntrlcen.cpp Use enum class for player connected status 2022-07-16 15:26:12 +00:00
collide.cpp Fold robot kamikaze explode_object calls 2022-07-30 17:42:59 +00:00
config.cpp
console.cpp
controls.cpp
credits.cpp
digiobj.cpp Use auto type for Viewer in more places 2022-07-09 13:39:29 +00:00
dumpmine.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
effects.cpp
endlevel.cpp Use enum class for PlayMovie flag must_have 2022-07-23 20:58:10 +00:00
fireball.cpp Use enum class for apply_damage_to_player::possibly_friendly 2022-07-23 20:58:10 +00:00
fuelcen.cpp Use enum class for Difficulty_level_type 2022-07-16 15:26:12 +00:00
fvi.cpp Pass LevelSharedRobotInfoState in fvi_query 2022-07-09 13:39:29 +00:00
game.cpp Use enum class for apply_damage_to_player::possibly_friendly 2022-07-23 20:58:10 +00:00
gamecntl.cpp Use enum class for PlayMovie flag must_have 2022-07-23 20:58:10 +00:00
gamefont.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
gamemine.cpp Use enum for segnum_t 2022-07-02 18:10:45 +00:00
gamerend.cpp Use enum class for player connected status 2022-07-16 15:26:12 +00:00
gamesave.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
gameseg.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
gameseq.cpp Use enum class for PlayMovie flag must_have 2022-07-23 20:58:10 +00:00
gauges.cpp Use enum class for player connected status 2022-07-16 15:26:12 +00:00
generate-kconfig-udlr.py
hostage.cpp
hud.cpp
iff.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
inferno.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
kconfig.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
kconfig.ui-table.cpp
kmatrix.cpp Use enum class for player connected status 2022-07-16 15:26:12 +00:00
laser.cpp Pass player orientation matrix to multi_send_fire 2022-07-23 20:58:10 +00:00
lighting.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
menu.cpp Use enum class for PlayMovie flag must_have 2022-07-23 20:58:10 +00:00
mglobal.cpp
mission.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
morph.cpp Use C++20 std::span for morph_data 2022-07-30 17:42:59 +00:00
multi.cpp Pass std::span to multi_do_message 2022-07-30 17:42:59 +00:00
multibot.cpp Pass std::span to multi_do_create_robot_powerups 2022-07-30 17:42:59 +00:00
net_udp.cpp Fix Windows net_udp build 2022-08-16 03:15:04 +00:00
newdemo.cpp Replace various uses of std::enable_if with C++20 requires() 2022-07-30 17:42:59 +00:00
newmenu.cpp
object.cpp Use playernum_t for guided missile player number 2022-07-23 20:58:10 +00:00
paging.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
physics.cpp Pass LevelSharedRobotInfoState to various functions that need it 2022-07-09 13:39:29 +00:00
piggy.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
player.cpp
playsave.cpp Use enum class for Difficulty_level_type 2022-07-16 15:26:12 +00:00
polyobj.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
powerup.cpp Use enum class for player connected status 2022-07-16 15:26:12 +00:00
render.cpp Use enum class for Difficulty_level_type 2022-07-16 15:26:12 +00:00
robot.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
scores.cpp Use enum class for Difficulty_level_type 2022-07-16 15:26:12 +00:00
segment.cpp Use enum for segnum_t 2022-07-02 18:10:45 +00:00
slew.cpp
songs.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
state.cpp Use enum class for player connected status 2022-07-16 15:26:12 +00:00
switch.cpp Use enum class for player connected status 2022-07-16 15:26:12 +00:00
terrain.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
texmerge.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
text.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
titles.cpp Use enum class for PlayMovie flag must_have 2022-07-23 20:58:10 +00:00
vclip.cpp
vers_id.cpp
wall.cpp Pass LevelSharedRobotInfoState to various functions that need it 2022-07-09 13:39:29 +00:00
weapon.cpp Pass context to spit_powerup 2022-07-23 20:58:10 +00:00