pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/editor action_window.cxx,1.14,1.15 ob


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editor action_window.cxx,1.14,1.15 object_manager.cxx,1.46,1.47
Date: 18 Apr 2003 17:08:58 -0000

Update of /var/lib/cvs/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv23734/editor

Modified Files:
        action_window.cxx object_manager.cxx 
Log Message:
cleaned up the action_to_string stuff

Index: action_window.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/editor/action_window.cxx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- action_window.cxx   18 Apr 2003 09:22:29 -0000      1.14
+++ action_window.cxx   18 Apr 2003 17:08:56 -0000      1.15
@@ -57,7 +57,7 @@
 
   for (std::vector<ActionData>::iterator i = default_actions.begin (); i != 
default_actions.end (); ++i)
     {
-      checkboxes.push_back(new CL_CheckBox(CL_Point (10, y), 
action_to_string(i->name, TRANSLATED), window));
+      checkboxes.push_back(new CL_CheckBox(CL_Point (10, y), 
action_to_screenname(i->name), window));
       inputs.push_back(new CL_InputBox (CL_Rect(100, y, 190, 0), 
to_string(i->number_of), window));
       y += 20;
     }

Index: object_manager.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/editor/object_manager.cxx,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- object_manager.cxx  18 Apr 2003 09:22:29 -0000      1.46
+++ object_manager.cxx  18 Apr 2003 17:08:56 -0000      1.47
@@ -254,7 +254,7 @@
   // Printing actions to file
   xml << "  <action-list>\n";
   for (std::vector<ActionData>::iterator i = actions.begin(); i != 
actions.end(); ++i) {
-    xml << "    <" << action_to_string((*i).name, ENGLISH) << " count=\"" << 
(*i).number_of << "\"/>" << std::endl;
+    xml << "    <" << action_to_string((*i).name) << " count=\"" << 
(*i).number_of << "\"/>" << std::endl;
   }
   xml << "  </action-list>\n" << std::endl;
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]