Stratos: Punto de Encuentro de Desarrolladores

¡Bienvenido a Stratos!

Acceder

Foros





Menu

Mostrar Mensajes

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.

Mostrar Mensajes Menu

Mensajes - fehaar

#1
Jad Engine / Skyboxes And A Input
30 de Enero de 2006, 11:25:26 AM
 I am very patient... But you know. Boys with toys. :D

#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:


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:


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.





Stratos es un servicio gratuito, cuyos costes se cubren en parte con la publicidad.
Por favor, desactiva el bloqueador de anuncios en esta web para ayudar a que siga adelante.
Muchísimas gracias.