Commit Graph

238 Commits

Author SHA1 Message Date
CobaltXII
0012919369 bool do_collision_detection_and_response is now of type collision_data 2019-01-03 12:23:43 -05:00
CobaltXII
9d7a528aa9 Added view bobbing 2019-01-03 11:33:13 -05:00
CobaltXII
2ddaebfef8 Fixed block hitbox test 2019-01-03 11:33:04 -05:00
CobaltXII
b0b6ff30f3 Added gravity 2019-01-03 11:32:52 -05:00
CobaltXII
8babdb89bb Removed creative camera 2019-01-03 11:32:18 -05:00
CobaltXII
293329ff78 Testing jumping, do not hold SDLK_SPACE 2019-01-03 11:31:44 -05:00
CobaltXII
bf419b9276 Lowered friction 2019-01-03 11:31:31 -05:00
CobaltXII
bf3caa4b23 Slowed down acceleration 2019-01-03 11:31:24 -05:00
CobaltXII
66f0ea3eeb void do_collision_detection_and_response is now of type bool 2019-01-03 11:21:23 -05:00
CobaltXII
538eb69ca2 Fixed segmentation fault when removing edge blocks 2019-01-03 11:21:00 -05:00
CobaltXII
5dc4993375 Reeds now generate naturally 2019-01-02 21:58:32 -05:00
CobaltXII
2766dec807 Minor cleanups 2019-01-02 21:54:33 -05:00
CobaltXII
448474be50 Reeds cannot exist if there is nothing below them 2019-01-02 21:54:21 -05:00
CobaltXII
dfc0f6188d Flowers and mushrooms cannot exist if there is nothing below them 2019-01-02 21:54:09 -05:00
CobaltXII
2e7bfdb412 All cross blocks are destroyed and replaced by water 2019-01-02 21:53:53 -05:00
CobaltXII
b8dc4248e2 Flowers can now be placed on id_dirt as well 2019-01-02 21:53:40 -05:00
CobaltXII
8bcd36dbbe Can only place id_reeds on id_sand or id_reeds 2019-01-02 21:46:49 -05:00
CobaltXII
1ecb48c785 Can only place id_dandelion and id_rose on id_grass 2019-01-02 21:46:37 -05:00
CobaltXII
d969508065 Slabs can now be placed if the player is partially inside their region 2019-01-02 21:45:58 -05:00
CobaltXII
5b7bdf574b Minor cleanup to main.cpp 2019-01-02 21:45:23 -05:00
CobaltXII
a5a29154b9 Added null constructor for struct hitbox 2019-01-02 21:16:19 -05:00
CobaltXII
4cbf710630 Implemented id_reeds 2019-01-02 20:17:28 -05:00
CobaltXII
aa0d15e196 Fixed the top face of slabs sometimes not rendering 2019-01-02 20:17:03 -05:00
CobaltXII
ef317bb8c9 Removed periods caused by double-spacing in Sublime Text 2019-01-02 18:45:42 -05:00
CobaltXII
3a7394f5fd Placing slabs on top of slabs now creates double slabs 2019-01-02 18:39:07 -05:00
CobaltXII
d1ce8617f8 Now using collision functions instead of doing it in main 2019-01-02 18:38:49 -05:00
CobaltXII
dd66b97a37 Implemented void do_collision_detection_and_response 2019-01-02 18:38:23 -05:00
CobaltXII
99a2369b80 Implemented inline block_id slab_to_double_slab 2019-01-02 18:38:07 -05:00
CobaltXII
7d43f662a0 Added support for slab meshing 2019-01-02 18:11:06 -05:00
CobaltXII
456b18e042 Modified inline bool is_transparent 2019-01-02 18:10:51 -05:00
CobaltXII
dfd7c18465 Implemented inline bool is_slab 2019-01-02 18:10:41 -05:00
CobaltXII
f5087cb5dd Added id_brick_slab 2019-01-02 18:10:30 -05:00
CobaltXII
b009542c8f Added id_cobblestone_slab 2019-01-02 18:10:20 -05:00
CobaltXII
6f9de49f18 Added id_birch_wood_slab 2019-01-02 18:10:03 -05:00
CobaltXII
db6c9ab825 Added id_oak_wood_slab 2019-01-02 18:09:49 -05:00
CobaltXII
a615f377fb Added id_sandstone_slab 2019-01-02 18:09:30 -05:00
CobaltXII
31b91d115f Added id_stone_slab 2019-01-02 18:09:13 -05:00
CobaltXII
6fa6d37580 Added id_double_brick_slab 2019-01-02 17:50:39 -05:00
CobaltXII
8d489c9425 Added id_double_cobblestone_slab 2019-01-02 17:50:23 -05:00
CobaltXII
2d47caa310 Added id_double_birch_wood_slab 2019-01-02 17:50:02 -05:00
CobaltXII
975d8e6288 Added id_double_oak_wood_slab 2019-01-02 17:49:38 -05:00
CobaltXII
d08e653bf6 Added id_double_sandstone_slab 2019-01-02 17:49:16 -05:00
CobaltXII
a07ce58583 Added id_double_stone_slab 2019-01-02 17:48:55 -05:00
CobaltXII
92f9060124 Mushrooms are now planted naturally 2019-01-02 16:25:56 -05:00
CobaltXII
ec7bfb26e8 Added id_red_mushroom and id_brown_mushroom 2019-01-02 16:25:40 -05:00
CobaltXII
57f217dc81 Added an early 'cross' block renderer for flowers 2019-01-02 16:04:57 -05:00
CobaltXII
8854617770 Added a flower planter to the world generator 2019-01-02 16:04:36 -05:00
CobaltXII
6e16ad77ae All skylight functions now use is_not_permeable_light 2019-01-02 16:04:12 -05:00
CobaltXII
847c409c16 Lowered friction and increased acceleration 2019-01-02 16:03:44 -05:00
CobaltXII
149c181f55 Implemented inline bool is_not_permeable_light 2019-01-02 16:03:27 -05:00