Search found 52 matches

by Davros
Thu Jun 01, 2006 9:50 pm
Forum: Announcements and Discoveries
Topic: LOOK! (O O) My First wxWidget Application!
Replies: 17
Views: 3780

I don't know, but...
gamepanel.o(.text+0x113): In function `GamePanel::wxMx::m_onLoad(wxMediaEvent&)':
: undefined reference to `wxMediaCtrl::Play()'
This seems to suggest it's your wx library build. wxMx derives from wxMediaCtrl.

See my earlier post.
by Davros
Sun May 28, 2006 4:48 am
Forum: Announcements and Discoveries
Topic: LOOK! (O O) My First wxWidget Application!
Replies: 17
Views: 3780

I noticed the missing Maximum button on the Linux screen-shot. Maybe its a wx bug.

Originally I planned to have only default & maximum screen sized windows. However, the game seems to handle a window resize well, so I'll change my code for version 1.5.
by Davros
Wed May 24, 2006 9:31 pm
Forum: Announcements and Discoveries
Topic: LOOK! (O O) My First wxWidget Application!
Replies: 17
Views: 3780

And here it is:

Image
Celesteroids on Linux!

> m_artworkBmp(wxBitmap(Artwork))
> Andy, would you please to try for Windows XP ?

Will do in next version.

Thanks HK!

My highest ever score is 12,025!
by Davros
Tue May 23, 2006 11:04 pm
Forum: Announcements and Discoveries
Topic: LOOK! (O O) My First wxWidget Application!
Replies: 17
Views: 3780

HK, >I cannot load bmp file,so I change the code I suppose using a bmp was a little Windows specific. I'm not familiar with the XPM format. What would I need to convert a bmp image to XPM - GIMP or something? >PS:I don't know how to put png file on the forum. I believe you'll need to host it yoursel...
by Davros
Sun May 21, 2006 4:32 pm
Forum: Announcements and Discoveries
Topic: LOOK! (O O) My First wxWidget Application!
Replies: 17
Views: 3780

Hi HK, >I try iit for Linux. it works,but without sound. That's great news! I have no experience with Linux, but I'm really pleased you got it working. >I try compiler option got some errors: g++ -c `wx-config --cxxflags` -DGAME_SOUNDS -DGAME_MUSIC -o base.o base.cpp Do not pre-define GAME_SOUNDS or...
by Davros
Fri May 05, 2006 3:46 pm
Forum: Announcements and Discoveries
Topic: LOOK! (O O) My First wxWidget Application!
Replies: 17
Views: 3780

>i am trying to get this code but I think the code is moved from there... Kindly specify from where can i get this code???

Yeah I moved it.

You can now get it from: www.bigangrydog.com
by Davros
Sat Apr 22, 2006 8:22 pm
Forum: C++ Development
Topic: Extended Ascii
Replies: 6
Views: 1351

Oh indeed you are using wxWidgets! This the wxDiscussion board!

Sorry. Thought I was on the C Programming board there for a minute? :)

wxMBConv is what you need.
by Davros
Sat Apr 22, 2006 8:15 pm
Forum: C++ Development
Topic: Extended Ascii
Replies: 6
Views: 1351

What platform are you using? You mention "wxString" are you using wxWidgets API? If the file is "extended ASCII" it is likely to be one of the ISO single byte character sets, ie. ISO8859-1 (Latin-1). The first 127 bytes are the same as ASCII. Therefore you could map all values in the range 0-7F to A...
by Davros
Wed Feb 22, 2006 5:48 pm
Forum: Announcements and Discoveries
Topic: wxSand
Replies: 16
Views: 4234

Just lost a couple of hours playing your game!

Nice one!
by Davros
Fri Feb 17, 2006 6:51 pm
Forum: General Development
Topic: What flow of programming and tools do you use?
Replies: 37
Views: 28809

IDE: Code::Blocks with MinGW (also use BCB5 for time being)
GUIs/Dialogs: Hand crafted
Installer: Inno Setup
Icons: Icon Sushi
Images: PSP7
Documentation: HTML (Hotmetal I'm afraid) & Open Office
by Davros
Thu Feb 09, 2006 8:19 pm
Forum: Compiler / Linking / IDE Related
Topic: Can't compile wxWidgets with VC 2005 Express
Replies: 2
Views: 786

THanks for replying on this.

>did you download and install the SDK?

Yep.

>Sounds like an installtion problem of VS2005

I think it's possible, although the empty "New Projects" compile & run.

I'll try a re-install.
by Davros
Wed Feb 08, 2006 9:42 am
Forum: C++ Development
Topic: Still Confused about Destruction of Objects???? - Look...
Replies: 2
Views: 711

Mmmm. I found that my stack created wxDialog was hanging for several seconds when it was deleted. I changed it so that it was created on the heap, and now there is no delay.

I think I'll stick to using heap creation for every wx object with a parent--no exceptions.

Thanks for the reply. :)
by Davros
Wed Feb 08, 2006 8:26 am
Forum: C++ Development
Topic: Still Confused about Destruction of Objects???? - Look...
Replies: 2
Views: 711

Still Confused about Destruction of Objects???? - Look...

Hi folks, I understand that any wx object which has a parent is destroyed when the parent is destroyed. And one should avoid deleting them explicitly, but call Destroy() instead. (I presume Destroy() removes the object from its parent's list of owned objects). OK. But look at the help file on wxDial...
by Davros
Wed Feb 08, 2006 6:43 am
Forum: C++ Development
Topic: Key events Question? - A Windows "Key Preview"
Replies: 1
Views: 594

Key events Question? - A Windows "Key Preview"

Hi there,

I would I ensure that my parent window receives key events, in addition to any focused child control?

(With Delphi/C+ Builder, it is called "key preview".)

Thanks
by Davros
Tue Feb 07, 2006 12:42 pm
Forum: Announcements and Discoveries
Topic: Update on Celesteroids Game (Release 1.0)
Replies: 1
Views: 724

Update on Celesteroids Game (Release 1.0)

Hi there, I've done a lot of work on my Celesteroids game project, which I now regard as complete. Music and sounds now work! I've also documented my source code in the help file. If you want to play with it, you can download it here: Download Windows Set-up File or Zip File (no installer) Here's th...