C# 클래스 entity.Renderers.BSPViewer

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: troymac1ure/Entity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
cam Camera2
speedBar TrackBar
visibleSpawnsBitMask int

공개 메소드들

메소드 설명
BSPViewer ( BSPModel tempbsp, Map map ) : System

Initializes a new instance of the BSPViewer class.

Dispose ( ) : void
H2BSPWriteRawDataMetaChunk ( int chunknumber, BSPModel &bsp, int BSPNum ) : void

The h 2 bsp write raw data meta chunk.

InitializeGraphics ( ) : bool

The initialize graphics.

LoadSpawns ( ) : void

The load spawns.

Main ( ) : void

The main entry point for the application.

MakeMatrixForSpawn ( int x ) : System.Matrix

The make matrix for spawn.

MakeMatrixes ( ) : void

The make matrixes.

MoveSpawnsWithKeyboard ( ) : void

The move spawns with keyboard.

RenderLightmap ( int LightmapIndex ) : Image

The render lightmap.

checkForIntersection ( MouseEventArgs e ) : int[]

The check for intersection.

setCameraPosition ( float X, float Y, float Z, bool exactLocation ) : void

The set camera position.

speedBar_Update ( ) : void

The speed bar_ update.

보호된 메소드들

메소드 설명
OnKeyPress ( KeyPressEventArgs e ) : void

The on key press.

OnPaint ( PaintEventArgs e ) : void

The on paint.

OnResize ( EventArgs e ) : void

The on resize.

WndProc ( Message &m ) : void

The wnd proc.

비공개 메소드들

메소드 설명
BSPLighting_CheckedChanged ( object sender, EventArgs e ) : void

The bsp lighting_ checked changed.

BSPPermutations_CheckedChanged ( object sender, EventArgs e ) : void

The bsp permutations_ checked changed.

BSPViewer_MouseDown ( object sender, MouseEventArgs e ) : void

The bsp viewer_ mouse down.

BSPViewer_MouseUp ( object sender, MouseEventArgs e ) : void

The bsp viewer_ mouse up.

CameraCulling_CheckedChanged ( object sender, EventArgs e ) : void

Selects/Deselects Camera Culling option

ColorBalance ( byte source, int redShift, int greenShift, int blueShift, bool preserve ) : byte[][]

The color balance.

DrawSkybox ( ParsedModel pm ) : void

The draw skybox.

EditLightmaps ( ) : void

The edit lightmaps.

HueSaturation ( byte source, int hueShift, int satShift, int lightShift, bool colorize ) : byte[][]

The hue saturation.

InitializeComponent ( ) : void
Load_Lightmaps_Into_An_Array ( ) : void

The load_ lightmaps_ into_ an_ array.

ModelViewer_MouseDown ( object sender, MouseEventArgs e ) : void

The model viewer_ mouse down.

ModelViewer_MouseUp ( object sender, MouseEventArgs e ) : void

The model viewer_ mouse up.

OnFormResizeEnd ( ) : void

The on form resize end.

PictureBox_Click ( object sender, EventArgs e ) : void

The picture box_ click.

ReloadFromArray ( ) : void

The reload from array.

Render ( ) : void

The render.

SaveChanges_Click ( object sender, EventArgs e ) : void

The save changes_ click.

SelectAllSpawns_Click ( object sender, EventArgs e ) : void

The select all spawns_ click.

SetupMatrices ( ) : void

The setup matrices.

SpawnList_Check ( object sender, ItemCheckEventArgs e ) : void

The spawn list_ check.

ToolStripMenuItemRotate_Click ( object sender, EventArgs e ) : void

The tool strip menu item rotate_ click.

VectorToRgba ( Vector3 v, float height ) : int

The vector to rgba.

button1_Click ( object sender, EventArgs e ) : void

The button 1_ click.

button2_Click ( object sender, EventArgs e ) : void

The button 2_ click.

button3_Click ( object sender, EventArgs e ) : void

The button 3_ click.

button4_Click ( object sender, EventArgs e ) : void

The button 4_ click.

button5_Click ( object sender, EventArgs e ) : void

The button 5_ click.

cbBSPTextures_CheckedChanged ( object sender, EventArgs e ) : void
checkBox1_CheckedChanged ( object sender, EventArgs e ) : void

The check box 1_ checked changed.

checkBox2_CheckedChanged ( object sender, EventArgs e ) : void

The check box 2_ checked changed.

checkBox3_CheckedChanged ( object sender, EventArgs e ) : void

The check box 3_ checked changed.

checkedListBox2_ItemCheck ( object sender, ItemCheckEventArgs e ) : void

BSPSelection

combo_SelectedIndexChangedCollection ( object sender, EventArgs e ) : void

The combo_ selected index changed collection.

combo_SelectedIndexChangedCollectionModel ( object sender, EventArgs e ) : void

The combo_ selected index changed collection model.

combo_SelectedIndexChangedObjective ( object sender, EventArgs e ) : void

The combo_ selected index changed objective.

combo_SelectedIndexChangedObstacleModel ( object sender, EventArgs e ) : void

The combo_ selected index changed obstacle model.

combo_SelectedIndexChangedSceneryModel ( object sender, EventArgs e ) : void

The combo_ selected index changed scenery model.

combo_SelectedIndexChangedTeam ( object sender, EventArgs e ) : void

The combo_ selected index changed team.

dataGridRow_LostFocus ( object sender, DataGridViewCellEventArgs e ) : void

The data grid row_ lost focus.

dataGridRow_Select ( object sender, DataGridViewCellEventArgs e ) : void

The data grid row_ select.

dataGrid_CellClick ( object sender, DataGridViewCellEventArgs e ) : void

The data grid_ cell click.

dataGrid_resize ( object sender, EventArgs e ) : void

The data grid_resize.

doInfo ( string name ) : void

The do info.

dockControl6_Enter ( object sender, EventArgs e ) : void

The dock control 6_ enter.

fcordbutton_Click ( object sender, EventArgs e ) : void

The fcordbutton_ click.

findspawn_Click ( object sender, EventArgs e ) : void

The findspawn_ click.

identContext_Opening ( object sender, CancelEventArgs e ) : void

The ident context_ opening.

leftSandDock_MouseLeave ( object sender, EventArgs e ) : void

The left sand dock_ mouse leave.

listForm_resize ( object sender, EventArgs e ) : void

The list form_resize.

loadBoundingBoxSpawn ( SpawnInfo spawn ) : Mesh
loadCameraSpawn ( SpawnInfo spawn ) : Mesh
loadSoundSpawn ( SpawnInfo spawn ) : Mesh
loadSpawnZone ( SpawnInfo spawn ) : Mesh
makeDigitsOnly ( ToolStripTextBox tb ) : float

The make digits only.

makeDigitsOnly ( ToolStripTextBox &tb ) : void

The make digits only.

mi4_Click ( object sender, EventArgs e ) : void

The mi 4_ click.

radioButton1_CheckedChanged ( object sender, EventArgs e ) : void

The radio button 1_ checked changed.

radioButton2_CheckedChanged ( object sender, EventArgs e ) : void

The radio button 2_ checked changed.

removeRow ( DataGridView &dgView, int rowNumber ) : void

The remove row.

selectSpawn ( int tagNumber ) : void

The select spawn.

selectToolStripMenuItem_Click ( object sender, EventArgs e ) : void

The select tool strip menu item_ click.

selectToolStripMenuItem_TreeClick ( object sender, EventArgs e ) : void

The select tool strip menu item_ tree click.

selectToolStripMenuItem_ViewerClick ( object sender, EventArgs e ) : void

The select tool strip menu item_ viewer click.

setSpawnBox ( string checkeditemsname, CheckState state ) : void

The set spawn box.

speedBar_KeyDown ( object sender, KeyEventArgs e ) : void

The speed bar_ key down.

speedBar_Scroll ( object sender, EventArgs e ) : void

The speed bar_ scroll.

speedBar_ValueChanged ( object sender, EventArgs e ) : void

The speed bar_ value changed.

tb_TextChanged ( object sender, EventArgs e ) : void

The tb_ text changed.

textSound_Click ( object sender, EventArgs e ) : void

The text sound_ click.

textSound_GotFocus ( object sender, EventArgs e ) : void

The text sound_ got focus.

textSound_LostFocus ( object sender, EventArgs e ) : void

The text sound_ lost focus.

textSound_LostMouseFocus ( object sender, EventArgs e ) : void

The text sound_ lost mouse focus.

textSound_TextChanged ( object sender, EventArgs e ) : void

The text sound_ text changed.

toolStripButtonReset_Click ( object sender, EventArgs e ) : void

The tool strip button reset_ click.

trackBar1_Scroll ( object sender, EventArgs e ) : void

The track bar 1_ scroll.

trackBar2_Scroll ( object sender, EventArgs e ) : void

The track bar 2_ scroll.

trackBar3_Scroll ( object sender, EventArgs e ) : void

The track bar 3_ scroll.

treeView1_Click ( object sender, EventArgs e ) : void

The tree view 1_ click.

treeView1_DoubleClick ( object sender, EventArgs e ) : void

The tree view 1_ double click.

tsButton_Click ( object sender, EventArgs e ) : void

The ts button_ click.

tsTextBox_Change ( object sender, EventArgs e ) : void

The ts text box_ change.

tsTextBox_GotFocus ( object sender, EventArgs e ) : void

The ts text box_ got focus.

tsTextBox_LostFocus ( object sender, EventArgs e ) : void

The ts text box_ lost focus.

updateStatusPosition ( ) : void

The update status position.

메소드 상세

BSPViewer() 공개 메소드

Initializes a new instance of the BSPViewer class.
public BSPViewer ( BSPModel tempbsp, Map map ) : System
tempbsp BSPModel The tempbsp.
map Map The map.
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

H2BSPWriteRawDataMetaChunk() 공개 메소드

The h 2 bsp write raw data meta chunk.
public H2BSPWriteRawDataMetaChunk ( int chunknumber, BSPModel &bsp, int BSPNum ) : void
chunknumber int The chunknumber.
bsp BSPModel The bsp.
BSPNum int The bsp num.
리턴 void

InitializeGraphics() 공개 메소드

The initialize graphics.
public InitializeGraphics ( ) : bool
리턴 bool

LoadSpawns() 공개 메소드

The load spawns.
public LoadSpawns ( ) : void
리턴 void

Main() 공개 메소드

The main entry point for the application.
public Main ( ) : void
리턴 void

MakeMatrixForSpawn() 공개 메소드

The make matrix for spawn.
public MakeMatrixForSpawn ( int x ) : System.Matrix
x int The x.
리턴 System.Matrix

MakeMatrixes() 공개 메소드

The make matrixes.
public MakeMatrixes ( ) : void
리턴 void

MoveSpawnsWithKeyboard() 공개 메소드

The move spawns with keyboard.
public MoveSpawnsWithKeyboard ( ) : void
리턴 void

OnKeyPress() 보호된 메소드

The on key press.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs The e.
리턴 void

OnPaint() 보호된 메소드

The on paint.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs The e.
리턴 void

OnResize() 보호된 메소드

The on resize.
protected OnResize ( EventArgs e ) : void
e System.EventArgs The e.
리턴 void

RenderLightmap() 공개 메소드

The render lightmap.
public RenderLightmap ( int LightmapIndex ) : Image
LightmapIndex int The lightmap index.
리턴 Image

WndProc() 보호된 메소드

The wnd proc.
protected WndProc ( Message &m ) : void
m Message The m.
리턴 void

checkForIntersection() 공개 메소드

The check for intersection.
public checkForIntersection ( MouseEventArgs e ) : int[]
e MouseEventArgs The e.
리턴 int[]

setCameraPosition() 공개 메소드

The set camera position.
public setCameraPosition ( float X, float Y, float Z, bool exactLocation ) : void
X float The x.
Y float The y.
Z float The z.
exactLocation bool The exact location.
리턴 void

speedBar_Update() 공개 메소드

The speed bar_ update.
public speedBar_Update ( ) : void
리턴 void

프로퍼티 상세

cam 공개적으로 프로퍼티

The cam.
public Camera2 cam
리턴 Camera2

speedBar 공개적으로 프로퍼티

public TrackBar speedBar
리턴 TrackBar

visibleSpawnsBitMask 공개적으로 프로퍼티

The visible spawns bit mask.
public int visibleSpawnsBitMask
리턴 int