Skip to content
Permalink
Browse files
warning bleeding edge (Also backtrack aimbot works properly now)
  • Loading branch information
BenCat07 committed Aug 13, 2018
2 parents 704e672 + e10036b commit 35e307e1af772f792e4cbb0798c8a52f110b8e65
Showing 372 changed files with 3,611 additions and 67 deletions.
0 .autotools 100644 → 100755
Empty file.
0 .circleci/config.yml 100644 → 100755
Empty file.
7 .gitmodules 100644 → 100755
@@ -16,6 +16,9 @@
[submodule "external/co-library"]
path = external/co-library
url = https://github.com/nullworks/co-library.git
[submodule "external/TF2_NavFile_Reader"]
path = external/TF2_NavFile_Reader
[submodule "include/TF2_NavFile_Reader"]
path = include/TF2_NavFile_Reader
url = https://github.com/nullworks/TF2_NavFile_Reader.git
[submodule "external/MicroPather"]
path = src/MicroPather
url = https://github.com/leethomason/MicroPather.git
@@ -110,8 +110,8 @@ target_include_directories(cathook SYSTEM PRIVATE
"external/source-sdk-2013-headers/mp/src/tier1"
"external/source-sdk-2013-headers/mp/src")

target_include_directories(cathook PRIVATE "external/TF2_NavFile_Reader")
target_include_directories(cathook PRIVATE "external/PathFinder/src/")
target_include_directories(cathook PRIVATE "external/ucccccp")
target_include_directories(cathook PRIVATE "external/MicroPather")

if(EnableWarnings)
target_compile_options(cathook PRIVATE -Wall -Wextra)
0 CONTRIBUTING.md 100644 → 100755
Empty file.
0 build_names 100644 → 100755
Empty file.
0 data/menu/Verdana.ttf 100644 → 100755
Empty file.
0 data/menu/VerdanaBold.ttf 100644 → 100755
Empty file.
0 data/menu/color-picker.xml 100644 → 100755
Empty file.
0 data/menu/cross.png 100644 → 100755
Empty file.
0 data/menu/menu.xml 100644 → 100755
Empty file.
0 data/menu/nullified-ui.xml 100644 → 100755
Empty file.
0 data/menu/nullifiedcat/aimbot.xml 100644 → 100755
Empty file.
Empty file.
0 data/menu/nullifiedcat/chat.xml 100644 → 100755
Empty file.
0 data/menu/nullifiedcat/crits.xml 100644 → 100755
Empty file.
0 data/menu/nullifiedcat/debug.xml 100644 → 100755
Empty file.
Empty file.
0 data/menu/nullifiedcat/misc.xml 100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
0 data/menu/player-list-row.xml 100644 → 100755
Empty file.
0 data/menu/player-list-window.xml 100644 → 100755
Empty file.
0 data/menu/window-settings.xml 100644 → 100755
Empty file.
0 data/sound/piss.wav 100644 → 100755
Empty file.
@@ -0,0 +1,113 @@
#****************************************************************************
#
# Makefile for Micropather test.
# Lee Thomason
# www.grinninglizard.com
#
# This is a GNU make (gmake) makefile
#****************************************************************************

# DEBUG can be set to YES to include debugging info, or NO otherwise
DEBUG := NO

# PROFILE can be set to YES to include profiling info, or NO otherwise
PROFILE := NO

#****************************************************************************

CC := gcc
CXX := g++
LD := g++
AR := ar rc
RANLIB := ranlib

DEBUG_CFLAGS := -Wall -Wno-format -g -DDEBUG -std=c++11
RELEASE_CFLAGS := -Wall -Wno-unknown-pragmas -Wno-format -O3 -std=c++11

LIBS :=

DEBUG_CXXFLAGS := ${DEBUG_CFLAGS}
RELEASE_CXXFLAGS := ${RELEASE_CFLAGS}

DEBUG_LDFLAGS := -g
RELEASE_LDFLAGS :=

ifeq (YES, ${DEBUG})
CFLAGS := ${DEBUG_CFLAGS}
CXXFLAGS := ${DEBUG_CXXFLAGS}
LDFLAGS := ${DEBUG_LDFLAGS}
else
CFLAGS := ${RELEASE_CFLAGS}
CXXFLAGS := ${RELEASE_CXXFLAGS}
LDFLAGS := ${RELEASE_LDFLAGS}
endif

ifeq (YES, ${PROFILE})
CFLAGS := ${CFLAGS} -pg -O3
CXXFLAGS := ${CXXFLAGS} -pg -O3
LDFLAGS := ${LDFLAGS} -pg
endif

#****************************************************************************
# Preprocessor directives
#****************************************************************************


#****************************************************************************
# Include paths
#****************************************************************************

#INCS := -I/usr/include/g++-2 -I/usr/local/include
INCS :=


#****************************************************************************
# Makefile code common to all platforms
#****************************************************************************

CFLAGS := ${CFLAGS} ${DEFS}
CXXFLAGS := ${CXXFLAGS} ${DEFS}

#****************************************************************************
# Targets of the build
#****************************************************************************

OUTPUT := speed

all: ${OUTPUT}


#****************************************************************************
# Source files
#****************************************************************************

SRCS := micropather.cpp speed.cpp

# Add on the sources for libraries
SRCS := ${SRCS}

OBJS := $(addsuffix .o,$(basename ${SRCS}))

#****************************************************************************
# Output
#****************************************************************************

${OUTPUT}: ${OBJS}
${LD} -o $@ ${LDFLAGS} ${OBJS} ${LIBS} ${EXTRA_LIBS}

#****************************************************************************
# common rules
#****************************************************************************

# Rules for compiling source files to object files
%.o : %.cpp
${CXX} -c ${CXXFLAGS} ${INCS} $< -o $@

%.o : %.c
${CC} -c ${CFLAGS} ${INCS} $< -o $@

clean:
-rm -f core ${OBJS} ${OUTPUT}

micropather.o: micropather.h
speed.o: micropather.h
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 35e307e

Please sign in to comment.