workign on the modloader in progress

This commit is contained in:
minjaesong
2021-12-03 16:39:46 +09:00
parent e5a42551e5
commit ebc762e90a
78 changed files with 483 additions and 356 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,13 @@
10 print("polling radar...")
20 s=cput(1,"POLL")
30 if s><0 then goto 900
40 l=cget(1,0)
41 REM print("length: "+l+", pixels: "+l/3)
50 for i=0 to l-1 step 3
60 m=peek(i)*160+peek(i+1)
62 p=peek(i+2)
63 poke(-1048576-m,p)
70 next
80 REM poke(-1070977,0)
90 goto 20
900 print("Polling failed: "+s)

View File

@@ -0,0 +1,2 @@
"id";"classname"
"1";"net.torvald.terrarum.modulecomputers.gameitems.ItemWearableWorldRadar"
1 id classname
2 1 net.torvald.terrarum.modulecomputers.gameitems.ItemWearableWorldRadar

View File

@@ -3,7 +3,7 @@ description=Dwarven technicians are emerged from their hiding
author=Terrarum
package=net.torvald.terrarum.modulecomputers
entrypoint=net.torvald.terrarum.modulecomputers.EntryPoint
releasedate=2017-07-14
version=0.2.0
libraries=
dependency=basegame 0.2.*
releasedate=2021-12-03
version=0.3.0
jar=ModuleComputers.jar
dependency=basegame 0.2.*