Results 1 to 9 of 9

Thread: CPas - C for Delphi

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Version 1.0.stable has been released.

  2. #2
    What are some libraries that work well with this, is there freepascal compatibility?
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  3. #3
    Quote Originally Posted by JernejL View Post
    What are some libraries that work well with this, is there freepascal compatibility?
    Hi, yes, the DLL version will work with 64bit FPC in the upcoming update.

    Some libraries that I've tested so far include:


    • miniaudio
    • stb_image
    • stb_image_write
    • stb_truetype
    • stb_vorbis
    • enet
    • sfml


  4. #4
    Version 1.1.stable released! 😎

    • Added output_exe example
    • Added ouput_dll example
    • Added updated existing examples to use new/updates functions
    • Added cpSetExe, set the EXE subsystem type
    • Added cpGetExe, return the EXE subsystem type
    • Added cpGetOutput, return output type
    • Added TCPasExe (cpConsole, cpGUI) enum
    • Added cpAddLibrary
    • Added cpEXE, cpDLL to TCPasOutput enum
    • Renamed cpSaveLibToFile to cpSaveOutputFile
    • CPas can now output .LIB, .EXE and .DLL files
    • Renamed cpLink to cpRelocate
    • Patched CPas.pas to work with FreePascal (ppcx64)

  5. #5
    Version 1.2.stable released! 😯

    • Added updated existing examples to use new/updates functions
    • cpGetVersionInfo, get version information
    • cpSetVersionInfo, set version information
    • cpGetAddVersionInfo, get add version info
    • cpSetAddVersionInfo, set add version info
    • Added cpGetExeIcon, get EXE icon filename
    • Added cpSetExeIcon, set EXE icon filename
    • Miscellaneous enhancements

  6. #6
    Started a curated repo of compatible libraries for CPas. Pull requests welcome!
    https://github.com/tinyBigGAMES/cpLibs
    Last edited by drezgames; 10-03-2022 at 04:21 AM.

  7. #7
    CPas v1.3.stable released.


    Big update, code refactor, win32 support and much more. Reworked all examples to support 32/64-bits and more.


    • Reworked all examples to support 32/64-bits
    • Update cpLoadLibFromResource to include an instance (THandle) parameter
    • Added a runtime check to make sure CPas and CPas.Static are not used simultaneously
    • FPC can now build static releases also
    • Add CPas.Static unit now for static builds
    • Reformated CHM help format
    • Added cpCompile with project directives support
    • Replaced cpLoadLibFromStream with cpLoadLibFromMemory
    • Refactored codebase and added 32-bit support
    • Updated cpAddLibrary to support (.LIB) files
    • Updated cpSetVerionInfo to validate FileVersion as SemVer format (major.minor.patch)
    • Miscellaneous fixes and enhancements

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
  •