Cameron Cawley
28d7b361ea
COMMON: Move more file format code into common/formats
2022-12-11 22:33:23 +01:00
athrxx
3d39d206ee
SCUMM: replace strcpy calls with Common::strlcpy
...
This replaces every single strcpy call in the engine with
Common::strlcpy.
Some of these might cases seem a bit pointless, but it is
supposed to discourage future use of strcpy. If people don't
see a single occasion of it they might think twice before they
use it...
2022-08-27 13:08:38 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
ed5489929c
SCUMM: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh
c2e7eeb563
SCUMM: Replace new[]/memset with new[]()
2021-11-10 19:53:15 +01:00
Orgad Shaneh
e074a6da1b
SCUMM: Fix compiler warnings for bad formats
...
long and size_t are not the same on Win64.
2021-03-23 17:32:04 +02:00
Bastien Bouclet
730a1ee4cc
SCUMM: Add override keywords
2020-02-09 12:43:16 +01:00
Cameron Cawley
46056aba3c
ENGINES: Reduce winexe_*.h header includes
2020-01-11 17:34:12 +02:00
Cameron Cawley
948c555ea6
ALL: Create all instances of NEResources and PEResources using new instead of on the stack
...
Also adapted WinCursorGroup and MacMenu to reflect this.
2020-01-11 17:34:12 +02:00
D G Turner
59b639ed4d
SCUMM: Fix Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-23 11:56:16 +00:00
Eugene Sandulenko
1b4842f852
SCUMM HE: MBC: Hid noisy debug output
2019-11-17 00:28:59 +01:00
D G Turner
1cc669a317
SCUMM HE: Fix Signed vs. Unsigned Compiler Warning
2019-11-08 00:04:06 +00:00
Eugene Sandulenko
ccab85ffb2
SCUMM HE: MBC: Remove empty callbacks
2019-11-07 17:08:11 +01:00
Eugene Sandulenko
17e6fa82c7
SCUMM HE: MBC: Implement Net::removeUser()
2019-11-07 16:02:15 +01:00
Eugene Sandulenko
c17bf778e2
SCUMM HE: MBC: Store generated player key
2019-11-07 14:43:37 +01:00
Eugene Sandulenko
7b92e4372c
SCUMM HE: MBC: Pass userid for the endsession request
2019-11-06 00:54:23 +01:00
Eugene Sandulenko
11a72ca928
SCUMM HE: MBC: Implement Net::destroyPlayer()
2019-11-05 16:38:25 +01:00
Eugene Sandulenko
8c063e95c2
SCUMM HE: MBC: Fix debug output
2019-11-05 00:37:35 +01:00
Eugene Sandulenko
77ee206cd7
SCUMM HE: MBC: Implement Net::disableSessionJoining()
2019-11-05 00:31:46 +01:00
Eugene Sandulenko
5268e582bf
SCUMM HE: MBC: Properly thread async requests
2019-11-05 00:31:46 +01:00
Eugene Sandulenko
e94e85a1ed
SCUMM HE: MBC: Implemented function return from remote client
2019-11-05 00:31:46 +01:00
Eugene Sandulenko
e6b2615f34
SCUMM HE: MBC: Implement Net::endSession()
2019-11-04 10:40:20 +01:00
Eugene Sandulenko
2721dd2fef
SCUMM HE: MBC: Query sessions asynchronously
2019-11-04 10:13:07 +01:00
Eugene Sandulenko
4d4e8d3a25
SCUMM HE: MBC: Cleanup
2019-11-04 10:05:53 +01:00
Eugene Sandulenko
c493ac84d7
SCUMM HE: MBC: Do not block execution when sending packets
2019-11-04 00:28:42 +01:00
Eugene Sandulenko
c7da2f38c3
SCUMM HE: MBC: Properly create arrays on receiving. We now can join the game!
2019-11-03 01:16:19 +01:00
Eugene Sandulenko
b6132fec03
SCUMM HE: MBC: Fix passing arrays to the server
2019-11-02 23:49:21 +01:00
Eugene Sandulenko
f7c7ca7ac9
SCUMM HE: MBC: Implement array receiving as JSON
2019-11-01 18:32:48 +01:00
Eugene Sandulenko
0348aa72fd
SCUMM HE: MBC: Take array type into account when sending
2019-11-01 18:07:19 +01:00
Eugene Sandulenko
5d0206b9c2
SCUMM HE: MBC: Read arrays from JSON upon receiving
2019-11-01 10:06:04 +01:00
Eugene Sandulenko
53db8dc5ff
SCUMM HE: MBC: Read script params from the JSON packets
2019-11-01 00:29:11 +01:00
Eugene Sandulenko
530798f629
SCUMM HE: MBC: Switch all packets to json-only, no binary
2019-10-31 00:38:27 +01:00
Eugene Sandulenko
a3c65b1a15
SCUMM HE: MBC: Fix unpackageArray() parameters
2019-10-30 10:19:58 +01:00
Eugene Sandulenko
f8272de0ed
SCUMM HE: MBC: Implement whoSentThis()
2019-10-30 10:19:58 +01:00
Eugene Sandulenko
dcab6674f1
SCUMM HE: MBC: Fix package sending
2019-10-30 10:19:58 +01:00
Eugene Sandulenko
1adbc2feb7
SCUMM HE: MBC: Hid noisy warning
2019-10-29 23:25:56 +00:00
Eugene Sandulenko
f93bbfd7ca
SCUMM HE: MBC: Fixed empty packet check
2019-10-29 00:08:19 +00:00
Eugene Sandulenko
f55a22e127
SCUMM HE: MBC: Read Json packet data
2019-10-28 10:45:42 +00:00
Eugene Sandulenko
e2c7434aa8
SCUMM HE: Replace binary packet with JSON
2019-10-27 21:46:30 +00:00
Eugene Sandulenko
a43381cf99
SCUMM HE: Fix network start at the game start
2019-10-27 21:42:07 +00:00
Eugene Sandulenko
e6d9148061
SCUMM HE: Moonbase Commander: simplify looping over network packets
2019-10-27 19:52:26 +00:00
Eugene Sandulenko
d3cdcf05c7
SCUMM HE: Read packets from the server
2019-10-27 19:52:26 +00:00
Eugene Sandulenko
ed5901c36d
SCUMM HE: Implement data packet sending in Moonbase Commander
2019-10-26 21:05:46 +01:00
D G Turner
ea52a99692
SCUMM HE: Fix Compiler Warnings
...
These are flagged by GCC -Wsign-compare.
2019-10-26 02:55:07 +01:00
Lothar Serra Mari
aaed15d308
SCUMM HE: Fix call to strlcpy
2019-10-25 18:52:26 +02:00
Eugene Sandulenko
bedb0793a4
SCUMM HE: Switched packet manipulation to Stream code
2019-10-25 12:30:26 +01:00
Eugene Sandulenko
2b70d695d0
SCUMM HE: Unstubbed smaller Moonbase Commander networking functions
2019-10-25 12:30:26 +01:00
Eugene Sandulenko
ccf6960aff
SCUMM HE: Implement joinSession() for Moonbase Commander
2019-10-25 12:30:26 +01:00
Eugene Sandulenko
a6273269f1
SCUMM HE: Implement getSessionPlayerCount() for Moonbase Commander
2019-10-25 12:30:26 +01:00
Eugene Sandulenko
6c259f4fd0
SCUMM HE: Implemented startQuerySessions() for Moonbase Commander
2019-10-25 12:30:26 +01:00