Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

140 Neutral

About Xori

  • Rank
  1. Right now I'm going down the road of trying to capture non-client events, and if can get a WM_NCMOUSEMOVE event with a hit test on the caption, I use a timer to determine if the mouse is held still long enough, and if it is, I create a little popup window at that position with the text in it... filled with the system tooltip color and using the system tooltip font... ;) I'll post my results...
  2. Hello, everyone... I am trying to do the following: I have a utility created, and when I hover the mouse over the title bar of this application, I need to show a tooltip containing some information about the application. This application is written in Win32 (not MFC or .Net). I have seen one other application that does this, and I can not determine now they are doing it. What I CAN determine about this other application is that they aren't displaying a real tooltip (it is not the color of the system tooltips and it is not at the right position with respect to the mouse position. I have been told that there is a way to force a tooltip to occur on the titlebar, but I have found no other information on it. The only other way that I can think is to draw what looks like a tooltip outside the window, but I've never been able to draw outside the window before (plus I'm not entirely sure how to "clean up" afterwards. Any suggestions would be greatly appreciated.
  3. Because I am generally just curious (still) :) I have to wonder if there is a better way to approach it. On a PC game, memory and time is of little importance, thus games usually just dump everything to disk. Since I am not familiar with the system resources held by a console such as the PS2 (I only really know that it must limit its savegame sizes to several kilobytes if possible) I guess what really made me think of this "game design" problem was the article "Designing games for the wage slave" - was a gamedev.net featured article a while back. When I read it, I almost felt that it was a little silly - and after playing Jak II, I feel that the guy who wrote it was absolutely correct. I dunno - I know for sure that I had time to waste when I was in highschool and college, and now that I graduated and am working full time things have changed. Oh well, an interesting topic to throw some thought to. Thanks for your reply, darookie.
  4. Hello all, Console development is something that I'm interested in but just don't have the time or money to be into right now. Nonetheless, I own a PS2 and a few games that I tinker around on now that then. I have always wondered: why do so many games (every game that I've played on PS2, which isn't many) allow saving only at certain points in the game? Does this somehow constrain the amount of memory taken up on the card, etc? Just wondering, as this has been a source of great consternation in my recent play through games like Jak II - which are, in my opinion, just too hard, and I very much dislike running through a 10 minute stretch of play only to fall into the chasm that seems to be below everything, and then start over for the 10th time. Just have to satisfy my morbid curiosity about that one :) Thanks!
  5. Xori

    How do I get the CDROM working?

    You probably would like to keep these: /dev/hdb /media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/hda /media/cdrom1 iso9660 ro,user,noauto 0 0 These are just duplicate and triplicates: /dev/hdb /media/cdrom iso9660 ro,user,noauto 0 0 /dev/hdb /cdrom iso9660 ro,user,noauto 0 0 I am not entirely sure if that would solve your problem though. I'll boot up a Linux machine later today and see if it would. Have you also tried other CDs?
  6. Xori

    c++ threads

    Indeed, POSIX threads will be your best bet. SDL threads and IPC devices are likely pased off of POSIX threads and IPC. For an excellent and very complete introduction to IPC, you should read Richard Stevens' "Unix Network Programming Volume II". Chapters 2, 7, 8, and 10 will be enough to get you started on basic POSIX IPC. POSIX threads are very easy to use (the only real prerequisite to reading those chapters) and Appendix A of that book covers them. Though they are not probably necessary, I would recommend reading chapters 4 and 5 to learn about, pipes, FIFOs, and posix message queues as well. If you don't want to purchase that rather expensive book, I'm sure there are some adequate tutorials online.
  7. There's been a recent explosion in these types of threads. As far as race goes, this is somewhat understandable. As far as religion? Oh wow. Man. I have never played a SINGLE game that had anything directly to do with religion where the religion was not entirely made up, such as in FF or the D&D based games. Wow... You know, base it on whatever you want. There is a HUGE difference between movies which are supposed to be "documentaries" and games that are based on some religion that does not happen to fall in the circle of Judaism/Christianity/Islam. Why do you bother mention Moore? His documentaries have nothing to do with "seeing a different viewpoint". So much of what he does is to get people hyped up, thinking about something in a certain way, and much of it is half truths and gorilla dust. Same with OReilly and Limbaugh. Religious ideas such as Hinduism and Buddhism are very cool. I think alot more people are open to them as belief systems and life-philosophies than you might expect. Don't be so ready to label people who shy from highly slanted and thus marred views (ie. Limbaugh, OReilly or Moore) as closed minded. There's not much more I can say, right? Nobody complained about Shamylan's "Signs" did they? That movie has very heavy influences from Hindu and Christian philosophies. How many people realized it? I don't know. People might even become more excited about the philosophies (and even the similarities between religions that so many people fail to notice before passing lame judgement). I think we can all agree that something such as that can only be good!
  8. Xori

    SDL or DirectX?

    Though I am unaware if this was an asset to the poster, once again, SDL is cross-platform, whereas HGE is not. It also appears that HGE costs money if you intend to use it in commercial products, where as LibSDL (under the LGPL license) is free of restrictions to a degree that commercially succesful games such as UT2004's Linux port use the SDL. It should also be noted that the SDL is not a game engine, and thus can not truly be compared to HGE. SDL is a cross platform layer over multimedia toolkits that may or may not function the same on multiple platforms. In the SDL folks' own words, "Simple DirectMedia Layer is a cross-platform multimedia library..."
  9. Xori

    SDL or DirectX?

    Do not misinterpret "Simple" to mean "it might limit your ability to do things." SDL allows you to use OpenGL calls as you usually would. SDL provides a lot of wrapping that you probably don't need. OpenGL is every bit as capable as D3D still. SDL will allow, as others have said here, to have an easier time being cross-platform. Just remember that SDL does not limit your ability to do ANYTHING, it just wraps a whole bunch of stuff for you to make a few things quicker and easier to make cross platform. You can still step "out of bounds" and do anything you want. Please pay attention to Zoggo's comments regarding the amount of "control" you have with each API. They don't really differ. It just depends on what wrappers you use. Since SDL doesn't require that you use its wrapper for all the OpenGL stuff (it just provides some nice convenient kick-start operations). you lose no flexibility or control. Now... [rant on] Please also note OpenGL 1.5 is what has added alot of support that has allowed OpenGL to "catch back up" with D3D. Many cards to discuss their compatability with OpenGL 1.5. DirectX 9 just has such a sexy name and its terms such as "pixel shader" (as opposed to the more appropriate "fragment program") has become so much more popular that people tend to get the feeling that OpenGL is still behind where it was back when there was no OpenGL 1.5. It isn't back there anymore, so people need to get with the times and quit dropping OpenGL like a hotrock. I think one other post here mentioned Doom3, yes, this would be the absolute "proof in the pudding" that OpenGL is managing to keep up just fine. [rant off]
  10. Xori

    bootloader fun

    Follow the directions I supplied exactly, and you should have good results unless I made some grievous error that I am currently not seeing. You want boot1 from /boot in your FreeBSD install to be copied to your c: drive, or wherever your boot.ini is. You want to add the lines that I described. Don't DD anything. Don't copy any directories. JUST copy boot1, as it is stage 1 of the FreeBSD bootloader, and that is precisely what the Windows bootloader needs to use! In Linux, you can dd stuff from /boot because the 512 bytes at the beginning of /boot is the stage 1! That is because in Linux /boot is a DIFFERENT PARTITION. This is nice. It is actually a very good idea (if you wonder why I will explain later), but it is not how it is done in FreeBSD. In FreeBSD, /boot is a *directory* in the root directory, not a partition. They make it easy for you by giving you the boot1 file for free, no need to mess with anything else. Right now, there these options: 1. boot into your FreeBSD install by using a live CD, mounting your drives appropriately, and chrooting, sourcing whatever configs necessary for your favorite shell, then using Ports to install Grub. - OR - 2. use boot1 straight from the FreeBSD install CD (or do as I suggested above and copy /boot/boot1 to a floppy) to the (windows) drive where boot.ini exists. - OR - 3. if you really want to dd stuff around, you need to dd the first 512 bytes of the disk slice that you mount to /. Here is some evidence that what I just said works: root@nowhere# mount /dev/ad0s1a on / (ufs, local) . . (stuff cut out from here because it is long) . root@nowhere# dd if=/dev/ad0s1a of=/tmp/booty bs=512 count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.244138 secs (2097 bytes/sec) root@nowhere# md5 /tmp/booty MD5 (/tmp/booty) = b5d26ebe13faa7d8a73745afdb25e48d root@nowhere# md5 /boot/boot1 MD5 (/boot/boot1) = b5d26ebe13faa7d8a73745afdb25e48d PS. You do not need Mandrake or anything else on there, since you can do these steps and it will work - or you can install Grub. [Edited by - Xori on July 20, 2004 1:01:16 PM]
  11. jackal's works. That is what I thought by seeing some posts and that the new driver supports 4k stacks. I'll give it a shot maybe.
  12. http://www.webservertalk.com/message293150.html Some posts there lead me to believe that it has been working for some people, one guy even mentions using Xorg. I'm not sure about it though.
  13. I've been waiting to see a post that says they got it working, since I don't feel like messing up my install right now. heh.
  14. Apparently, there are issues with Linux kernel 2.6.7 and the NVidia driver. I'm not entirely clear if it is the kernel's fault or the driver's fault. I can however, assure you that the problem is likely not your fault. Also try updating to the newest NVidia Linux driver if you have not already, since they released one just 20 days ago. I heard some buzz about stacksize being an issue. Perhaps the fact that the newest Linux driver supports 4k stack kernels will help you out some. Good luck. Please post back if it fixed the problem as I'm sure there are others who would like to know if it helped.
  15. Xori

    bootloader fun

    Tebriel, I'm at work so I have to make this fast, my explanation will be shoddy at best, and probably full of incorrect terms. However, it will give you the general idea. I will reply better this evening or tomorrow morning if you need it. Here we go: /boot/boot1 is stage one of a bootloader. What it accomplishes once called is to find the FreeBSD dislabel, then find boot2 on that slice, and then execute boot2. As far as I can tell, /boot/boot1 ought to be the same as on the CD. Remember that boot1 does not ALREADY KNOW where your FreeBSD bootloader is, it just knows how to find it and run it! Nonetheless, you can get to your drives just as explained before. I think the FreeBSD install CD spawns a rescue console. Use it to mount your drives, and if you do it like your /etc/fstab would have to do it, you can chroot, start your favorite shell, source your rc files, and be good to go as far as your paths and all that. If that won't work, use Knoppix, I think it has UFS support. Been a while since I used it though. Good luck, I'll try to answer more questions if you have them.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!