[Scummvm-git-logs] scummvm master -> 1724d0f2dcad6540303eb05fc70a8de3aad6a90d

a-yyg 76591232+a-yyg at users.noreply.github.com
Thu Aug 12 06:22:35 UTC 2021


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
16ac457114 SAGA2: Fix indentation
1724d0f2dc SAGA2: Add command descriptions


Commit: 16ac4571142b3d90cc612d176b7da43a01887c10
    https://github.com/scummvm/scummvm/commit/16ac4571142b3d90cc612d176b7da43a01887c10
Author: a/ (yuri.kgpps at gmail.com)
Date: 2021-08-12T15:12:51+09:00

Commit Message:
SAGA2: Fix indentation

Changed paths:
    engines/saga2/automap.cpp


diff --git a/engines/saga2/automap.cpp b/engines/saga2/automap.cpp
index 01fbabe93d..734d895b51 100644
--- a/engines/saga2/automap.cpp
+++ b/engines/saga2/automap.cpp
@@ -326,8 +326,8 @@ bool CAutoMap::pointerHit(gPanelMessage &msg) {
 
 		if (g_vm->_teleportOnMap) {
 			TilePoint centerPt = TilePoint(((259 - pos.y) << (kTileUVShift + kPlatShift - 2)) + ((pos.x - 265) << (kTileUVShift + kPlatShift - 3)),
-										((259 - pos.y) << (kTileUVShift + kPlatShift - 2)) - ((pos.x - 265) << (kTileUVShift + kPlatShift - 3)),
-										0);
+			                               ((259 - pos.y) << (kTileUVShift + kPlatShift - 2)) - ((pos.x - 265) << (kTileUVShift + kPlatShift - 3)),
+			                               0);
 
 			TilePoint pt = centerPt + (baseCoords << (kTileUVShift + kPlatShift));
 


Commit: 1724d0f2dcad6540303eb05fc70a8de3aad6a90d
    https://github.com/scummvm/scummvm/commit/1724d0f2dcad6540303eb05fc70a8de3aad6a90d
Author: a/ (yuri.kgpps at gmail.com)
Date: 2021-08-12T15:22:11+09:00

Commit Message:
SAGA2: Add command descriptions

Changed paths:
    engines/saga2/console.h


diff --git a/engines/saga2/console.h b/engines/saga2/console.h
index aa21a4afce..560f7152a1 100644
--- a/engines/saga2/console.h
+++ b/engines/saga2/console.h
@@ -41,50 +41,73 @@ private:
 
 	TilePoint _savedLoc;
 
+    // Input: <None>. Kills the center actor.
 	bool cmdKillProtag(int argc, const char **argv);
 
+    // Input: <Actor ID>. Kills an actor.
 	bool cmdKill(int argc, const char **argv);
 
+    // Input: <Object ID>. Prints an object's name.
 	bool cmdObjName(int argc, const char **argv);
 
+    // Input: <Name Index>. Prints an ObjectID corresponding to the name index.
 	bool cmdObjNameIndexToID(int argc, const char **argv);
 
+    // Input: <Object Name>. Prints a list of objects containing the string in their name.
 	bool cmdSearchObj(int argc, const char **argv);
 
+    // Input: <Object ID>. Adds the object to the center actor's inventory.
 	bool cmdAddObj(int argc, const char **argv);
 
+    // Input: <1/0>. Sets godmode.
 	bool cmdGodmode(int argc, const char **argv);
 
+    // Input: <1/0>. Sets whether the position coordinates show.
 	bool cmdPosition(int argc, const char **argv);
 
+    // Input: <1/0>. Sets whether an item's stats show when holding it.
 	bool cmdStats(int argc, const char **argv);
 
+    // Input: <1/0>. Sets whether you can teleport by right clicking on the screen.
 	bool cmdTeleportOnClick(int argc, const char **argv);
 
+    // Input: <1/0>. Sets whether you can teleport by clicking on the map.
 	bool cmdTeleportOnMap(int argc, const char **argv);
 
+    // Input: <u> <v> <z>. Teleports the center character to the given position.
 	bool cmdTeleport(int argc, const char **argv);
 
+    // Input: <Actor ID>. Teleports the character to the npc.
 	bool cmdTeleportToNPC(int argc, const char **argv);
 
+    // Input: <Actor ID> <u> <v> <z>. Teleports the npc to the given position.
 	bool cmdTeleportNPC(int argc, const char **argv);
 
+    // Input: <Actor ID>. Teleports the npc to the center actor.
 	bool cmdTeleportNPCHere(int argc, const char **argv);
 
+    // Input: <None>. Teleport the three brothers to the center actor.
 	bool cmdTeleportPartyHere(int argc, const char **argv);
 
+    // Input: <None>. Saves the current location locally.
 	bool cmdSaveLoc(int argc, const char **argv);
 
+    // Input: <None>. Teleports the center actor to the location saved with cmdSaveLoc.
 	bool cmdLoadLoc(int argc, const char **argv);
 
+    // Input: <Place ID>. Teleports to the given place.
 	bool cmdGotoPlace(int argc, const char **argv);
 
+    // Input: <None>. Lists all of the place names along with their IDs.
 	bool cmdListPlaces(int argc, const char **argv);
 
+    // Input: <Map Scale Multiplier>. Dumps the map into a png.
 	bool cmdDumpMap(int argc, const char **argv);
 
+    // Input: <Music Index>. Plays a music track.
 	bool cmdPlayMusic(int argc, const char **argv);
 
+    // Input: <Voice ID>. Plays a voice track.
 	bool cmdPlayVoice(int argc, const char **argv);
 };
 




More information about the Scummvm-git-logs mailing list