Commit Graph

23 Commits

Author SHA1 Message Date
1b92eb9f61 Fix typo in comment. 2022-02-27 00:16:33 +01:00
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
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
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
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
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