Search found 19 matches

by MacMan45
Tue Jul 18, 2006 03:35
Forum: Help
Topic: Preformance / Optimisations
Replies: 2
Views: 2521

thanks, i have been probing deeper & i'm starting to wonder if CEGUI is actually my direct problem. I worked out the numbers & the simple gui i'm rendering is taking 6.6ms per frame to draw (when in the hooked game's menus). If it behaved the same way once in a 3D world, i should only be see...
by MacMan45
Mon Jul 17, 2006 05:24
Forum: Help
Topic: Preformance / Optimisations
Replies: 2
Views: 2521

Preformance / Optimisations

I'm trying to use CEGUI in a hooked application. I have hooked the game well enough & can load a window overtop without an hassle. My problem comes down to one of speed. When in the menus of this game, everything is smooth, but inside the 3D game world, the game becomes unplayable. At first i th...
by MacMan45
Thu Jul 13, 2006 04:37
Forum: Help
Topic: CEGUI and OpenGL
Replies: 3
Views: 3905

Hi, about the DLLs: do you mean that you'd like to have them in a different location? Or would you like to link statically so that you don't have any DLLs? You can add the CEGUI's bin folder to your PATH, so each CEGUI application can find the most recent DLL's. You may link statically as of versio...
by MacMan45
Tue Jul 11, 2006 04:49
Forum: Help
Topic: CEGUI and OpenGL
Replies: 3
Views: 3905

Re: CEGUI and OpenGL

I've tried placing "RenderGUI" in glViewport and glEnable but both crash. I'm injecting a dll which hooks opengl rendering functions. If you could help it would be greatly appreciated. My OpenGL is a little rusty these days, but you arn't doing the rendergui between a glBegin & an glE...
by MacMan45
Sun Jul 02, 2006 01:20
Forum: Help
Topic: Problem Implementing Into DirectX9 Hook
Replies: 6
Views: 6866

I have solved my problem, hopefully yours too... Call this after you renderGUI() device->SetVertexShader(0); device->SetPixelShader(0); device->SetFVF(D3DFVF_XYZRHW | D3DFVF_DIFFUSE); device->SetRenderState(D3DRS_ZENABLE, false); device->SetRenderState(D3DRS_CULLM...
by MacMan45
Sat Jul 01, 2006 16:00
Forum: Help
Topic: Problem Implementing Into DirectX9 Hook
Replies: 6
Views: 6866

Ok, after a bit of forum searching, i think i have an idea on where to start looking. I think it has something to with the dx9 renderer changing the render states & not restoring them. (performance reasons apparently) I'm guessing it is changing something my hooked game cares about :P Its 2am he...
by MacMan45
Sat Jul 01, 2006 15:15
Forum: Help
Topic: [Solved] something missing to make events work ?
Replies: 5
Views: 4686

Your welcome :)
by MacMan45
Sat Jul 01, 2006 14:09
Forum: Help
Topic: Problem Implementing Into DirectX9 Hook
Replies: 6
Views: 6866

Ok, well now i'm in the same boat as you. I can draw to the screen with my own code, but as soon as i initialise CEGUI dx9 renderer, the screen goes black. I can hear the game music in the background. I even put a timer delay on CEGUI. Before it was initialised, i could see the hooked game fine. Whe...
by MacMan45
Sat Jul 01, 2006 13:31
Forum: Help
Topic: [Solved] something missing to make events work ?
Replies: 5
Views: 4686

Injecting inputs means you get the mouse position etc (clicks, keyboard evens & so on) & every frame pass them to crazy eddie.... Here is an example: const OIS::MouseState &ms = mMouse->getMouseState(); CEGUI::System::getSingleton().injectMousePosition(ms.abX,ms.abY&#...
by MacMan45
Sat Jul 01, 2006 12:47
Forum: Help
Topic: injectMousePosition returning false
Replies: 3
Views: 3176

Since i got that hack working i havn't looked into it anymore, sorry
by MacMan45
Sat Jul 01, 2006 12:17
Forum: Help
Topic: Problem Implementing Into DirectX9 Hook
Replies: 6
Views: 6866

Could you post up the new code?
I'll have a look & see if i can spot anything :)

Oh & another side note, i finally cracked the virtual table, just replacing the functions i want, saves on a lot of typing :D
by MacMan45
Sat Jul 01, 2006 12:14
Forum: Help
Topic: Root window events
Replies: 1
Views: 2619

Not sure if its the right way, but in the child windows, subscribe to the click event & then pass it to a do nothing handler that returns true ;)

It works for me :)
by MacMan45
Mon Jun 26, 2006 08:37
Forum: Help
Topic: Problem Implementing Into DirectX9 Hook
Replies: 6
Views: 6866

Woah, you are creating a new CEGUI::DirectX9Renderer at the start of every scene? Oh & a new CEGUI System as well... You do realise that BeginScene is called before every single frame right? :P You will want to be creating it somewhere at startup. Seeing your proxying d3d9, maybe CreateDevice wo...
by MacMan45
Sat Apr 29, 2006 12:25
Forum: Modifications / Integrations / Customisations
Topic: Memory leak or smthg else
Replies: 3
Views: 2425

if you can send us a link with it (PM or post here for others to help too), i'll give it a look over. :)
by MacMan45
Sat Apr 29, 2006 12:22
Forum: Help
Topic: Compiling problem taharezlook
Replies: 3
Views: 3626

looks like you havn't set the path in VS to tell it where the crazy eddie lib files are on your machine.

The fact you got it as far as linking, would tell me you pointed to the headers, just not the libs.

Go to advanced search