Kp
1e34dae94d
Switch Win32 net_udp socket broadcast to C++ cast
2016-09-04 19:10:43 +00:00
Kp
fcb0b4fa66
Replace SDL CD_INDRIVE with equivalent that uses C++ static_cast
...
<=gcc-5 with -Wold-style-cast warn when expansions of SDL macro
CD_INDRIVE produce an old style cast, even though the cast comes from a
system header. Undefine it and define an equivalent that uses a C++
cast, so that uses do not provoke a warning.
2016-09-04 19:10:43 +00:00
Kp
c7041a9b26
Use reinterpret_cast for digi magic value (void*)-1
2016-09-04 19:10:43 +00:00
Kp
e06d8b33aa
Reuse string_array_sort_func for file_sort_func
...
Both functions have the same implementation, so delete static
file_sort_func and use string_array_sort_func.
2016-09-04 19:10:43 +00:00
Kp
48dbd0333c
Use static_cast for c_fp_tmap_scanline_per
2016-09-04 19:10:42 +00:00
Kp
4293227a54
Move strutil qsort comparator casts into function
2016-09-04 19:10:42 +00:00
Kp
e6a082776d
Fold write_key_text printf calls
2016-09-04 19:10:42 +00:00
Kp
a966136424
Switch newdemo shareware workaround to C++ cast
2016-09-04 19:10:42 +00:00
Kp
39dca0999e
Move aipath qsort comparator casts into function
2016-09-04 19:10:42 +00:00
Kp
11609fcdc4
Switch playsave.cpp to static_cast
2016-09-04 00:02:53 +00:00
Kp
848b99376d
Switch songs.cpp to reinterpret_cast
2016-09-04 00:02:53 +00:00
Kp
2967b121b3
Switch net_udp.cpp to C++ casts
2016-09-04 00:02:53 +00:00
Kp
3308b1a554
Switch morph.cpp to reinterpret_cast
2016-09-04 00:02:53 +00:00
Kp
dfef81e999
Switch laser.cpp to static_cast
2016-09-04 00:02:53 +00:00
Kp
1ca872c555
Switch seguvs.cpp to static_cast
2016-09-04 00:02:53 +00:00
Kp
53196ec990
Switch similar/arch/ogl to C++ casts
2016-09-04 00:02:53 +00:00
Kp
0e5e1a68a9
Switch interp.cpp to static_cast
2016-09-04 00:02:52 +00:00
Kp
39285423db
Switch movie.cpp to reinterpret_cast
2016-09-04 00:02:52 +00:00
Kp
ea153a60fa
Switch libmve to C++ casts
2016-09-04 00:02:52 +00:00
Kp
c5d154b6e0
Switch ignorecase.cpp to C++ static_cast
2016-09-04 00:02:52 +00:00
Kp
1a71e4a590
Remove unnecessary cast in compute_average_pixel
2016-09-04 00:02:52 +00:00
Kp
976e4206c0
Switch multi.cpp to C++ casts
2016-09-04 00:02:52 +00:00
Kp
d9a0afdcba
Remove unnecessary long cast in dist_2d
2016-09-04 00:02:52 +00:00
Kp
439d82955f
Switch mveplay.cpp to reinterpret_cast
2016-09-04 00:02:52 +00:00
Kp
67bf0ea1b5
Switch newdemo.cpp to C++ casts
2016-09-04 00:02:51 +00:00
Kp
5a98beae64
Switch font.cpp to static_cast
2016-09-04 00:02:51 +00:00
Kp
30a7c28cc5
Switch gr.cpp write_bmp to static_cast
2016-09-04 00:02:51 +00:00
Kp
5cdd3c60a2
Switch med_save_situation to static_cast
2016-09-04 00:02:51 +00:00
Kp
89eff29df5
Switch netmisc_calc_checksum to reinterpret_cast
2016-09-04 00:02:51 +00:00
Kp
c285637cc9
Reduce scope of convert_ilbm_to_pbm rowptr
2016-09-04 00:02:51 +00:00
Kp
9a06543781
Switch terrain.cpp light cast to static_cast
2016-09-04 00:02:51 +00:00
Kp
12ee279800
Switch fireball.cpp timer cast to static_cast
2016-09-04 00:02:51 +00:00
Kp
c802f27968
Switch physfsrwops.cpp integer casts to static_cast
2016-09-04 00:02:50 +00:00
Kp
75241fbbd7
Switch physfsrwops.opp pointer casts to reinterpret_cast
2016-09-04 00:02:50 +00:00
Kp
01de8f95c1
Check segment index in ok_for_buddy_to_talk
2016-09-04 00:02:50 +00:00
Kp
a61370ddca
Check segment index in do_ambient_sounds
2016-09-04 00:02:50 +00:00
Kp
00ebdcec4a
Cache Segment subscript operation in materialization handling
2016-09-04 00:02:50 +00:00
Kp
ec27044f3a
Check segment index in game_setup recovery code
2016-09-04 00:02:50 +00:00
Kp
a4e01c3bfc
Use none_of in do_controlcen_frame search of segment children
...
This makes the purpose of the code clearer.
2016-09-04 00:02:50 +00:00
Kp
f5bed7b7d8
Remove unnecessary copy in ok_for_buddy_to_talk
2016-09-03 17:30:18 +00:00
Kp
7f264f779b
Check segment index values in compress_segments
2016-09-03 17:30:18 +00:00
Kp
25a1dbe70c
Cache temporaries in check_segment_connections type rewrite
2016-09-03 17:30:18 +00:00
Kp
2df93a7e88
Use range_for to iterate choose_drop_segment controlcen check
2016-09-03 17:30:18 +00:00
Kp
0104f4f938
Fix invalid access on very short exit tunnels
2016-09-03 17:30:18 +00:00
Kp
8d019a63fb
Fold glTexParameteri calls
2016-09-03 17:30:18 +00:00
Kp
9d2fd0ebfa
Fold glScalef calls
2016-09-03 17:30:17 +00:00
zico
8907a2bee4
Updated INSTALL.txt, README.txt, RELEASE-NOTES.txt, d1x.ini, d2x.ini for upcoming release. Updated Debian build to not include obsolete patch (it may still be broken, needs to be verified). Fixed small parsing typo in inferno.cpp help output.
2016-08-30 13:15:55 +02:00
zico
b2cad09c26
Added new texture filtering options based on patch of user 'beware'
2016-08-29 20:53:10 +02:00
zico
6c6a32ba92
Added patch by user 'beware' to remove dark edges around textures and added command-line/INI option to disable this patch if desired (nostalgia). Fixed misleading indentation in ogl.cpp along the way.
2016-08-29 17:07:30 +02:00
zico
ff331732ba
Re-enabled timer_delay2 for general menu handlers and adjusted them to sleep according to set FPS and not sleep at all for Multiplayer since calc_frame_time() is active in that case. Modified sleeping towards 1ms in calc_frame_time() to allow for more precise target FPS and be able to relay packets in multiplayer with less delay.
2016-08-29 16:04:46 +02:00