[Change] Increase UI resolution to 800x600.
This commit is contained in:
parent
5feaf72e78
commit
7f0918cc1e
BIN
icons/cpanel.png
BIN
icons/cpanel.png
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
@ -233,7 +233,7 @@ void L3D::MainLoop(void) {
|
||||
station->SetPosition(vector3d(0,0,0));
|
||||
Space::AddBody(station);
|
||||
|
||||
SpaceStation* station2 = new SpaceStation(SpaceStation::GROUND_FLAVOURED);;
|
||||
SpaceStation* station2 = new SpaceStation(SpaceStation::GROUND_FLAVOURED);
|
||||
station2->SetLabel("Dfighter's point");
|
||||
station2->SetFrame(*pframe->m_children.begin()); /* Rotating frame of planet. */
|
||||
station2->OrientOnSurface(EARTH_RADIUS, M_PI/4, M_PI/4);
|
||||
@ -245,7 +245,7 @@ void L3D::MainLoop(void) {
|
||||
//player->SetPosition(vector3d(0,0,2000));
|
||||
//player->SetFrame(pframe);
|
||||
|
||||
Gui::Init(scrWidth, scrHeight, 640, 480);
|
||||
Gui::Init(scrWidth, scrHeight, 800, 600);
|
||||
|
||||
cpan = new ShipCpanel();
|
||||
cpan->ShowAll();
|
||||
|
@ -256,9 +256,7 @@ void sbreGenCollMesh(CollMesh* pCMesh, int model, ObjParams* pParam, float s) {
|
||||
void GenCollMeshInternal(Vector* pPos, Matrix* pOrient, int model, ObjParams* pParam,
|
||||
float s, CollMesh* pCMesh) {
|
||||
Model* pModel = ppModel[model];
|
||||
|
||||
Vector* pVtx = (Vector*)alloca(sizeof(Vector)*(pModel->cvStart+pModel->numCVtx));
|
||||
|
||||
ResolveVertices(pModel, pVtx, pParam);
|
||||
#if 0
|
||||
for(int i = 6; i < pModel->cvStart+pModel->numCVtx; i++) {
|
||||
|
@ -111,7 +111,7 @@ void SpaceStation::OrientLaunchingShip(Ship* ship) const {
|
||||
const int dockMethod = stationTypes[m_type].dockMethod;
|
||||
if(dockMethod == SpaceStationType::ORBITAL) {
|
||||
/*
|
||||
* Position ship in middle of docking bat, pointing out of it.
|
||||
* Position ship in middle of docking bay, pointing out of it.
|
||||
* TODO: Need to do forced thrusting thing.
|
||||
* TODO: ang vel not zeroed for some reason..
|
||||
*/
|
||||
|
@ -11,16 +11,16 @@
|
||||
*/
|
||||
class View : public Gui::Fixed {
|
||||
public:
|
||||
View(void) : Gui::Fixed(640, 416) {
|
||||
View(void) : Gui::Fixed(Gui::Screen::GetWidth(), Gui::Screen::GetHeight()-64) {
|
||||
Gui::Screen::AddBaseWidget(this, 0, 64);
|
||||
|
||||
m_rightButtonBar = new Gui::Fixed(128, 26);
|
||||
m_rightButtonBar->SetBgColor(.65, .65, .65);
|
||||
Gui::Screen::AddBaseWidget(m_rightButtonBar, 512, 0);
|
||||
Gui::Screen::AddBaseWidget(m_rightButtonBar, Gui::Screen::GetWidth()-128, 0);
|
||||
|
||||
m_rightRegion2 = new Gui::Fixed(122, 17);
|
||||
m_rightRegion2->SetTransparency(true);
|
||||
Gui::Screen::AddBaseWidget(m_rightRegion2, 517, 26);
|
||||
Gui::Screen::AddBaseWidget(m_rightRegion2, Gui::Screen::GetWidth()-123, 26);
|
||||
}
|
||||
virtual ~View(void) { delete m_rightButtonBar; delete m_rightRegion2; }
|
||||
virtual void ShowAll(void) {
|
||||
|
Loading…
Reference in New Issue
Block a user