Commit graph

4331 commits

Author SHA1 Message Date
graham sanderson
f18de5341e I mean 9.2.1 2022-03-15 18:36:51 -05:00
graham sanderson
9a532e7146 Add 9.3.1 warning 2022-03-15 18:33:16 -05:00
graham sanderson
451f0acc5d oops; readme fixes must have got lost somewhere 2022-03-15 18:15:54 -05:00
Graham Sanderson
b24163abfd
Merge pull request #2 from 9names/usb_https_git_url
Use https url for tinyusb git submodule
2022-03-15 15:09:22 -05:00
9names
8ab35594f4 Use https url for tinyusb git submodule 2022-03-15 17:15:44 +11:00
graham sanderson
368a6210f7 squashed rp2040-doom changes 2022-03-07 12:44:30 -06:00
Simon Howard
660cad3966 net: Increase run frequency for dedicated server.
This should really be changed to block until new packets are
received, but until then, this is at least an improvement. 10ms is
too coarsely-grained considering how critical the latency is to the
game.
2019-01-30 19:08:36 -05:00
Simon Howard
b325126974 net: Add logging for PID sync parameters. 2019-01-30 19:07:42 -05:00
Simon Howard
fea3b29487 net: Trigger resends from server in deadlock scenario.
The previous commit fixed the deadlock problem but if playing with older
clients it can still occur. Add a fix for it on the server side too so the
problem is guarded against on both ends.
2019-01-30 18:42:01 -05:00
Simon Howard
b8656b5283 net: Send resend requests to server on deadlock.
The server already triggers resend requests if it detects a potential
deadlock has occurred, but the same scenario can occur if one of the
clients loses enough game data packets from the server. So detect this
on the client side too and trigger artificial resend requests.

Big thanks go to MadDog and Mortrixs for providing network logs of
the deadlock occurring which allowed me to figure out the cause.
2019-01-30 18:34:04 -05:00
Simon Howard
945355d29f net: Add client message when a tic is first sent. 2019-01-29 23:19:59 -05:00
Simon Howard
b9cf256e89 net: Fix log message when tic is stored.
Also add equivalent message to server code.
2019-01-29 23:17:33 -05:00
Fabian Greffrath
a03d93810b hexen: replace shifted negative value with negative of shifted value
This fixes a "Shifting a negative value is undefined behaviour"
cppcheck error.
2019-01-28 10:02:29 +01:00
Fabian Greffrath
8fc4e10f01 heretic: replace shifted negative value with negative of shifted value
This fixes a "Shifting a negative value is undefined behaviour"
cppcheck error.
2019-01-28 10:00:38 +01:00
Fabian Greffrath
2d6a5bc38c travis: upgrade build environment to Ubuntu Xenial 2019-01-28 09:37:45 +01:00
Fabian Greffrath
59f737ad1b txt: free already loaded libraries on LoadLibraryW() failure
This fixes a future "Resource leak" cppcheck error.
2019-01-28 09:34:12 +01:00
Fabian Greffrath
173300a37b strife: explicitly declare a bit-shifted 1 literal as unsigned
This fixes a future "Shifting signed 32-bit value by 31 bits is
undefined behaviour" cppcheck error.
2019-01-28 09:26:54 +01:00
Fabian Greffrath
6478a56726 net: explicitly declare a bit-shifted 1 literal as unsigned
This fixes a future "Shifting signed 32-bit value by 31 bits is
undefined behaviour" cppcheck error.
2019-01-28 09:25:31 +01:00
Simon Howard
79b2fed04c Merge branch 'master' of github.com:chocolate-doom/chocolate-doom 2019-01-27 23:37:51 -05:00
Simon Howard
31accc834d net: Add logging of server events. 2019-01-27 23:36:50 -05:00
Simon Howard
124ca83db4 net: Add logging of client events. 2019-01-27 23:35:47 -05:00
Simon Howard
f7f8ce6c63 net: Add network log file.
I've had some reports from multiplayer users about stalls where the
game just freezes up; having decent logging of network events seems
like an essential step for diagnosing such bugs. It seems like a
prudent feature to just have anyway; the network engine is already
littered with commented-out printf statements used in the past for
similar purposes.
2019-01-27 23:33:46 -05:00
Fabian Greffrath
7f7a72d67a
Merge pull request #1130 from chocolate-doom/defaultsavename
default save name is map name and containing WAD file name
2019-01-25 08:31:46 +01:00
Fabian Greffrath
c247ce4a3c factor out some lumpinfo query into separate functions 2019-01-25 08:31:05 +01:00
Fabian Greffrath
1e606b8a61 travis: print cppcheck's output to stdout
This prevents Travis from believing that an error has occurred after
10 minutes without output. Capture error messages in a file and print
its content after cppcheck has finished.

Exit the script with cppcheck's exit code.

Thanks @turol for your help with this!
2019-01-24 12:18:28 +01:00
Fabian Greffrath
fff2e0e058 pass buffer size to M_snprintf() instead of string length 2019-01-23 21:21:39 +01:00
Simon Howard
2880809db9
Merge pull request #1129 from mfrancis95/master
Apply @fabiangreffrath's patch to fix a memory error in Hexen
2019-01-23 15:01:30 -05:00
Simon Howard
4127fabfb3
Merge pull request #1132 from turol/const
Const correctness fixes in setup program
2019-01-23 11:28:25 -05:00
Fabian Greffrath
6e3418c6a5 configure: relax libpng version check to >= 1.2.50
Since this version is provided by Ubuntu trusty, we will get
Travis.CI builds with PNG support.
2019-01-23 12:38:57 +01:00
Fabian Greffrath
2f5571d72c Merge branch 'master' of https://github.com/chocolate-doom/chocolate-doom 2019-01-23 10:12:12 +01:00
Fabian Greffrath
3409f7a871 add libpng-dev to the dependencies for the travis build 2019-01-23 10:11:11 +01:00
Turo Lamminen
c5d8067d38 setup: Make mission_config_t string members const 2019-01-22 19:26:59 +02:00
Turo Lamminen
8f82960fbe setup: Fix const correctness issue in SetChatMacroDefaults 2019-01-22 19:22:40 +02:00
Turo Lamminen
9209085d85 setup: Make game_title variable const 2019-01-22 19:19:29 +02:00
Turo Lamminen
cf21664839 setup: Fix const correctness issue in GetLaunchButton 2019-01-22 19:18:51 +02:00
Turo Lamminen
0ad55d18f3 setup: Make known_joystick_t name member const 2019-01-22 19:16:27 +02:00
Turo Lamminen
5a7cb09524 setup: Make joystick_config_t name member const 2019-01-22 19:15:41 +02:00
Turo Lamminen
0ec616b898 setup: Make CalibrationLabel return value const 2019-01-22 19:12:59 +02:00
Turo Lamminen
fa22df1349 setup: Make ServerQueryWindow title parameter const 2019-01-22 19:11:14 +02:00
Turo Lamminen
94f59664ca setup: Make StartGameMenu window_title parameter const 2019-01-22 19:09:42 +02:00
Turo Lamminen
80816d0725 setup: Make AddMouseControl label parameter const 2019-01-22 19:07:54 +02:00
Turo Lamminen
6e18c2ecdc setup: Make GetGameTitle return value const 2019-01-22 19:06:36 +02:00
Turo Lamminen
ea34b7bcf0 setup: Make GetExecutableName return value const 2019-01-22 19:05:40 +02:00
Turo Lamminen
f766714b81 setup: Make AddSectionLabel title parameter const 2019-01-22 19:04:12 +02:00
Turo Lamminen
e0b005e61a setup: Make AddKeyControl name parameter const 2019-01-22 19:02:29 +02:00
Turo Lamminen
ed72f3fc75 setup: Make AddJoystickControl label parameter const 2019-01-22 19:01:12 +02:00
Turo Lamminen
04535a58e8 setup: Make TempFile parameter const 2019-01-22 19:00:00 +02:00
Turo Lamminen
3171e5189e setup: Fix const correctness issue in TempFile 2019-01-22 18:57:40 +02:00
Turo Lamminen
efc804dc55 setup: Make AddCmdLineParameter format parameter const 2019-01-22 18:56:35 +02:00
Turo Lamminen
3166cfd54c misc: Fix const correctness issue in M_BaseName 2019-01-22 18:53:23 +02:00