UPPER_CASE
This commit is contained in:
parent
c1797c33fd
commit
e673f68406
@ -1,13 +1,14 @@
|
|||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
|
|
||||||
let s:cursor_off = 0
|
let s:CURSOR_OFF = 0
|
||||||
let s:cursor_on = 1
|
let s:CURSOR_ON = 1
|
||||||
let s:t_ve = &t_ve
|
|
||||||
|
|
||||||
let s:STATE_LOOP = 1
|
let s:STATE_LOOP = 1
|
||||||
let s:STATE_DIE = 2
|
let s:STATE_DIE = 2
|
||||||
let s:STATE_FINISH = 3
|
let s:STATE_FINISH = 3
|
||||||
|
|
||||||
|
let s:t_ve = &t_ve
|
||||||
|
|
||||||
let s:seed = 0
|
let s:seed = 0
|
||||||
function! s:srand(seed) abort
|
function! s:srand(seed) abort
|
||||||
let s:seed = a:seed
|
let s:seed = a:seed
|
||||||
@ -42,12 +43,12 @@ function! s:stage_init() abort
|
|||||||
hi FlappyVirdGreen2 ctermfg=yellow ctermbg=yellow guifg=yellow guibg=yellow
|
hi FlappyVirdGreen2 ctermfg=yellow ctermbg=yellow guifg=yellow guibg=yellow
|
||||||
syn match FlappyVirdBar '*'
|
syn match FlappyVirdBar '*'
|
||||||
hi FlappyVirdBar ctermfg=magenta ctermbg=magenta guifg=magenta guibg=magenta
|
hi FlappyVirdBar ctermfg=magenta ctermbg=magenta guifg=magenta guibg=magenta
|
||||||
call s:toggle_cursor(s:cursor_off)
|
call s:toggle_cursor(s:CURSOR_OFF)
|
||||||
redraw
|
redraw
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:stage_wipeout() abort
|
function! s:stage_wipeout() abort
|
||||||
call s:toggle_cursor(s:cursor_on)
|
call s:toggle_cursor(s:CURSOR_ON)
|
||||||
bdelete
|
bdelete
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user