This site has been archived and made available for preservation purposes. No edits can be made.
-
Senior Member
Re: GUI Debation
[quote author=Houstin link=topic=67.msg1215#msg1215 date=1314345729]
@Lorenc: My rendering class takes D3DCOLOR_ARGB's. They look like 0xAARRGGBB. From dx sdk:
// D3DCOLOR is equivalent to D3DFMT_A8R8G8B8
#ifndef D3DCOLOR_DEFINED
typedef DWORD D3DCOLOR;
#define D3DCOLOR_DEFINED
#endif
// maps unsigned 8 bits/channel to D3DCOLOR
#define D3DCOLOR_ARGB(a,r,g,b) \
((D3DCOLOR)((((a)&0xff)<<24)|(((r)&0 xff)<<16)|(((g)&0xff)<<8)|((b)& ;0xff)))
#define D3DCOLOR_RGBA(r,g,b,a) D3DCOLOR_ARGB(a,r,g,b)
#define D3DCOLOR_XRGB(r,g,b) D3DCOLOR_ARGB(0xff,r,g,b)
The GUI and controls are transparent. The screenshot I posted it from a bank d3d9 application for tests with a grey, because I don't have a copy of Fallout 3, NV, or Oblivion.
[/quote]
Haha, thats pretty cool.
Would the chat be extended in the actual client? Or that tiny as of now it is?
It's rather smooth, I like it but yeah. Don't put too much detail on it. Ruins the display just like MTA did
Keep it up, you're a legend. Chat box <3
A gaming community ran by one person, with servers made by individuals (in this case, me, myself)
I plan to look for a trusted person who will help me create a decent roleplay/deathmatch server on Vault-TEC,
PM me if you're interested
-
Re: GUI Debation
The chatbox will be in vaultgui.dll along with the other rendering code. I'm currently finishing up the input for the chatbox and adding some exports that can be called from vaultmp.dll. You can expect a complete 2D rendering system in a week or so. Some examples:
Add2DBox(player, x, y, w, h, color);
Add2DText(player, x, y, text, color);
Hide2DElement(player, id);
Show2DElement(player, id);
Also, I wouldn't worry about it getting complicated. This snippet shows how easy it is to create the window that I've posted screenshots of.
rend.d = g_pd3dDevice;
rend.Initialize();
tw = new CWindow(1,1,WINDOW_W,WINDOW_H,&rend,"Vaul t-MP GUI"
tw->AddTab("Tab1"
tw->AddTab("Tab2"
tw->AddTab("Slider"
tw->AddTab("Chat"
tw->AddCheckbox(2,45,"Testing",&chec kboxstate,0);
tw->AddCheckbox(2,75,"Testing #2",&checkboxstate2,0);
tw->AddCheckbox(2,55,"Testing #3",&checkboxstate3,1);
tw->AddSlider(2,55,100,"Slide",20.0f,0.0 f,&slideme,2);
tw->AddTextbox(2, 48, WINDOW_W-18, WINDOW_H-51, textbox_buffer, 3);
-
Senior Member
Re: GUI Debation
This is nice, due to the abilities to easily create GUIs, and we've already got it finished which is just amazing, now whats left is probably to improve it in the future, as well as finish and complete the syncing of VaultMP :P
I just come here to view whether there has been any progress or not, and review the wonderful progress that Recycler and the development team has made.
My sincere thanks goes to them and to others who value my contributions the community, not to mention the ones that solely contribute.
-
Re: GUI Debation
This is a little development update for anyone who's interested.
Today I received my copy of Fallout 3 Game of The Year Edition. I had some issues ordering it and had to wait a few days before more money was on my card. I tested my GUI ingame and was unable to reproduce the graphical bug Recycler is experiencing which causes it to be rendered a second time stretched over almost the whole screen. However, I've ordered a new computer for almost a thousand US dollars a few days ago that just so happens to have the exact same video card as Recycler. It'll take a few weeks before it arrives though, because they have to gather all the parts for it, put it together and test it thoroughly then ship it. This computer I'm using now has a official legacy card known as the ATI Radeon X1650 PRO. I'm not able to test my GUI with fallout 3 video settings on much more than the minimum. I believe that the graphical bug is caused by a post processing effect. So far the mouse input is 99% working. The only 1% left is to fix windowed mode detection, which is needed to make the mouse input work when you're running a fullscreen game in a smaller resolution than your monitor. The keyboard input is 50% complete. The code that handles keyboard input is already there, it just doesn't receive input with Windows Vista and later.
It shouldn't much longer now :P
-
Member
Re: GUI Debation
Houstin, if you'd like, you can send me the files and I can test it on higher settings. I just built a new $1k rig with an AMD 6870 Send me an email/PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules