Commit Graph

14 Commits

Author SHA1 Message Date
72e25437bd Fix missing include, and missing binds. 2021-08-17 12:48:42 +02:00
e7e50c0e8a Add material cache storage for TiledWalls into PropCache. 2021-08-17 12:46:20 +02:00
5477c38e3f Added missing material_get to PropCache. 2021-08-10 10:01:41 +02:00
f526e99239 Fix error message copy paste. 2021-08-10 09:22:13 +02:00
d670f8a968 Implement material_cache_unref and material_cache_custom_key_unref aswell. 2021-08-10 09:21:32 +02:00
9ea2951c66 Added ensure_materials_loaded method to PropCache. 2021-08-09 21:05:36 +02:00
cbad187673 Implement material loading. 2021-08-09 21:01:46 +02:00
4bde4a4638 Prop cache now also can store the materials themselves. 2021-08-09 20:55:40 +02:00
f9d5a4c29a Added a material_paths property to the PropCache, can be used to store resource paths to the materials. 2021-08-09 20:43:53 +02:00
d59047eb7c Added texture packer options for PropMaterialCachePCM to the PropCache singleton. It reads default values from the project settings. 2021-08-09 20:35:28 +02:00
11b82bded3 Removed the old TexturePacker based api from PropCache. 2021-08-09 17:16:05 +02:00
b15ac01225 Added an api to get MaterialCaches from the PropCache singleton. Also changed toe default_prop_material_cache_class property's type to stringname. 2021-08-09 16:56:11 +02:00
e0db2189be Added default_prop_material_cache_class property to the PropCache singleton. 2021-08-09 16:18:34 +02:00
fea813eae3 Renamed the PropTextureCache singleton to PropCache. 2021-08-09 15:57:21 +02:00