Commit Graph

39 Commits

Author SHA1 Message Date
Hugues Ross
db45633b16 Documentation pass, part 2 2020-06-13 08:50:36 -04:00
Hugues Ross
309ff6b8d4 Move storage code out of init.lua 2020-06-13 08:04:54 -04:00
Hugues Ross
6187137158 Refactor marker_lookup out of init.lua 2020-06-13 08:01:56 -04:00
Hugues Ross
6a3938d996 Refactor coordinate api into its own file 2020-06-13 07:50:34 -04:00
Hugues Ross
a6b96fa28f Fix obvious errors 2020-06-10 20:54:00 -04:00
Hugues Ross
a895acb978 Move autofill code into its own file 2020-06-10 20:49:21 -04:00
Hugues Ross
412e214f88 Fix remaining luacheck warnings 2020-06-10 20:10:15 -04:00
Hugues Ross
9099390842 Move material methods into separate api object 2020-06-10 20:01:58 -04:00
Hugues Ross
3d6ebe66c1 Move detail_texture into internal utility api 2020-06-10 19:54:28 -04:00
Hugues Ross
ad9c5e77b0 Move map item functions into a separate api object 2020-06-10 19:45:13 -04:00
Hugues Ross
e53bd8af41 Refactor marker api calls into marker_api.lua 2020-06-10 19:39:26 -04:00
Hugues Ross
a2e6597763 Refactor map creation / indexing into api object 2020-06-10 19:29:06 -04:00
Hugues Ross
d7f7210a2d Refactor biome calls into separate file 2020-06-10 19:18:36 -04:00
Hugues Ross
51ef36c50c Refactor audio out of api.lua 2020-06-10 07:02:46 -04:00
Hugues Ross
490104f646 Switch coordinate conversion in commands.lua 2020-06-08 20:28:36 -04:00
Hugues Ross
25319d8053 Remove all global refs from scanner, and return API 2020-06-08 20:08:24 -04:00
Hugues Ross
1f76359fbd map_formspec: Remove final cartographer.skin reference 2020-06-08 20:05:51 -04:00
Hugues Ross
1d3c6dec97 Move scan_queue to local scope 2020-06-08 20:03:44 -04:00
Hugues Ross
b42c9d051f Remove _cartographer global 2020-06-08 20:01:26 -04:00
Hugues Ross
3510bbcb35 Return map formspec methods instead of modifying the api object 2020-06-08 19:49:23 -04:00
Hugues Ross
9ce982c7cf map_formspec cleanup part 1 - Fix some long lines and start using gui API 2020-06-08 18:36:18 -04:00
Hugues Ross
5af69ccd14 Move marker formspec code into items.lua 2020-06-08 18:12:05 -04:00
Hugues Ross
8aba2d8c57 Parameterize biome / marker tables 2020-06-08 07:26:18 -04:00
Hugues Ross
93b6ab6ee8 items.lua: Start formspec cleanup and refactor map description into a function 2020-06-07 20:35:17 -04:00
Hugues Ross
43c193279d items.lua: Parameterize coordinate conversion functions 2020-06-07 18:31:42 -04:00
Hugues Ross
d38a666f5a map_api.lua: Parameterize coordinate covnersion methods 2020-06-07 18:27:19 -04:00
Hugues Ross
28360f585c scanner.lua: Parameterize coordinate conversion methods 2020-06-07 18:20:35 -04:00
Hugues Ross
c26265e2c3 Table cleanup part 2 - use gui api 2020-06-07 18:09:58 -04:00
Hugues Ross
06b509ed94 Table cleanup part 1 - Replace global tables with file inputs 2020-06-02 19:36:33 -04:00
Hugues Ross
2461c66f99 Add experimental declarative GUI API
- Refactor marker UI to use the new API
2020-06-02 08:01:11 -04:00
Hugues Ross
a9aa8d1891 Make skin_api return a simple table and assign in init.lua 2020-06-01 18:00:02 -04:00
Hugues Ross
7c667b04e7 Refactor out global variable 'data' 2020-06-01 07:59:34 -04:00
Hugues Ross
c0e1414a88 Fix marker editor ordering and add pagination 2020-04-16 19:50:03 -04:00
Hugues Ross
38d24aba7d Split off game support and turn into a pure API mod
- Add API table for skinning
2020-03-29 14:12:10 -04:00
Hugues Ross
ade84c374d First draft marker editor in the map formspec 2020-03-28 09:51:38 -04:00
Hugues Ross
26e4377cf9 Add marker registration function and support for multi-detail markers 2020-03-17 07:15:38 -04:00
Hugues Ross
85eeb529b6 Remove home/death marker code 2020-03-08 10:06:26 -04:00
Hugues Ross
e5371e19ed Record heightmap when scanning
- Use heightmap value for more granular biome texture selection
2020-02-16 20:18:47 -05:00
Hugues Ross
d0f7c58c47 Initial commit 2020-02-16 12:55:07 -05:00