Browse Source

Fix some typos introduced in fcff3fc

Marc Plano-Lesay 12 năm trước cách đây
mục cha
commit
96cccac08c

+ 1 - 1
gameplay/src/SocialAchievement.h

@@ -5,7 +5,7 @@ namespace gameplay
 {
 
 /**
- * Defines a class for typical social game activities running with an autenicated session.
+ * Defines a class for typical social game activities running with an authenticated session.
  */
 class SocialAchievement
 {

+ 2 - 2
gameplay/src/SocialController.h

@@ -11,7 +11,7 @@ namespace gameplay
 /**
  * Defines a class for controlling various back-end support for social capabilities.
  *
- * Back-end social providers include Friends, Leaderboards, Acheivements and Multiplayer.
+ * Back-end social providers include Friends, Leaderboards, Achievements and Multiplayer.
  * Social back-ends supported are Scoreloop, GameCenter and Google Play Game Services and Facebook.
  * Configuration for these are specified in game.config:
 
@@ -41,7 +41,7 @@ class SocialController
 public:
 
     /**
-     * Asyncrhonously authenicates a new user session.
+     * Asyncrhonously authenticates a new user session.
      *
      * @param listener The listener
      */

+ 2 - 2
gameplay/src/SocialSession.h

@@ -50,7 +50,7 @@ public:
     /**
      * Asynchronously request the scores for the count where the player is in the middle.
      *
-     * @param leaderboardId The leaderboard to get populated witth the scores.
+     * @param leaderboardId The leaderboard to get populated with the scores.
      * @param community The community scope to filter the search list.
      * @param time The time scope to filter teh search list.
      * @param player The player to narrow the search around.
@@ -61,7 +61,7 @@ public:
     /**
      * Asynchronously request the scores for a specified leaderboard for this game.
      *
-     * @param leaderboardId The leaderboard to get populated witth the scores.
+     * @param leaderboardId The leaderboard to get populated with the scores.
      */
     virtual void loadScores(const char* leaderboardId, CommunityScope community, TimeScope time, unsigned int start, unsigned int count) = 0;
 

+ 1 - 1
gameplay/src/social/ScoreloopSocialSession.cpp

@@ -59,7 +59,7 @@ void* ScoreloopSocialSession::platformEventCallback(void* data)
     return 0;
 }
 
-void ScoreloopSocialSession::authenicate(SocialSessionListener* listener, Properties* properties)
+void ScoreloopSocialSession::authenticate(SocialSessionListener* listener, Properties* properties)
 {
     if (_session)
         return;

+ 1 - 1
gameplay/src/social/ScoreloopSocialSession.h

@@ -57,7 +57,7 @@ public:
      * @param listener The listener for responses for this session
      * @param properties The properties to initialize this session with for this game.
      */
-    static void authenicate(SocialSessionListener* listener, Properties* properties);
+    static void authenticate(SocialSessionListener* listener, Properties* properties);
 
     /**
      * @see SocialSession::getUser

+ 1 - 1
samples/browser/src/InputSample.cpp

@@ -93,7 +93,7 @@ void InputSample::update(float elapsedTime)
     if (hasAccelerometer())
     {
         Vector3 accelRaw, gyroRaw;
-        getRawSensorValues(&accelRaw.x, &accelRaw.y, &accelRaw.z, &gyroRaw.x, &gyroRaw.y, &gyroRaw.z);
+        getSensorValues(&accelRaw.x, &accelRaw.y, &accelRaw.z, &gyroRaw.x, &gyroRaw.y, &gyroRaw.z);
 
         // Adjust for landscape mode
         float temp = accelRaw.x;