Skip to content

Compiling as C #528

Description

@AJenbo

This issue is for tracking the status of converting the project to C in order to get things more binary exact.

General issue

File issues

  • appfat.cpp Byte-identical version of appfat_cpp_init. #110
    • delete is being overloaded
  • capture.cpp
    • Looks like we are missing io.h
  • diablo.cpp
    • looks like we need winuser.h
    • line 297 char szValueName[] = "Intro";
  • missiles.cpp
    • unsigned char Dirs[16][16] = {...} needs to be rewritten in a C friendly way.
  • movie.cpp (Compile movie.cpp as C #529)
    • LRESULT return type appears to not allow NULL, use 0?
  • mpqapi.cpp Compile mpqapi.cpp as C #554
    • mpqapi_open_archive(const char *pszArchive, ...) first parameter gives the following errors C4028, C4090, C4024
  • pfile.cpp
    • char password[16] = PASSWORD_SINGLE; needs to be rewritten in a C friendly way.
  • wave.cpp
    • SFileReadFile(1,2,3,4,NULL) produce an error
  • render.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions