Remember me saying that I was working on the syntax highlighter? Yes? Well, here it is. It's basically a generic syntax highlighter, which has been "CSSed", extended and so on. Following languages (among DC) are, according to the php-code, supported (be careful, I haven't tested them all): actionscript, ada, apache, asm, asp, bash, c, c_mac, caddcl, cadlisp, cdfg, cobol, cpp, csharp, css, delphi, dos, gettext, html4strict, ini, java, javascript, klonec, klonecpp, lisp, lua, matlab, mpasm, nsis, objc, oobas, oracle8, pascal, perl, php, python, qbasic, sas, scilab, smarty, vb, vbnet, visualfoxpro, xml.
What you have to do:
use the regular [ code]-tag (ofc, without the spaces). But, in order to tell the parser which language shall be parsed, you'll take: [ code=language]
For example, if you want to use the dc-code, you'll need to write [ code=dc]. An example is shown below. Regular c-code would get the tag [ code=c], and so on. Easy as that.
Example:
Enjoy :)
What you have to do:
use the regular [ code]-tag (ofc, without the spaces). But, in order to tell the parser which language shall be parsed, you'll take: [ code=language]
For example, if you want to use the dc-code, you'll need to write [ code=dc]. An example is shown below. Regular c-code would get the tag [ code=c], and so on. Easy as that.
Example:
DC-Code:
<bmp_begin> name: Bandit head: sprite\sys\bandit_f.bmp small: sprite\sys\bandit_s.bmp file(0-69): sprite\sys\bandit_0.bmp w: 79 h: 79 row: 10 col: 7 file(70-139): sprite\sys\bandit_1.bmp w: 79 h: 79 row: 10 col: 7 file(140-209): sprite\sys\bandit_0b.bmp w: 79 h: 79 row: 10 col: 7 file(210-279): sprite\sys\bandit_1b.bmp w: 79 h: 79 row: 10 col: 7 walking_frame_rate 3 walking_speed 4.000000 walking_speedz 2.000000 running_frame_rate 3 running_speed 8.000000 running_speedz 1.300000 heavy_walking_speed 3.000000 heavy_walking_speedz 1.500000 heavy_running_speed 5.000000 heavy_running_speedz 0.800000 jump_height -16.299999 jump_distance 8.000000 jump_distancez 3.000000 dash_height -11.000000 dash_distance 15.000000 dash_distancez 3.750000 rowing_height -2.000000 rowing_distance 5.000000 <bmp_end> #random comment <frame> 0 standing pic: 0 state: 0 wait: 5 next: 1 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 bpoint: x: 43 y: 38 bpoint_end: wpoint: kind: 1 x: 23 y: 46 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 21 y: 18 w: 43 h: 62 bdy_end: <frame_end> |
Enjoy :)
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt