Commit Graph

154 Commits

Author SHA1 Message Date
CobaltXII
d80c2e01b9 Implemented inline unsigned char get_artificial_safe 2018-12-29 15:17:42 -05:00
CobaltXII
e0694ff855 Implemented inline unsigned char get_artificial 2018-12-29 15:17:32 -05:00
CobaltXII
19d27d1991 Implemented inline unsigned char get_natural_safe 2018-12-29 15:17:25 -05:00
CobaltXII
c4c31b4638 Implemented inline unsigned char get_natural 2018-12-29 15:17:18 -05:00
CobaltXII
24b78623db Implemented inline block_id get_id_safe 2018-12-29 15:17:04 -05:00
CobaltXII
06fa3d8528 Implemented inline block_id get_id 2018-12-29 15:16:58 -05:00
CobaltXII
228748828c Implemented inline voxel get_safe 2018-12-29 15:16:36 -05:00
CobaltXII
6bb3d9c92d Implemented inline voxel get 2018-12-29 15:16:24 -05:00
CobaltXII
284af581e7 Added world headers 2018-12-29 15:16:14 -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
38a8fd13ca Now including voxel headers 2018-12-29 15:07:37 -05:00
CobaltXII
aa7912ee75 Implemented voxel headers 2018-12-29 15:07:24 -05:00
CobaltXII
220bc40423 Now using block_face_info to extract face information 2018-12-28 22:09:46 -05:00
CobaltXII
565bdfc582 Forgot to add oak_log_top to all_tex 2018-12-28 22:09:31 -05:00
CobaltXII
b8ee372bfe Renamed block_texture_name_to_layer to block_name_to_layer 2018-12-28 21:56:58 -05:00
CobaltXII
5a82512a20 Now including face headers 2018-12-28 21:56:38 -05:00
CobaltXII
2c1462a317 Implemented face headers 2018-12-28 21:56:30 -05:00
CobaltXII
c77023bc19 Implemented void load_block_face_info_array 2018-12-28 21:56:21 -05:00
CobaltXII
728cdd6cda Implemented face_info* make_face_info_caps 2018-12-28 21:55:59 -05:00
CobaltXII
353634db72 Implemented face_info* make_face_info_cap 2018-12-28 21:55:53 -05:00
CobaltXII
73d525db99 Implemented face_info* make_face_info_all 2018-12-28 21:55:48 -05:00
CobaltXII
a85ef4cc3e Implemented struct face_info 2018-12-28 21:55:29 -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
c4396f94a8 Now including block headers 2018-12-28 21:31:26 -05:00
CobaltXII
af880cb3ee Implemented block headers 2018-12-28 21:31:19 -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
8411bba142 glsl/block_vertex.glsl now takes a matrix_model 2018-12-28 21:24:22 -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
CobaltXII
edadcb5d31 The block_shader_program is now generated on initialization 2018-12-28 20:56:39 -05:00
CobaltXII
994d14c7ca The block_texture_array is now generated on initialization 2018-12-28 20:56:26 -05:00
CobaltXII
bbcfb8bd7c glsl/block_fragment.glsl now applies lighting to it's output color 2018-12-28 20:55:40 -05:00
CobaltXII
38e8e099ce glsl/block_fragment.glsl now samples it's output color from a texture 2018-12-28 20:55:26 -05:00
CobaltXII
6eae186d02 glsl/block_fragment.glsl now takes input from the vertex shader 2018-12-28 20:55:01 -05:00
CobaltXII
03da96e7ce glsl/block_fragment.glsl now accepts the block_texture_array 2018-12-28 20:54:39 -05:00
CobaltXII
603b6104ce glsl/block_vertex.glsl now passes vertex attributes to the fragment shader 2018-12-28 20:54:14 -05:00
CobaltXII
f51deb8db9 glsl/block_vertex.glsl now accepts a projection and a view matrix 2018-12-28 20:53:53 -05:00
CobaltXII
e5e147e327 glsl/block_vertex.glsl now accepts all vertex attributes 2018-12-28 20:53:27 -05:00
CobaltXII
a23dd33a43 Added an alpha channel to tex/grass_top.png 2018-12-28 16:52:12 -05:00
CobaltXII
bcc26f2027 Fixed typo in image headers 2018-12-28 16:50:39 -05:00
CobaltXII
5b718cd5b8 mcu_load_block_texture_array changed to mc_load_block_texture_array 2018-12-28 16:50:30 -05:00