Browse Source

Enforcing consistent naming

Marko Pintera 10 years ago
parent
commit
660eda87a8
3 changed files with 8 additions and 6 deletions
  1. 1 1
      MBansheeEditor/Scene/SceneCamera.cs
  2. 3 3
      MBansheeEngine/Time.cs
  3. 4 2
      TODO.txt

+ 1 - 1
MBansheeEditor/Scene/SceneCamera.cs

@@ -71,7 +71,7 @@ namespace BansheeEditor
                 lastButtonState = camRotating;
             }
 
-		    float frameDelta = Time.frameDelta;
+		    float frameDelta = Time.FrameDelta;
 		    if (camRotating)
 		    {
 		        float horzValue = VirtualInput.GetAxisValue(horizontalAxis);

+ 3 - 3
MBansheeEngine/Time.cs

@@ -8,7 +8,7 @@ namespace BansheeEngine
 {
     public static class Time
     {
-        public static float elapsed
+        public static float Elapsed
         {
             get
             {
@@ -16,7 +16,7 @@ namespace BansheeEngine
             }
         }
 
-        public static float frameDelta
+        public static float FrameDelta
         {
             get
             {
@@ -24,7 +24,7 @@ namespace BansheeEngine
             }
         }
 
-        public static int frameNumber
+        public static int FrameNumber
         {
             get
             {

+ 4 - 2
TODO.txt

@@ -95,14 +95,13 @@ Dialog.Show(title, text, btn1 text, btn1 callback, btn2 text, btn2 callback, btn
 Other simple stuff:
  - Inject an icon into an .exe (Win32 specific)
  - C# wrapper for GUISkin (and a way to assign the current skin to a window)
- - Need to add IsPointerDoubleClicked to Input (C++ and C#)
- - A way to add menu items from C#
  - Move all the code files into subfolders so their hierarchy is similar to VS filters
  - Font doesn't have a C# interface
  - Material/Shader/Technique/Pass don't have a C# interface
  - Get rid of PoolAlloc and other unused allocators (plus fix bs_new and others which have weird overloads)
  - Call stack from C# to use in Debug.Log calls
  - Get rid of event callback from HString and figure out a better way
+ - GUI TextureField similar to ResourceField but it displays the texture it has assigned
 
 ----------------------------------------------------------------------
 Handles
@@ -117,6 +116,9 @@ Rotate handle:
 
 Ideally free scale handle indicator should always render and be interactable and never be hidden by axis scale indicators (Not high priority)
 
+Later:
+ - Raycast snapping Ribek suggested
+
 ----------------------------------------------------------------------
 Scene View