This commit is contained in:
parent
3d5ca62a38
commit
eb1af96573
|
@ -28,8 +28,12 @@ type tab {
|
||||||
# post-right-coord # in characters
|
# post-right-coord # in characters
|
||||||
# channel-offset-x # in characters
|
# channel-offset-x # in characters
|
||||||
|
|
||||||
fn render-environment screen: (addr screen), env: (addr environment), users: (addr array user), channels: (addr array channel), _items: (addr array item) {
|
fn render-environment screen: (addr screen), env: (addr environment), users: (addr array user), channels: (addr array channel), items: (addr array item) {
|
||||||
clear-screen screen
|
clear-screen screen
|
||||||
|
render-item-list screen, env, items, users
|
||||||
|
}
|
||||||
|
|
||||||
|
fn render-item-list screen: (addr screen), env: (addr environment), _items: (addr array item), users: (addr array user) {
|
||||||
var tmp-width/eax: int <- copy 0
|
var tmp-width/eax: int <- copy 0
|
||||||
var tmp-height/ecx: int <- copy 0
|
var tmp-height/ecx: int <- copy 0
|
||||||
tmp-width, tmp-height <- screen-size screen
|
tmp-width, tmp-height <- screen-size screen
|
||||||
|
|
Loading…
Reference in New Issue