2
0
Mark Sibly 8 жил өмнө
parent
commit
52637ee42d

+ 7 - 2
modules/std/newdocs/manual.md

@@ -14,6 +14,11 @@ The standard module includes the following namespaces:
 | [[std.stringio]]		| Functions to help with loading, saving and parsing strings.
 | [[std.stream]]		| The abstract Stream class and useful subclasses including FileStream.
 | [[std.memory]]		| The DataBuffer class to make dealing with memory buffers easier.
-| [[std.graphics]]		| Classes and functions for dealing with raw graphics data such Pixmap and Color.
-| [[std.audio]]			| Classes and functions for dealing with raw audio data such AudioData and Color.
+| [[std.graphics]]		| Classes and functions for dealing with raw graphics data and colors.
+| [[std.audio]]			| Classes and functions for dealing with raw audio data.
 | [[std.random]]		| Functions for generating random numbers.
+| [[std.geom]]			| Generic geometry classes for dealing with vector, matrices, pleanes, lines and quaternions.
+| [[std.process]]		| The process class for using OS processes.
+| [[std.socket]]		| The Socket and SocketStream classes for UDP networking.
+| [[std.json]]			| Classes for loading and saving JSON data.
+

+ 7 - 3
modules/std/permissions/permissions.monkey2

@@ -92,13 +92,17 @@ End
 
 Public
 
+#end
+
+#if __TARGET__="android" or __MAKEDOCS__
+
 #rem monkeydoc Check an android permission.
 
 This function is only available on android.
 
 Returns 1 if the given permission has been granted to the app, else 0.
 
-The permission string should be in android manifest form, eg: "android.permission.READ_EXTERNAL_STORAGE".
+The permission string should be in android manifest form, eg: "android.permission.READ\_EXTERNAL\_STORAGE".
 
 #end
 Function CheckPermission:Int( permission:String )
@@ -118,7 +122,7 @@ Attempts to grant the given permissions to the app.
 
 Depending on the permissions, this may cause a modal dialog to be presented to the user.
 
-The permission strings should be in android manifest form, eg: "android.permission.READ_EXTERNAL_STORAGE".
+The permission strings should be in android manifest form, eg: "android.permission.READ\_EXTERNAL\_STORAGE".
 
 If the result is an empty array, the operation was cancelled.
 
@@ -132,4 +136,4 @@ Function RequestPermissions( permissions:String[],finished:void( results:Int[] )
 	StartNextRequest()
 End
 
-#Endif
+#End