Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: DGC Components

  1. #11

    ,..

    I started with DGC, it was a great set of components. I really wish they hadn't stopped workin on them. Since then i've been using DelphiX with TurboPixels 1.2 (They both work together great.) with great success. The stuff i'm doing now is a lot of 2D and 3D together, and the bitmap font support and wulines from TurboPixels is invaluable. Keep an eye out for Omega, it's almost there, but not quite. (I dont think it does D3DRM or D3DIM yet AFAIK)

  2. #12

    Re: ,..

    Quote Originally Posted by Philth
    Keep an eye out for Omega, it's almost there, but not quite. (I dont think it does D3DRM or D3DIM yet AFAIK)
    Whats D3DIM and RM
    Bobby Baker
    <br />Delphi Sanctuary
    <br />www.delphisanctuary.com

  3. #13

    DGC Components

    You could also purchase some components from http://www.silicmdr.com those are some good components and the games the creator produces are fun. I am currently in the process of making my own game development components to help ease the pain of writing for long hours to get simple functions done.

  4. #14

    DGC Components

    D3DRM = Direct 3D Retain Mode (obsolete now)
    D3DIM = Direct 3D Intermediate Mode

  5. #15

    Hi

    Hi, do we have those balog?
    Bobby Baker
    <br />Delphi Sanctuary
    <br />www.delphisanctuary.com

  6. #16
    iLLUNis
    Guest

    DGC Components

    This is going off topic i would think. Best thing would be to start a new one?...or you could wait for BlueCat to create the so highly anticipated Getting Started Forum..... :?

  7. #17

    DGC Components

    D3DRM = Direct 3D Retain Mode (obsolete now)
    D3DIM = Direct 3D Intermediate Mode
    Thats actually Immediate mode, which is basically what we call Direct3D now, since (I think) retained mode was stopped being worked on in 8.0 apparently (Though still works fine with DX8 drivers).

    I didn't see anything about 3D with Omega is what I was basially saying.

    And there really isn't a post in here that is offtopic. It's about all the different gaming components for Delphi.

  8. #18

    Hi

    Hi, Omega uses Direct3d for all of its rendering stuff, thats why we have such good alphablending and speed.
    Bobby Baker
    <br />Delphi Sanctuary
    <br />www.delphisanctuary.com

  9. #19

    DGC Components

    Hi ho everyone. Here's version 0.01 of the DGC update - it works under my Delphi 5 and 6 - and may work under Delphi 7, but that's where you come in!

    First of all, you have to use the JEDI headers: over here. Extract them and install them into your library path (tools->environment options->library->library path). I'm not sure if they work fine with Delphi 7, since Illunis contacted me and said that there was an error in DirectDraw.pas. If you get that error, here's the pm I sent to him earlier:

    Strange! It works fine in D6. It sounds like a problem with the JEDI headers rather than DGC.

    I think I've tracked the problem down, though I can't be sure without D7 to hand.

    Find the line #139 in DirectDraw.pas - it has a comment saying "// Delphi 5 can't handle interface in variant records
    // so we have to use pointers instead (which can be type-casted into interfaces):"

    Notice there are a few {$IFDEF}s there. These conditionally compile different parts of the code. The term used, ver***, means the Delphi version used. I don't think that the headers have been updated for Delphi 7, though I could be wrong!

    Find the line #148. It says:

    PDirectDrawSurface = IDirectDrawSurface;

    Try changing this to

    PDirectDrawSurface = Pointer;

    Recompile it and tell me the errors you get, if any.
    I'm not sure if there are any more changes required for D7...

    Once you've done that, double click on the "dgcb7.dpk" package and hit compile, then install on the package editor window (you may have to move the code editor out of the way if you can't see it). With luck, the things should be registered on a "dgc" component tab and you'll be able to compile your old projects.

    I had to take out the property editors, which are the nice things that open in the IDE when you select a property (Borland, what were you thinking when you renamed dsgnintf.pas and didn't include it in D6 Personal?!). This will make it harder (or impossible, I'm not sure) to fiddle with some settings).

    If you have Delphi 5 then it should be possible to use the design editors. Find any .pas file containing "DsgnIntf" in the uses clause (commented out). Uncomment it, then search all files for the string "todo ak". Look for the "property editor" style comments and comment those blocks. I'm not sure if I commented them all, unfortunately... I may post an update for D5 with the property editors intact.

    This release is simply intended for backwards compatibility: I offer no guarantee for new projects. I'm not even sure if it works yet, since I've not tried any of the examples (note to illunis: could you mail me the examples to [akeys "at" icscotland "dot" net], please?).

    Post any and all errors/exceptions/computer catching fire errors here for me to deal with, please!
    "All paid jobs absorb and degrade the mind."
    <br />-- Aristotle

  10. #20

    DGC Components

    Here's the property editors done for D5 only: here (97K). It's compatible with D6 too, though (but no extra editors since they're wrapped up in {$IFDEF VER130} to check for D5 while compiling.

    Note that the changes I've made will probably break < D5 (but hey, if you wanted that then you could probably use the standard DGC stuff, I guess...).
    "All paid jobs absorb and degrade the mind."
    <br />-- Aristotle

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •