Branch: refs/heads/master
Home: https://github.com/Warzone2100/warzone2100
Commit: 1c1d327382217e7629501657b8e8ff3844a65069
https://github.com/Warzone2100/warzone2100/commit/1c1d327382217e7629501657b8e8ff3844a65069
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multigifts.cpp
Log Message:
-----------
recvGift / recvAlliance - bounds checking
Commit: 2882dc836058a45ce35cd2935882a582fb9bc7c0
https://github.com/Warzone2100/warzone2100/commit/2882dc836058a45ce35cd2935882a582fb9bc7c0
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M data/base/images/frontend.img
A data/base/images/frontend/image_spectate.png
A data/base/images/frontend/image_spectate_hi.png
M data/mp/multiplay/script/rules/endconditions.js
M data/mp/multiplay/script/rules/events/gameinit.js
M data/mp/multiplay/script/rules/reticule.js
M lib/gamelib/gtime.cpp
M lib/ivis_opengl/pieblitfunc.cpp
M lib/ivis_opengl/pieblitfunc.h
M lib/netplay/netplay.cpp
M lib/netplay/netplay.h
M lib/widget/button.cpp
M src/activity.cpp
M src/activity.h
M src/cheat.cpp
M src/frend.h
M src/input/debugmappings.cpp
M src/intdisplay.cpp
M src/keybind.cpp
M src/keybind.h
M src/multigifts.cpp
M src/multiint.cpp
M src/multiint.h
M src/multiopt.cpp
M src/multiplay.cpp
M src/multiplay.h
M src/quickjs_backend.cpp
M src/wzapi.cpp
M src/wzapi.h
Log Message:
-----------
Basic spectator slot support in core
Commit: 81eca2bfa3c1e460f45ba86b0054f993c44ad54a
https://github.com/Warzone2100/warzone2100/commit/81eca2bfa3c1e460f45ba86b0054f993c44ad54a
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/framework/crc.cpp
Log Message:
-----------
crc.cpp: Remove an unneeded debug log
Commit: 62c18cc1d67390b7a2a7efc5ca5712a44fcc4146
https://github.com/Warzone2100/warzone2100/commit/62c18cc1d67390b7a2a7efc5ca5712a44fcc4146
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/ivis_opengl/bitimage.h
Log Message:
-----------
bitimage.h: Convert some assert() calls to ASSERT_OR_RETURN
Commit: d35a6dbe7c6b4b9315a87ea6cf7a3b2ae6a672ec
https://github.com/Warzone2100/warzone2100/commit/d35a6dbe7c6b4b9315a87ea6cf7a3b2ae6a672ec
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M data/base/images/frontend.img
A data/base/images/frontend/image_spectate_sm.png
M data/mp/multiplay/script/rules/endconditions.js
M lib/gamelib/gtime.cpp
M lib/netplay/netplay.cpp
M lib/netplay/netplay.h
M src/frend.h
M src/multiint.cpp
M src/multiint.h
M src/multijoin.cpp
M src/multiopt.cpp
M src/multiplay.cpp
M src/multiplay.h
M src/multisync.cpp
M src/titleui/gamefind.cpp
M src/wzapi.cpp
Log Message:
-----------
Add support for explicitly joining as player or spectator
Plus fixes for spectator-only slots (i.e. those beyond game.maxPlayers)
Commit: 3b3d2b32126db51dd734b253abc8ae2a0c49257d
https://github.com/Warzone2100/warzone2100/commit/3b3d2b32126db51dd734b253abc8ae2a0c49257d
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
M lib/netplay/netplay.h
M src/chat.cpp
M src/chat.h
M src/console.cpp
M src/console.h
M src/multiplay.cpp
M src/multirecv.h
Log Message:
-----------
Add in-game chat between spectators
Commit: 23d13f50891cc3744856708fede5b2e8d17fae81
https://github.com/Warzone2100/warzone2100/commit/23d13f50891cc3744856708fede5b2e8d17fae81
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/console.cpp
Log Message:
-----------
console.cpp: Slightly increase DEFAULT_MESSAGE_DURATION
Commit: 54b49f0b5b8185e3b6b2af1bfc13e5060fde701c
https://github.com/Warzone2100/warzone2100/commit/54b49f0b5b8185e3b6b2af1bfc13e5060fde701c
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
A lib/widget/checkbox.cpp
A lib/widget/checkbox.h
M src/notifications.cpp
Log Message:
-----------
Move WzCheckboxButton into separate files
Commit: d2eda8867baa08ad0f04fd77b29f626326c232bc
https://github.com/Warzone2100/warzone2100/commit/d2eda8867baa08ad0f04fd77b29f626326c232bc
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.h
M src/titleui/protocol.cpp
Log Message:
-----------
Add checkbox for joining as spectator via IP prompt
Commit: f40a1ef053d11ebc4bf44ef245471711b3bbba46
https://github.com/Warzone2100/warzone2100/commit/f40a1ef053d11ebc4bf44ef245471711b3bbba46
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M data/mp/multiplay/script/rules/endconditions.js
M data/mp/multiplay/script/rules/reticule.js
M src/quickjs_backend.cpp
M src/wzapi.cpp
M src/wzapi.h
Log Message:
-----------
Adjust how spectator status is exposed to scripts, add isSpectator() API
Commit: b1addd05c717e25d93f764ccd97995d7110f5e2b
https://github.com/Warzone2100/warzone2100/commit/b1addd05c717e25d93f764ccd97995d7110f5e2b
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M data/mp/multiplay/script/rules/setupgame.js
Log Message:
-----------
setupgame.js: Do not disable minimap if isSpectator
Commit: f7fbf4c146c6212f495efc2fbf4cdfe131a68926
https://github.com/Warzone2100/warzone2100/commit/f7fbf4c146c6212f495efc2fbf4cdfe131a68926
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
Log Message:
-----------
NETprocessSystemMessage: Ensure only host can set isSpectator
Commit: 4be26f53165a49e6afd54bbfeb511fdef56895e8
https://github.com/Warzone2100/warzone2100/commit/4be26f53165a49e6afd54bbfeb511fdef56895e8
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.cpp
M src/multiopt.cpp
M src/multiplay.cpp
M src/multiplay.h
Log Message:
-----------
Use optional for TimeEveryoneIsInGame
Commit: 530d543ba1cf12f113e43d97e4b22c2699177281
https://github.com/Warzone2100/warzone2100/commit/530d543ba1cf12f113e43d97e4b22c2699177281
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
Log Message:
-----------
Refactor dumpLocalDebugSyncLog, dump local client's log when receiving
NET_DEBUG_SYNC as well
Commit: a4b7e6890de55008a4a1a978b7ff6b6d202db6ba
https://github.com/Warzone2100/warzone2100/commit/a4b7e6890de55008a4a1a978b7ff6b6d202db6ba
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
Log Message:
-----------
checkDebugSync: Add more logging
Commit: 5011b5760f81f4f2e06c78a3c692f83cf7e80338
https://github.com/Warzone2100/warzone2100/commit/5011b5760f81f4f2e06c78a3c692f83cf7e80338
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/gamelib/gtime.cpp
Log Message:
-----------
gtime.cpp: Add shouldWaitForPlayerSlot, use TimeEveryoneIsInGame
Commit: b0eb50b9c0b7b5621f1e0103199361352a42d958
https://github.com/Warzone2100/warzone2100/commit/b0eb50b9c0b7b5621f1e0103199361352a42d958
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/gamelib/gtime.cpp
M lib/netplay/netplay.cpp
Log Message:
-----------
Adjust handling of checkDebugSync for spectator slots
Commit: 5f2a937c32580a2f1e861334dfacc34858eccb4b
https://github.com/Warzone2100/warzone2100/commit/5f2a937c32580a2f1e861334dfacc34858eccb4b
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multimenu.cpp
Log Message:
-----------
MultiMenuGrid: Disable some buttons for spectators
Commit: 677ad8f6c366145aeb598822786911a78a13aff0
https://github.com/Warzone2100/warzone2100/commit/677ad8f6c366145aeb598822786911a78a13aff0
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/keybind.cpp
Log Message:
-----------
keybind.cpp: No-op many keybind functions for spectators
Commit: d818475b8ae09de7140ba8176f1e15468c60fc74
https://github.com/Warzone2100/warzone2100/commit/d818475b8ae09de7140ba8176f1e15468c60fc74
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiplay.cpp
Log Message:
-----------
sendInGameSystemMessage() - spectator handling
Commit: 6eb1e13902235f95d437e6302f084411b841f22f
https://github.com/Warzone2100/warzone2100/commit/6eb1e13902235f95d437e6302f084411b841f22f
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/qtscript.cpp
M src/wzscriptdebug.cpp
M src/wzscriptdebug.h
Log Message:
-----------
WZScriptDebugger: "read-only" mode (for spectators)
Commit: 66eed56ab4231e2c900528a15e38c08154dcc802
https://github.com/Warzone2100/warzone2100/commit/66eed56ab4231e2c900528a15e38c08154dcc802
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
M src/multiint.cpp
M src/multiint.h
Log Message:
-----------
Improve spectator auto-ready behavior
Commit: 8e04a97c25bcb3e97e3de32a2f3762f07e993976
https://github.com/Warzone2100/warzone2100/commit/8e04a97c25bcb3e97e3de32a2f3762f07e993976
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.cpp
Log Message:
-----------
Adjust appearance of ready buttons for other players
Commit: febcfdbf991257822ed90173d05be952c0e0ae16
https://github.com/Warzone2100/warzone2100/commit/febcfdbf991257822ed90173d05be952c0e0ae16
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M data/mp/multiplay/script/rules/endconditions.js
M data/mp/multiplay/script/rules/reticule.js
M src/multiopt.cpp
M src/wrappers.cpp
M src/wzapi.cpp
Log Message:
-----------
Adapt endconditions logic from "Opening a map and minimap after a
victory/defeat #1957"
Co-Authored-By: Vitya Andreev <[email protected]>
Commit: e8777d50b44dbffa501af2a571ca56e1f4ae6c30
https://github.com/Warzone2100/warzone2100/commit/e8777d50b44dbffa501af2a571ca56e1f4ae6c30
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiplay.cpp
Log Message:
-----------
makePlayerSpectator: Even if !removeAllStructs, destroy structs that can
enable game state changes
Commit: 9efc4c5736a457f2affafd08d76a294b2ef695c7
https://github.com/Warzone2100/warzone2100/commit/9efc4c5736a457f2affafd08d76a294b2ef695c7
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
M src/multiint.cpp
M src/multiplay.cpp
Log Message:
-----------
Handle NET_VOTE & spectators better, ignore spectators in
NET_num/getHumanPlayers()
Commit: f907e1e3d4d1ae2953a493f55e828561a0711040
https://github.com/Warzone2100/warzone2100/commit/f907e1e3d4d1ae2953a493f55e828561a0711040
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M data/mp/multiplay/script/rules/endconditions.js
M src/hci.cpp
M src/hci.h
M src/multiplay.cpp
M src/wzapi.cpp
Log Message:
-----------
Spectator tweaks: close all panels, disable reticule buttons, hide power bar
Commit: 6ca53864df709486d0d9ff880be86b7138832499
https://github.com/Warzone2100/warzone2100/commit/6ca53864df709486d0d9ff880be86b7138832499
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/clparse.cpp
M src/clparse.h
M src/multiplay.cpp
Log Message:
-----------
Add command-line option: --spectator-min-ui
Reduces the UI / persistent messages shown in spectator mode.
Commit: 3a3899dfcaa23b75cb6a2c5781b3c2720bd29c00
https://github.com/Warzone2100/warzone2100/commit/3a3899dfcaa23b75cb6a2c5781b3c2720bd29c00
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netjoin_stub.cpp
M lib/netplay/netplay.cpp
M lib/netplay/netplay.h
M src/multiopt.cpp
M src/titleui/gamefind.cpp
Log Message:
-----------
Adjust spectator info in gamestruct
Commit: 75894a5a2be7e9f99f538cb8116dab15aa52ca32
https://github.com/Warzone2100/warzone2100/commit/75894a5a2be7e9f99f538cb8116dab15aa52ca32
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.cpp
Log Message:
-----------
loadMapPlayerSettings: Better handling of "spectator"
Commit: 7b2fb8f80259e75f349af2fbf1b4f96f522fbce3
https://github.com/Warzone2100/warzone2100/commit/7b2fb8f80259e75f349af2fbf1b4f96f522fbce3
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
M lib/netplay/netplay.h
Log Message:
-----------
Refactor NET_InitPlayer a bit so isSpectator from configuration json is
maintained
Commit: a702c508b6e1456631ed295a10539c47ec1f6f62
https://github.com/Warzone2100/warzone2100/commit/a702c508b6e1456631ed295a10539c47ec1f6f62
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.cpp
Log Message:
-----------
Update playerbox tooltip for spectator-only slots
Commit: 8ed58cacabd2889bc94c0943c5d15b66662ca204
https://github.com/Warzone2100/warzone2100/commit/8ed58cacabd2889bc94c0943c5d15b66662ca204
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/wzapi.cpp
Log Message:
-----------
gameOverMessage(): Limit display of "YOU WERE DEFEATED!"
Commit: 5c3257c7cbd09e9918ca82f9ddfe855d90f9eb1f
https://github.com/Warzone2100/warzone2100/commit/5c3257c7cbd09e9918ca82f9ddfe855d90f9eb1f
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/data.cpp
M src/data.h
M src/quickjs_backend.cpp
M src/wzapi.cpp
Log Message:
-----------
Improve loadFileForInclude / loadScript
Commit: da580b4bd35300840636216d933b1f04057b4b48
https://github.com/Warzone2100/warzone2100/commit/da580b4bd35300840636216d933b1f04057b4b48
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.cpp
Log Message:
-----------
multiplayPlayersReady(): Also check allPlayersOnSameTeam
Commit: 2be9069e5666e14e6e3de3c1c2dbe115c885ea5b
https://github.com/Warzone2100/warzone2100/commit/2be9069e5666e14e6e3de3c1c2dbe115c885ea5b
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
Log Message:
-----------
Robustness tweaks to NET_CreatePlayer()
Commit: 8935165d75ba96a0dae5a42c199890fc95c832a2
https://github.com/Warzone2100/warzone2100/commit/8935165d75ba96a0dae5a42c199890fc95c832a2
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/gamelib/gtime.cpp
M lib/gamelib/gtime.h
M src/loop.cpp
Log Message:
-----------
Spectators: automatically fast-forward to catch up to players (if lagged)
Commit: 52fcc9152e14965fa59c9f7c4587efc25a658800
https://github.com/Warzone2100/warzone2100/commit/52fcc9152e14965fa59c9f7c4587efc25a658800
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
Log Message:
-----------
Fix: NETallowJoining(): Early slot count test should count all slots (not
just player slots)
Commit: e57acf896180f305a8413f215468a11bcdf32ff9
https://github.com/Warzone2100/warzone2100/commit/e57acf896180f305a8413f215468a11bcdf32ff9
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.cpp
Log Message:
-----------
Fix: Missing pass-through of asSpectator
Commit: f7a8a21eb5029bebcbdf3c8ee1944e06f1835c30
https://github.com/Warzone2100/warzone2100/commit/f7a8a21eb5029bebcbdf3c8ee1944e06f1835c30
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/action.cpp
M src/advvis.cpp
M src/basedef.h
M src/baseobject.cpp
M src/combat.cpp
M src/component.cpp
M src/display.cpp
M src/display3d.cpp
M src/droid.cpp
M src/effects.cpp
M src/feature.cpp
M src/keybind.cpp
M src/map.h
M src/move.cpp
M src/multijoin.cpp
M src/multimenu.cpp
M src/projectile.cpp
M src/radar.cpp
M src/structure.cpp
Log Message:
-----------
Encapsulate BASE_OBJECT display-only visibility checking in function, add
various ASSERTs
BASE_OBJECT::visibleForLocalDisplay()
Accepts a player index < MAX_PLAYERS *or* `selectedPlayer` (even if
`selectedPlayer` is a spectator-only slot).
Do *NOT* use to query visibility for calculations involving game / simulation
state. For display (non-game-state) purposes ONLY, as it factors in things like
`godMode`, spectator visibility, etc.
Commit: f0af8e5984eba52aaf99c6011a2cc3afc1c0e6e0
https://github.com/Warzone2100/warzone2100/commit/f0af8e5984eba52aaf99c6011a2cc3afc1c0e6e0
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/advvis.cpp
M src/atmos.cpp
M src/droid.cpp
M src/geometry.h
M src/map.h
M src/radar.cpp
M src/structure.cpp
Log Message:
-----------
Convert TEST_TILE_VISIBLE(selectedPlayer, ...) to
TEST_TILE_VISIBLE_TO_SELECTEDPLAYER
Commit: d53d9318f6dba1167f922539075c8246c82f4097
https://github.com/Warzone2100/warzone2100/commit/d53d9318f6dba1167f922539075c8246c82f4097
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/console.cpp
M src/design.cpp
M src/droid.cpp
M src/hci/build.cpp
M src/hci/commander.cpp
M src/mission.cpp
M src/projectile.cpp
M src/stats.cpp
M src/structure.cpp
M src/template.cpp
Log Message:
-----------
Additional bounds checks for player / selectedPlayer
Commit: d910191dfbe080bea3e930721936294d98aab5df
https://github.com/Warzone2100/warzone2100/commit/d910191dfbe080bea3e930721936294d98aab5df
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/hci.cpp
Log Message:
-----------
Block various player UI from being opened if selectedPlayer is a spectator
Commit: 2c84f14119f8932f667d767b8e1a977d496f0c3b
https://github.com/Warzone2100/warzone2100/commit/2c84f14119f8932f667d767b8e1a977d496f0c3b
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/display.cpp
M src/order.cpp
M src/selection.cpp
M src/wzapi.cpp
Log Message:
-----------
Additional bounds checks for player / selectedPlayer (object selection)
Commit: 78eed062839d6534c1f1e170de46cac3309ca126
https://github.com/Warzone2100/warzone2100/commit/78eed062839d6534c1f1e170de46cac3309ca126
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/display3d.cpp
M src/droid.cpp
M src/map.h
M src/structure.cpp
M src/structure.h
Log Message:
-----------
Additional bounds checks for player / selectedPlayer (display3d, droids)
Commit: 8e4373ae2ba080aad5b515324dcee68df00de533
https://github.com/Warzone2100/warzone2100/commit/8e4373ae2ba080aad5b515324dcee68df00de533
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/edit3d.h
M src/game.cpp
M src/geometry.cpp
M src/hci.cpp
M src/init.cpp
M src/intorder.cpp
M src/keybind.cpp
M src/multiplay.cpp
M src/multistruct.cpp
M src/power.cpp
M src/qtscript.cpp
M src/research.cpp
M src/research.h
M src/structure.cpp
M src/visibility.cpp
Log Message:
-----------
Additional bounds checks for player / selectedPlayer (hci, keybind, etc)
Commit: 44b4439a07a0bc9c322fbe42e727443d7970fa07
https://github.com/Warzone2100/warzone2100/commit/44b4439a07a0bc9c322fbe42e727443d7970fa07
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/droid.cpp
M src/hci/research.cpp
M src/map.h
M src/mission.cpp
M src/multigifts.cpp
M src/multimenu.cpp
M src/multiplay.cpp
M src/oprint.cpp
M src/order.cpp
M src/radar.cpp
M src/research.cpp
M src/scores.cpp
M src/selection.cpp
M src/template.cpp
M src/visibility.cpp
Log Message:
-----------
Additional bounds checks for player / selectedPlayer (radar, research,
selection, etc)
Commit: 8da1b2cfb154b684b6b26dfae82206e896f869cb
https://github.com/Warzone2100/warzone2100/commit/8da1b2cfb154b684b6b26dfae82206e896f869cb
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/map.h
M src/structure.cpp
M src/template.cpp
M src/transporter.cpp
M src/warcam.cpp
M src/wzapi.cpp
M src/wzscriptdebug.cpp
Log Message:
-----------
Additional bounds checks for player / selectedPlayer
Commit: 114076c155bb515325e5624273f0cf1796fcb057
https://github.com/Warzone2100/warzone2100/commit/114076c155bb515325e5624273f0cf1796fcb057
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/display3d.cpp
M src/structure.cpp
M src/structure.h
Log Message:
-----------
Blueprint "virtual" structure objects should use the building player
(Not always selectedPlayer)
Commit: eb5f5f7f6608977b9c587abab4ff2a9a5383ecd6
https://github.com/Warzone2100/warzone2100/commit/eb5f5f7f6608977b9c587abab4ff2a9a5383ecd6
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/gamelib/gtime.cpp
Log Message:
-----------
Improve "waiting on player(s)" notice when client is a spectator
Commit: c839ae0d08baf8aa2991d27ca49a2fe313299199
https://github.com/Warzone2100/warzone2100/commit/c839ae0d08baf8aa2991d27ca49a2fe313299199
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/gamelib/gtime.cpp
M lib/netplay/netplay.cpp
M lib/netplay/netplay.h
M lib/netplay/nettypes.cpp
M lib/netplay/nettypes.h
M src/component.cpp
M src/display3d.cpp
M src/droid.cpp
M src/game.cpp
M src/hci.cpp
M src/init.cpp
M src/intdisplay.cpp
M src/intelmap.cpp
M src/mission.cpp
M src/multiint.cpp
M src/multiint.h
M src/multijoin.cpp
M src/multimenu.cpp
M src/multiopt.cpp
M src/multiplay.cpp
M src/multiplay.h
M src/multistat.cpp
M src/multisync.cpp
M src/qtscript.cpp
M src/visibility.cpp
M src/wzapi.cpp
Log Message:
-----------
Player & spectator-only slot separation
- Add additional spectator-only slots to all the necessary network-related
arrays, but maintain the existing limit of `MAX_PLAYERS` for (most) game state
arrays. (i.e. Spectator-only slots can now be added > `MAX_PLAYERS`.)
- Various other tweaks (where necessary) to support `selectedPlayer >
MAX_PLAYERS` (for those additional spectator-only slots).
Commit: e8a9e3a6198fb7d6c707211fc059c14dcc532b24
https://github.com/Warzone2100/warzone2100/commit/e8a9e3a6198fb7d6c707211fc059c14dcc532b24
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/display.cpp
Log Message:
-----------
Fix: Assert caused by ProcessRadarInput() for spectator-only slots
Commit: d9ec60666e966df2fe06d2aa1ea792488d2b4340
https://github.com/Warzone2100/warzone2100/commit/d9ec60666e966df2fe06d2aa1ea792488d2b4340
Author: Cyp <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
A lib/netplay/netreplay.cpp
A lib/netplay/netreplay.h
M src/frontend.cpp
M src/frontend.h
M src/loadsave.cpp
M src/loadsave.h
M src/main.cpp
M src/main.h
Log Message:
-----------
replay: Save replay files.
Commit: 060ef4366579cd92464f1ed80bfa6a8e9d1a3c47
https://github.com/Warzone2100/warzone2100/commit/060ef4366579cd92464f1ed80bfa6a8e9d1a3c47
Author: Cyp <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netqueue.h
M lib/netplay/netreplay.cpp
M lib/netplay/netreplay.h
M lib/netplay/nettypes.cpp
M lib/netplay/nettypes.h
M src/frontend.cpp
M src/loadsave.cpp
M src/loadsave.h
M src/main.cpp
Log Message:
-----------
replay: Add function for loading replay files.
Commit: b54af5de759987e3083586e4af7b433cb984c34b
https://github.com/Warzone2100/warzone2100/commit/b54af5de759987e3083586e4af7b433cb984c34b
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/gamelib/gtime.cpp
M lib/netplay/netplay.cpp
M lib/netplay/netreplay.cpp
M lib/netplay/netreplay.h
M lib/netplay/nettypes.cpp
M lib/netplay/nettypes.h
M src/cheat.cpp
M src/game.cpp
M src/ingameop.cpp
M src/init.cpp
M src/loop.cpp
M src/loop.h
M src/main.cpp
M src/multibot.cpp
M src/multiint.cpp
M src/multiopt.cpp
M src/multiplay.cpp
M src/multiplay.h
M src/multistat.cpp
M src/multistat.h
M src/random.cpp
M src/random.h
Log Message:
-----------
replay: Add support for loading + playing skirmish / multiplayer replay files
Commit: a72d575a9ffd2eabe7d0b8e68f76e9ec100071c1
https://github.com/Warzone2100/warzone2100/commit/a72d575a9ffd2eabe7d0b8e68f76e9ec100071c1
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.cpp
Log Message:
-----------
WzMultiplayerOptionsTitleUI::startHost() - always reset PingTimes
Commit: ae4d13849b6c32bc884cacb66b0cad8934e1403d
https://github.com/Warzone2100/warzone2100/commit/ae4d13849b6c32bc884cacb66b0cad8934e1403d
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/notifications.cpp
M src/notifications.h
Log Message:
-----------
Add WZ_Notification_Image::loadImageToTexture()
Commit: f3184c14302fc5a4809d25973b14e2a7c20c6a3e
https://github.com/Warzone2100/warzone2100/commit/f3184c14302fc5a4809d25973b14e2a7c20c6a3e
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/widget/button.cpp
M lib/widget/button.h
Log Message:
-----------
Add W_BUTTON::getOnClickButtonPressed()
Commit: ae4ee78e6d1cb5578d2977376e5e377261f811d3
https://github.com/Warzone2100/warzone2100/commit/ae4ee78e6d1cb5578d2977376e5e377261f811d3
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M COPYING.NONGPL
A data/base/images/replay/fast_forward.png
A data/base/images/replay/pause.png
A data/base/images/replay/play.png
M pkg/copyright
M src/hci.cpp
Log Message:
-----------
replay: Add replay controller (pause, play, fast-forward)
Commit: 4b2c7ec08f77ceed4f4a95a5008161fa16e4260a
https://github.com/Warzone2100/warzone2100/commit/4b2c7ec08f77ceed4f4a95a5008161fa16e4260a
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netreplay.cpp
M lib/netplay/netreplay.h
M src/frontend.cpp
M src/loadsave.cpp
M src/loadsave.h
M src/main.cpp
Log Message:
-----------
replay: Separate multiplay replays from skirmish
Commit: b3e941269bc8b4b09d7500d3b83210c85b3176c4
https://github.com/Warzone2100/warzone2100/commit/b3e941269bc8b4b09d7500d3b83210c85b3176c4
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M .gitmodules
A 3rdparty/readerwriterqueue
M lib/netplay/netqueue.cpp
M lib/netplay/netqueue.h
M lib/netplay/netreplay.cpp
Log Message:
-----------
replay: Move replay writing to background thread
Tweak last
Commit: 1eeb13e056dc113a72b896074308aa5572e4dbfb
https://github.com/Warzone2100/warzone2100/commit/1eeb13e056dc113a72b896074308aa5572e4dbfb
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netreplay.cpp
Log Message:
-----------
replay: Handle json parsing exceptions in NETreplayLoadStart()
Commit: d3251c7fb26d592eb4318ef8f9f7f4381afa0e60
https://github.com/Warzone2100/warzone2100/commit/d3251c7fb26d592eb4318ef8f9f7f4381afa0e60
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/ingameop.cpp
Log Message:
-----------
replay: Do not mention saving in startInGameConfirmQuit()
Commit: 798defe261d4895e22439b8c72a951338cfb8383
https://github.com/Warzone2100/warzone2100/commit/798defe261d4895e22439b8c72a951338cfb8383
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netreplay.cpp
Log Message:
-----------
replay: Fix mingw compilation error
Commit: bca9390b435ce3524a18114daeacca83841f48b9
https://github.com/Warzone2100/warzone2100/commit/bca9390b435ce3524a18114daeacca83841f48b9
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/loadsave.cpp
Log Message:
-----------
Fix: runLoadSave() loading multiplay replays
Commit: 8a33185d6b8baf50d1c96f4fd6e868c19147a17d
https://github.com/Warzone2100/warzone2100/commit/8a33185d6b8baf50d1c96f4fd6e868c19147a17d
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/ivis_opengl/pieblitfunc.cpp
M lib/ivis_opengl/pieblitfunc.h
Log Message:
-----------
Add iV_DrawImageFileAnisotropic()
Commit: 7e7ed705fde35a9dc9418d13264d0b334360e76e
https://github.com/Warzone2100/warzone2100/commit/7e7ed705fde35a9dc9418d13264d0b334360e76e
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/widget/checkbox.cpp
M lib/widget/checkbox.h
Log Message:
-----------
WzCheckboxButton: Add setIsChecked(), setTextColor(); render disabled overlay
last
Commit: 2d9a1ddba0b121328538f22c6bb1a21ae8e742ed
https://github.com/Warzone2100/warzone2100/commit/2d9a1ddba0b121328538f22c6bb1a21ae8e742ed
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/widget/widget.cpp
Log Message:
-----------
widget.cpp: Various cleanup tweaks
Commit: 3497bfa02b8a75b18efedae69da105ee1031bb86
https://github.com/Warzone2100/warzone2100/commit/3497bfa02b8a75b18efedae69da105ee1031bb86
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.cpp
M src/multiint.h
M src/titleui/multiplayer.h
Log Message:
-----------
Refactor + improve lobby players view
- In multiplayer lobbies, add tabs to view separate lists of Player slots and
Spectator-only slots.
- In multiplay lobbies, add a "Host Options" button to trigger a drop-down
overlay of additional Host-only options (currently: "Enable Spectator Join",
"Lock Teams", "Lock Positions")
- Refactor how player rows are drawn
- Transition position-change handling to an overlay screen
Commit: 575d0030de8fae49193b4ae009de6760f5ef940d
https://github.com/Warzone2100/warzone2100/commit/575d0030de8fae49193b4ae009de6760f5ef940d
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multistat.cpp
Log Message:
-----------
loadMultiStatsFromJSON: Clear skirmish stats
Commit: f462731dfcdf88cd16721c934032b3d02f1d9a3e
https://github.com/Warzone2100/warzone2100/commit/f462731dfcdf88cd16721c934032b3d02f1d9a3e
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
Log Message:
-----------
NETprocessSystemMessage: Additional host-only-receiver message checks
Commit: 43bd5ff4a4c96b97aca90767a7ff656990cc102d
https://github.com/Warzone2100/warzone2100/commit/43bd5ff4a4c96b97aca90767a7ff656990cc102d
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
M lib/netplay/netplay.h
M src/multiint.cpp
Log Message:
-----------
Remove unused PLAYER.connection
Commit: c22c7ddd997d953b9cac21c377cc4049c24453d8
https://github.com/Warzone2100/warzone2100/commit/c22c7ddd997d953b9cac21c377cc4049c24453d8
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
M lib/netplay/netplay.h
Log Message:
-----------
Change how clients submit player name changes to host
- Add new NET_PLAYERNAME_CHANGEREQUEST message
- NET_PLAYER_INFO is now a host-only message
Commit: f67f5ef8aebc0ae91560a705bc3d9127753ea9c2
https://github.com/Warzone2100/warzone2100/commit/f67f5ef8aebc0ae91560a705bc3d9127753ea9c2
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
Log Message:
-----------
netplay: NET_GAME_FLAGS should only be sent by the host
Commit: de842742266853cf24896d1732af45e50c2134d8
https://github.com/Warzone2100/warzone2100/commit/de842742266853cf24896d1732af45e50c2134d8
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
M src/multiint.cpp
M src/multiopt.cpp
M src/multiplay.cpp
Log Message:
-----------
netplay: Various additional sanity-checks for messages
Commit: bc4aa19d1a81ad0193dac6dab0804fb00e98a1ed
https://github.com/Warzone2100/warzone2100/commit/bc4aa19d1a81ad0193dac6dab0804fb00e98a1ed
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.cpp
Log Message:
-----------
Tweak: Host should always be able to toggle ready
Even if they are a spectator
Commit: 30cab2f627f0697380d1f4455536e53dd7f4d88b
https://github.com/Warzone2100/warzone2100/commit/30cab2f627f0697380d1f4455536e53dd7f4d88b
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
M lib/netplay/netplay.h
M src/clparse.cpp
M src/wrappers.cpp
Log Message:
-----------
Add --spectate CLI option (same as --join but joins as spectator)
Commit: 574033a5aa720a5fdd6dace7dc26dcb96f92a51c
https://github.com/Warzone2100/warzone2100/commit/574033a5aa720a5fdd6dace7dc26dcb96f92a51c
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.cpp
Log Message:
-----------
Refactor WzPositionChooser for future multi-purpose use
Commit: 56cca14667cd88f97d91b8cbf7010eaf3419e385
https://github.com/Warzone2100/warzone2100/commit/56cca14667cd88f97d91b8cbf7010eaf3419e385
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/widget/form.cpp
M lib/widget/form.h
M lib/widget/widgbase.h
Log Message:
-----------
Add W_FULLSCREENOVERLAY_CLICKFORM::setCutoutWidget()
- Draws the background over everything *except* the rect of the cutoutWidget.
Commit: 2f3d65c6f529ca73488edf13d1fc9ad4893919b4
https://github.com/Warzone2100/warzone2100/commit/2f3d65c6f529ca73488edf13d1fc9ad4893919b4
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/widget/widget.cpp
Log Message:
-----------
widgRegisterOverlayScreen(): Check for queued deletion
Commit: f98fee8eab6b829ba3ebc1b7569611994d5780f4
https://github.com/Warzone2100/warzone2100/commit/f98fee8eab6b829ba3ebc1b7569611994d5780f4
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M lib/netplay/netplay.cpp
M lib/netplay/netplay.h
M lib/netplay/nettypes.cpp
M lib/netplay/nettypes.h
M src/multiint.cpp
M src/multiint.h
M src/multijoin.cpp
M src/titleui/multiplayer.h
Log Message:
-----------
Support moving players <-> spectators in the lobby
- This uses new functionality to swap player indexes while in the lobby (no
disconnect / re-join needed).
- Players can become Spectators: A player can become a spectator (in the team
chooser) if there are open spectator slots, and the host can move a Player to
Spectators if there are open slots or a new spectator slot can be opened.
- Spectators can become Players: A Spectator can switch to an open Player slot
(if they haven't previously been made a Spectator by the Host), or they can ask
the Host to swap them into an occupied Player slot. The Host can prompt and ask
a Spectator if they'd like to play.
- A new "player slot swap chooser" makes it easy for the Host to see and choose
an occupied player slot to swap with a spectator.
Commit: 3e139e5a9b222567e2575245dce55476dc6c3b0f
https://github.com/Warzone2100/warzone2100/commit/3e139e5a9b222567e2575245dce55476dc6c3b0f
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/activity.cpp
M src/activity.h
M src/wzcrashhandlingproviders.cpp
Log Message:
-----------
Add isReplay to ActivityManager data, crash-handling context
Commit: be0f393bed5a12bc3059873ab0d4051deaf18a87
https://github.com/Warzone2100/warzone2100/commit/be0f393bed5a12bc3059873ab0d4051deaf18a87
Author: past-due <[email protected]>
Date: 2021-09-19 (Sun, 19 Sep 2021)
Changed paths:
M src/multiint.cpp
Log Message:
-----------
Fix: Right-click to distribute AI choice
Compare:
https://github.com/Warzone2100/warzone2100/compare/f3348587b51f...be0f393bed5a
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits