Commit Graph

57 Commits

Author SHA1 Message Date
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
CobaltXII
3a409326be Added window resize functionality 2018-12-30 21:03:31 -05:00
CobaltXII
7a6d0b7374 Now loading and saving levels 2018-12-30 20:30:57 -05:00
CobaltXII
5bdcc13a06 Worlds are now larger 2018-12-30 19:05:17 -05:00
CobaltXII
ba10d4bcf9 Increased the FOV from 45 degrees to 70 degrees 2018-12-30 18:04:43 -05:00
CobaltXII
dced240e79 Implemented water transparency 2018-12-30 17:48:40 -05:00
CobaltXII
243bddd61f Relative mouse mode can be disabled by pressing SDLK_ESCAPE 2018-12-30 15:38:53 -05:00
CobaltXII
a19c3d8be7 Implemented relative mouse mode 2018-12-30 15:35:24 -05:00
CobaltXII
17e82e417a Implemented fog 2018-12-30 15:21:21 -05:00
CobaltXII
40eb12acad The player position is now taken into account when generating a model matrix 2018-12-30 15:21:08 -05:00
CobaltXII
c8fc3278b1 Implemented friction and movement 2018-12-30 15:20:38 -05:00
CobaltXII
a6aff57071 Added player movement handlers 2018-12-30 15:20:25 -05:00
CobaltXII
2499a5c4d3 Added cinematic camera 2018-12-30 15:20:15 -05:00
CobaltXII
c81bff9419 Added player acceleration and friction constants 2018-12-30 15:19:58 -05:00
CobaltXII
d63ce2fa1d Added player position and velocity variables 2018-12-30 15:19:33 -05:00
CobaltXII
f5f77ededa Implemented depth clamping 2018-12-30 15:19:02 -05:00
CobaltXII
04b803d622 Now using accessor* objects for rendering 2018-12-30 14:22:18 -05:00
CobaltXII
a47f2a98b2 Now using world and chunk functions 2018-12-30 13:52:48 -05:00
CobaltXII
f5a473caf9 id_last is now renamed to id_null 2018-12-29 15:15:58 -05:00
CobaltXII
13d7ed68c7 Disabled mouse panning 2018-12-29 15:08:12 -05:00
CobaltXII
220bc40423 Now using block_face_info to extract face information 2018-12-28 22:09:46 -05:00
CobaltXII
b8ee372bfe Renamed block_texture_name_to_layer to block_name_to_layer 2018-12-28 21:56:58 -05:00
CobaltXII
1119d07ef6 Documented sdl_iteration 2018-12-28 21:42:10 -05:00
CobaltXII
a6c1248aad Removed stupid mc_ and mcu_ prefixes 2018-12-28 21:41:16 -05:00
CobaltXII
59a8db4eb2 A model matrix is now generated and passed to the block_shader_program 2018-12-28 21:26:58 -05:00
CobaltXII
c5bf706e68 The camera now looks at the mouse pointer 2018-12-28 21:26:41 -05:00
CobaltXII
895842eee9 Now using grass textures (for testing) 2018-12-28 21:26:23 -05:00
CobaltXII
722ef65efe Tweaked side-based lighting bias 2018-12-28 21:26:12 -05:00
CobaltXII
760eeadbe2 The Y coordinate was inverted to respect the Cartesian coordinate system 2018-12-28 21:25:56 -05:00
CobaltXII
b0db080dc0 The block_texture_array is now deleted on exit 2018-12-28 21:25:20 -05:00
CobaltXII
20be7b5c1e Now utilizing backface culling 2018-12-28 21:24:51 -05:00
CobaltXII
1b390a2919 The block_shader_program is now deleted on exit 2018-12-28 20:57:42 -05:00
CobaltXII
dd44e9b845 Added a cube renderer test 2018-12-28 20:57:28 -05:00
CobaltXII
a90b6a555a The OpenGL context is now cleared to the default sky color 2018-12-28 20:56:59 -05:00