Skip to content

Commit

Permalink
Added OpenGL 3 rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
Memorix101 committed Mar 27, 2016
1 parent b3b53e1 commit 4cdf0bb
Show file tree
Hide file tree
Showing 56 changed files with 23,041 additions and 16,881 deletions.
80 changes: 40 additions & 40 deletions config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -88,45 +88,45 @@ alias "nextmap" [cruel01]
alias "next" [0]
alias "mapname" [sp_stalingrad]
alias "sp" [ mode -2; map $arg1 ]
alias "delta_game_1" [
alias zfov (+ $zfov (* $arg1 (div $zfov -5)))
if (< $zfov 10) [ alias zfov 10 ]
if (> $zfov 120) [ alias zfov 120 ]
fov $zfov
alias "delta_game_1" [
alias zfov (+ $zfov (* $arg1 (div $zfov -5)))
if (< $zfov 10) [ alias zfov 10 ]
if (> $zfov 120) [ alias zfov 120 ]
fov $zfov
]
alias "delta_game_0" [ if (= $arg1 1) [ weapon 2 3 1 ] [ weapon 4 1 2 ] ]
alias "insta" [ mode 4; map $arg1 ]
alias "n" [5]
alias "i" [14]
alias "s" [fanatic/06_fanatic-hit-them-hard.ogg]
alias "genmapitems" [
alias n (listlen $arg1)
loop $n [
at $arg1 $i
alias mapname $s
concat map $s
menuitem $s
alias next (+ $i 1)
if (= $next $n) [ alias next 0 ] []
at $arg1 $next
alias nextmap $s
concatword nextmap_ $mapname
alias $s $nextmap
]
alias "s" [fanatic/07_fanatic-cubed-to-death.ogg]
alias "genmapitems" [
alias n (listlen $arg1)
loop $n [
at $arg1 $i
alias mapname $s
concat map $s
menuitem $s
alias next (+ $i 1)
if (= $next $n) [ alias next 0 ] []
at $arg1 $next
alias nextmap $s
concatword nextmap_ $mapname
alias $s $nextmap
]
]
alias "domodifier" [ alias modifier $arg1; onrelease [ alias modifier 0 ] ]
alias "av" [
loop $arg1 [
at $arg2 $i
archvertex (+ $arg1 1) (+ $i 1) $s
]
alias "av" [
loop $arg1 [
at $arg2 $i
archvertex (+ $arg1 1) (+ $i 1) $s
]
]
alias "colourhalf" [
loop 4 [
at "4 8 12 16" $i;
concat newent light $s $arg2 $arg3 $arg4;
menuitem $s
]
alias "colourhalf" [
loop 4 [
at "4 8 12 16" $i;
concat newent light $s $arg2 $arg3 $arg4;
menuitem $s
]
]
alias "delta_edit_1" [ if $flrceil [ vdelta $arg1 ] [ vdelta (- 0 $arg1) ] ]
alias "delta_edit_0" [ editheight $flrceil $arg1 ]
Expand All @@ -139,18 +139,18 @@ alias "arg3" [127]
alias "arg2" [8 13 16 18 19 19 19 19 19 19 19 18 16 13 8]
alias "ffa" [ mode 0; map $arg1 ]
alias "arg4" [127]
alias "colourmenu" [
newmenu $arg1
colourhalf
colourhalf "" (div $arg2 2) (div $arg3 2) (div $arg4 2)
alias "colourmenu" [
newmenu $arg1
colourhalf
colourhalf "" (div $arg2 2) (div $arg3 2) (div $arg4 2)
]
alias "zfov" [120]
alias "dmsp" [ mode -1; map $arg1 ]
alias "song" [5]
alias "song" [6]
alias "test_all_models" [ loop 70 [ select (+ (* $i 8) 16) 16 1 1; newent mapmodel $i ] ]
alias "modifier" [0]
alias "universaldelta" [
if $editing [ alias s "edit" ] [ alias s "game" ]
concatword delta _ $s _ $modifier
s
alias "universaldelta" [
if $editing [ alias s "edit" ] [ alias s "game" ]
concatword delta _ $s _ $modifier
s
]
Loading

0 comments on commit 4cdf0bb

Please sign in to comment.