Commit Graph

90 Commits

Author SHA1 Message Date
CobaltXII
b6b523a5f8 load_sprite_preliminaries is now called on initialization 2019-01-03 16:08:59 -05:00
CobaltXII
340cea2a0f Interface textures are now loaded on initialization 2019-01-03 15:36:36 -05:00
CobaltXII
1e4a3c79e7 View bobbing is now much more exaggerated 2019-01-03 12:24:48 -05:00
CobaltXII
b5bf2d5f2a Fixed broken block placement 2019-01-03 12:24:25 -05:00
CobaltXII
59cdb511b5 Players can only jump when colliding along the Y axis 2019-01-03 12:24:10 -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
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
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
847c409c16 Lowered friction and increased acceleration 2019-01-02 16:03:44 -05:00
CobaltXII
2714cef935 Now using new block query functions 2019-01-02 10:05:55 -05:00
CobaltXII
baa4fe1d44 Increased fog density 2019-01-01 22:00:24 -05:00
CobaltXII
69edee99ee Players can now place blocks underwater 2019-01-01 21:37:34 -05:00
CobaltXII
c613faae80 Water now floods small holes 2019-01-01 21:35:45 -05:00
CobaltXII
f2681cb134 It is now impossible to destroy water blocks 2019-01-01 21:31:55 -05:00
CobaltXII
4f6356a246 Collision detection is no longer applied to water 2019-01-01 21:20:38 -05:00
CobaltXII
7418a3eb06 Players can no longer build inside themselves 2019-01-01 21:19:51 -05:00
CobaltXII
1a8c245184 There is now a maximum chunk update counter 2019-01-01 21:18:16 -05:00
CobaltXII
567c4f647a Block placement is now centered around the player 2019-01-01 21:17:57 -05:00
CobaltXII
5cf483d5bf x_res, y_res and z_res are now verified to be multiples of 16 2019-01-01 20:57:28 -05:00
CobaltXII
d8068d6219 The game now depends on command line arguments 2019-01-01 20:54:14 -05:00
CobaltXII
0d56b7da77 Updated version counter 2019-01-01 18:38:27 -05:00
CobaltXII
c52237c3af Increased friction 2019-01-01 18:38:01 -05:00
CobaltXII
4a7b48d343 Collision detection and response precision increased by a factor of 64 2019-01-01 17:38:54 -05:00
CobaltXII
1aeaedb93a Players now spawn at the top of the world 2019-01-01 12:25:01 -05:00
CobaltXII
eb79ed0b66 Improved documentation 2019-01-01 12:14:30 -05:00
CobaltXII
8e7ad680c7 Added collision detection and response 2019-01-01 12:11:45 -05:00
CobaltXII
7634790e32 Added block placement and deletion test 2019-01-01 12:11:21 -05:00
CobaltXII
36dc6ce232 Implemented view distance 2018-12-31 20:53:34 -05:00
CobaltXII
de98b9c61d It is possible to specify the level location using the command line 2018-12-31 19:26:12 -05:00
CobaltXII
b6eefb8c93 Added animated water 2018-12-31 17:24:14 -05:00
CobaltXII
ad2d45ada0 Increased fog density 2018-12-31 17:03:34 -05:00
CobaltXII
ac42a634b0 Increased acceleration 2018-12-31 13:06:55 -05:00
CobaltXII
afad804023 Added a chunk update loop 2018-12-31 13:06:44 -05:00
CobaltXII
1cb2d14068 Fog is now much less dense 2018-12-31 13:06:34 -05:00