Jump to content


Any engines with C (not C++) API?


5 replies to this topic

#1 TonyW

    New Member

  • Members
  • Pip
  • 2 posts

Posted 21 June 2007 - 09:34 PM

Hi!

I was wondering if anyone can recommend an engine which can be used from C rather than C++?

I would like to work in Lisp, and Lisp provides an interface to C (but not C++).

Thanks for any help you can offer.

Tony

#2 dave_

    Senior Member

  • Members
  • PipPipPipPip
  • 584 posts

Posted 21 June 2007 - 09:48 PM

quake 1/2/3?

#3 GameEngine_Designer

    Valued Member

  • Members
  • PipPipPip
  • 100 posts

Posted 21 June 2007 - 09:54 PM

http://alleg.sourceforge.net/

http://irmo.sourceforge.net/

http://fenix.sourceforge.net/

http://www.idsoftware.com/ (Quake 1/2/3)

http://raydium.cqfd-corp.org/

#4 Nick

    Senior Member

  • Members
  • PipPipPipPip
  • 1225 posts

Posted 21 June 2007 - 11:54 PM

TonyW said:

I would like to work in Lisp, and Lisp provides an interface to C (but not C++).
C and C++ can interoperate, so I don't think there's any serious problem using Lisp and C++. I've never used Lisp so anyone correct me if I'm mistaken...

#5 Reedbeta

    DevMaster Staff

  • Administrators
  • 4979 posts
  • LocationBellevue, WA

Posted 22 June 2007 - 04:16 AM

I think he means his LISP implementation can call functions in an external library with C calling convention - but it wouldn't work for C++ libraries unless he included mangled names in the LISP code.

Of course one could write a C adaptor for a C++ library without much trouble...
reedbeta.com - developer blog, OpenGL demos, and other projects

#6 TonyW

    New Member

  • Members
  • Pip
  • 2 posts

Posted 22 June 2007 - 09:33 AM

Thankyou for the prompt and helpful replies ;)

Tony





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users