I am very patient... But you know. Boys with toys. :D
Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.
Páginas1
#2
Jad Engine / Skyboxes And A Input
30 de Enero de 2006, 11:14:48 AM
Aha. So THAT is how it works. It makes things somewhat easier. Just remove steps 3 & 4 - if you make sure that your project is situated in a directory below the original Haddd directory. Then you can omit these two lines from the code:
I also made the following code to size the window using the config. Add the red lines in the code below. I included the code before and after so you can see where:
Código [Seleccionar]
HadddEngine.Core.HPath.BaseDirectory = @"..\..\..\..\base\";
HadddEngine.Core.HPath.InHouseDirectory = @"..\..\..\..\InHouse\";
I also made the following code to size the window using the config. Add the red lines in the code below. I included the code before and after so you can see where:
Código [Seleccionar]
HConfiguration.GetConfiguration();
Haddd.Form = this;
Haddd.Handle = this.Handle;
[COLOR=red]this.Width = HConfiguration.Video.resolution.width;
this.Height = HConfiguration.Video.resolution.height;[/COLOR]
Haddd.Video.Adapter.Initialization.ReadFromConfig();
Haddd.Video.Adapter.CreateDevice(Haddd.Form);
#3
Jad Engine / Skyboxes And A Input
30 de Enero de 2006, 08:53:32 AM
And I forgot this... (yes it is me, I managed to go through the spanish registration with some help from Babelfish).
7) Set the size of the form, I would have expected that to happen when loading the configuration, but it doesn't.
7) Set the size of the form, I would have expected that to happen when loading the configuration, but it doesn't.
Páginas1