Commit Graph

33 Commits

Author SHA1 Message Date
b63eed39f9 Added wall mesh transform properties to the world and chunk. Also cleanups the the ChannelFlags enum and added FLAG_CHANNEL_WALL_HOLE to it. 2022-02-26 17:24:45 +01:00
b30c1b9153 Added a new flags default channel. Also added flags enum for it. 2022-02-26 14:56:04 +01:00
ee4c184d64 Add properties for rao in the light job. 2022-02-24 19:23:25 +01:00
9c0b10ef76 Make rao scale with cell size. 2022-02-24 19:17:22 +01:00
aa85599ec4 Added a custom transform to world and chunks. It can be used to set up everything as isometric. 2022-02-24 18:48:46 +01:00
f722a9ea6b Remove unused values from the build flags enum. 2022-02-24 17:04:35 +01:00
bac9329808 Lots of cleanups. 2022-02-24 16:55:14 +01:00
7f68d5f794 Changed voxel scale to cell size x and y. 2022-02-24 15:50:47 +01:00
936143b964 Removed world height. 2022-02-24 14:59:33 +01:00
93e3bb48c1 Quick notes. 2022-02-24 13:24:20 +01:00
91ffd8d1c3 Now chunks use canvas items. This makes positions work on both rendering backends. 2022-02-24 13:02:01 +01:00
4b3e7accd4 Add some notes. 2022-02-24 12:45:21 +01:00
fb9bace145 Reimplemented world_transform_changed event in chunks. This fixes chunk poitions, but only in gles3. It turns out that the transform parameter of canvas render_mesh is not implemented in gles2. 2022-02-24 12:44:02 +01:00
1e056b03e2 Fix textures with the PCM library. 2022-02-24 10:32:49 +01:00
4978e6c35f Use the library's texture when needed in Terrain job. 2022-02-24 10:19:49 +01:00
1767f09088 Store the texture's rid to the chunk. 2022-02-24 10:00:42 +01:00
d47a87934b Added convenience method for just allocating one mesh and switched to it everywhere. Now meshes are actually visible. 2022-02-24 09:40:21 +01:00
2a778660c9 Initial drawing setup. 2022-02-24 09:24:41 +01:00
9e4e2becf8 Disable all code that uses the 3d physics server. 2022-02-24 01:03:20 +01:00
ebc5449101 Port the new getters from props. Also added notes. 2022-02-24 00:05:29 +01:00
f077cb218e Removed multiple (lod) material support. 2022-02-23 23:20:41 +01:00
193b5dee93 More cleanups. 2022-02-23 22:05:33 +01:00
467e862b08 Now the world inherits from Navigation2D. 2022-02-23 20:01:38 +01:00
208d21cd40 Initial 2d conversion step. 2022-02-23 19:38:06 +01:00
da473b0794 Removed the default isolevel channels. 2022-02-23 18:35:34 +01:00
3a8ca20448 Removed job steps, as 2d will not need lods. 2022-02-22 14:19:31 +01:00
e74b23b8de Depend on props_2d instead of the props module. 2022-02-22 13:29:31 +01:00
6272c56664 Replace TERRAIN_ to TERRAIN_2D_. (Include guards, and enums.) 2022-02-22 12:02:42 +01:00
6c60ca107a Replace Terrain to Terrain2D everywhere. 2022-02-22 11:42:28 +01:00
419b7fc9a5 Rename the files. 2022-02-22 11:09:36 +01:00
0851992fad Start over from current Terraman. 2022-02-22 10:33:06 +01:00
b547515ae3 Postfix everything with 2d. 2021-11-22 23:51:16 +01:00
f15569fdb8 Initial commit. (Just added terraman). 2021-11-22 22:00:45 +01:00