Commit Graph

69 Commits

Author SHA1 Message Date
CobaltXII
aef7d68a93 Implemented inline bool in_bounds 2018-12-30 00:02:02 -05:00
CobaltXII
cc2429d1c3 Implemented inline bool is_transparent 2018-12-30 00:01:51 -05:00
CobaltXII
433ffb3c29 Implemented world* allocate_world 2018-12-29 15:34:05 -05:00
CobaltXII
6b9ffdbe2a Implemented inline void set_artificial_safe 2018-12-29 15:23:37 -05:00
CobaltXII
09481e4470 Implemented inline void set_artificial 2018-12-29 15:23:27 -05:00
CobaltXII
1c7ca5b3a1 Implemented inline void set_natural_safe 2018-12-29 15:23:15 -05:00
CobaltXII
6d6900c035 Implemented inline void set_natural 2018-12-29 15:23:04 -05:00
CobaltXII
37a2582c79 Implemented inline void set_id_safe 2018-12-29 15:22:51 -05:00
CobaltXII
9490b36e25 Implemented inline void set_id 2018-12-29 15:22:40 -05:00
CobaltXII
d09be21e94 Now including world headers 2018-12-29 15:17:50 -05:00
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
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
bcc26f2027 Fixed typo in image headers 2018-12-28 16:50:39 -05:00