Changeset 685


Ignore:
Timestamp:
Mar 3, 2013, 8:55:03 PM (12 years ago)
Author:
alloc
Message:

Daodan: Version information

Location:
Daodan
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • Daodan/makefile

    r684 r685  
    22ifeq ("Linux","$(UNAME)")
    33    GCC := i686-w64-mingw32-gcc
    4     DLLTOOL := i686-w64-mingw32-dlltool
     4    WINDRES := i686-w64-mingw32-windres
    55else
    66    GCC := gcc
    7     DLLTOOL := dlltool
     7    WINDRES := windres
    88endif
    99
    1010GCCFLAGS = -O0 -Wall -fomit-frame-pointer -fpack-struct
    11 LINKFLAGS = -O0 -Wall -fomit-frame-pointer -fpack-struct -s -mdll -mthread -Xlinker --major-image-version -Xlinker 1
     11LINKFLAGS = -O0 -Wall -fomit-frame-pointer -fpack-struct -s -mdll -mthread
    1212
    1313#LIBS = -lwinmm -lopengl32 -lgdi32
     
    1616OUT = build/binkw32.dll
    1717
    18 SRC = src/Daodan.c src/Daodan_BSL.c src/Daodan_Character.c src/Daodan_Cheater.c src/Daodan_Console.c src/Daodan_DLLStubs.c src/daodan_gl.c src/Daodan_Patch.c src/Daodan_Persistence.c src/Daodan_Utility.c src/Daodan_Win32.c src/Daodan_WindowHack.c src/inifile_reader.c src/Oni_Symbols.c
    19 DEST = $(patsubst src/%.c,build/%.o,$(SRC))
     18SRC = src/Daodan.c src/Daodan_BSL.c src/Daodan_Character.c src/Daodan_Cheater.c src/Daodan_Console.c src/Daodan_DLLStubs.c src/daodan_gl.c src/Daodan_Patch.c src/Daodan_Persistence.c src/Daodan_Utility.c src/Daodan_Win32.c src/Daodan_WindowHack.c src/inifile_reader.c src/Oni_Symbols.c src/_DLLInfo.rc
     19DEST = $(patsubst src/%.rc,build/%.o,$(patsubst src/%.c,build/%.o,$(SRC)))
    2020
    2121ALL: $(DEST) $(OBJS)
     
    3232        echo
    3333
     34build/%.o: src/%.rc
     35        echo "Assembling resource $<"
     36        $(WINDRES) -i $< -o $@
     37
  • Daodan/src/Daodan_Cheater.c

    r677 r685  
    44#include "Oni.h"
    55#include "Oni_Character.h"
     6
     7#include "_Version.h"
    68
    79#include "Daodan.h"
     
    4749        { "x",                "Developer Access Enabled",        "Developer Access Disabled",  cheat_x                },
    4850        { "testcheat",        "Testing...",                      "",                           cheat_testcheat        },
    49         { "tellmetheversion", "Daodan v.3.0",                    "",                           cheat_tellmetheversion },
     51        { "tellmetheversion", "Daodan v."DAODAN_VERSION_STRING"",                    "",                           cheat_tellmetheversion },
    5052        {0}
    5153};
Note: See TracChangeset for help on using the changeset viewer.