Update the class list in config.py, and sync classref to the current source.

This commit is contained in:
Relintai 2020-03-22 01:09:53 +01:00
parent a08917370c
commit 533c25e96f
13 changed files with 96 additions and 17 deletions

View File

@ -19,6 +19,8 @@ def get_doc_classes():
"DungeonRoom",
"DungeonCorridor",
"Biome",
"WorldGenerator",
]
def get_doc_path():

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Biome" inherits="Reference" category="Core" version="3.2">
<class name="Biome" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="BiomeData" inherits="Resource" category="Core" version="3.2">
<class name="BiomeData" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
@ -31,7 +31,7 @@
<description>
</description>
</method>
<method name="add_liquid_voxel_surface">
<method name="add_liquid_surface">
<return type="void">
</return>
<argument index="0" name="voxel_surface" type="VoxelSurface">

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Dungeon" inherits="Reference" category="Core" version="3.2">
<class name="Dungeon" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="DungeonCorridor" inherits="DungeonRoom" category="Core" version="3.2">
<class name="DungeonCorridor" inherits="DungeonRoom" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="DungeonCorridorData" inherits="DungeonRoomData" category="Core" version="3.2">
<class name="DungeonCorridorData" inherits="DungeonRoomData" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="DungeonData" inherits="Resource" category="Core" version="3.2">
<class name="DungeonData" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
@ -55,7 +55,7 @@
<description>
</description>
</method>
<method name="add_liquid_voxel_surface">
<method name="add_liquid_surface">
<return type="void">
</return>
<argument index="0" name="voxel_surface" type="VoxelSurface">

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="DungeonRoom" inherits="Reference" category="Core" version="3.2">
<class name="DungeonRoom" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="DungeonRoomData" inherits="Resource" category="Core" version="3.2">
<class name="DungeonRoomData" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
@ -23,7 +23,7 @@
<description>
</description>
</method>
<method name="add_liquid_voxel_surface">
<method name="add_liquid_surface">
<return type="void">
</return>
<argument index="0" name="voxel_surface" type="VoxelSurface">

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Planet" inherits="Reference" category="Core" version="3.2">
<class name="Planet" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PlanetData" inherits="Resource" category="Core" version="3.2">
<class name="PlanetData" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
@ -23,7 +23,7 @@
<description>
</description>
</method>
<method name="add_liquid_voxel_surface">
<method name="add_liquid_surface">
<return type="void">
</return>
<argument index="0" name="voxel_surface" type="VoxelSurface">

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="WorldGenerator" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="_setup_planet" qualifiers="virtual">
<return type="Planet">
</return>
<argument index="0" name="seed" type="int">
</argument>
<description>
</description>
</method>
<method name="add_planet_data">
<return type="void">
</return>
<argument index="0" name="planet_data" type="PlanetData">
</argument>
<description>
</description>
</method>
<method name="get_planet_data" qualifiers="const">
<return type="PlanetData">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_planet_data_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="remove_planet_data">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="set_planet_data">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<argument index="1" name="data" type="PlanetData">
</argument>
<description>
</description>
</method>
<method name="setup_planet">
<return type="Planet">
</return>
<argument index="0" name="seed" type="int">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="planet_datas" type="Array" setter="set_planet_datas" getter="get_planet_datas" default="[ ]">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="WorldGeneratorPropData" inherits="Resource" category="Core" version="3.2">
<class name="WorldGeneratorPropData" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
@ -15,7 +15,7 @@
<description>
</description>
</method>
<method name="_get_prop" qualifiers="virtual">
<method name="_get_prop_seeded" qualifiers="virtual">
<return type="PropData">
</return>
<argument index="0" name="seed" type="int">
@ -31,7 +31,7 @@
<description>
</description>
</method>
<method name="get_prop">
<method name="get_prop_seeded">
<return type="PropData">
</return>
<argument index="0" name="seed" type="int">
@ -40,6 +40,10 @@
</description>
</method>
</methods>
<members>
<member name="prop" type="PropData" setter="set_prop" getter="get_prop">
</member>
</members>
<constants>
</constants>
</class>