add draw/update stat readout
surprisingly, update is most of my problem
This commit is contained in:
		| @@ -199,6 +199,7 @@ end | |||||||
|  |  | ||||||
| function _update60() | function _update60() | ||||||
|  mode:update() |  mode:update() | ||||||
|  |  ustat = stat(1) | ||||||
| end | end | ||||||
|  |  | ||||||
| function ones(n) | function ones(n) | ||||||
| @@ -295,6 +296,8 @@ end | |||||||
|  |  | ||||||
| function _draw() | function _draw() | ||||||
|  mode:draw() |  mode:draw() | ||||||
|  |  local ds = stat(1) | ||||||
|  |  print(tostr(ustat).." + "..tostr(ds-ustat), 0, 122, 7) | ||||||
| end | end | ||||||
|  |  | ||||||
| function drawgame_top() | function drawgame_top() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user