000
08.07.2001, 10:20
.:[Strike]:.
|
hi,
ich arbeite mit MingW32 und hab festgestellt das das prog auch recht gut ist(und einfach =). Nur hab ich da noch eine frage: Ich hab eine neue Waffe gemacht und nenne sie UMP45.cpp(beispiel). und ich hab auch alle anderen dateien verändert so, das kein fehler im spiel auftritt! Jetzt weis ich aber nicht, wie ich die UMP45.cpp mit compilieren kann! Ich weis zwar das ich die makefile verändern muss, weis ab ernicht was ich darein schreiben soll!
Bitte um HILFE!
--
Ganz ThW hasst mich doch ich bleibe am Ball...
Dieser Beitrag wurde am 08.07.2001 um 10:22 von .:[Strike]:. bearbeitet.
|
|
Profil || Suche
|
001
08.07.2001, 12:58
Zeeke
|
Ich hab mal ne grafische Oberfläche zu Mingw32 gemacht.., die bastelt dir das Makefile zusammen... ( gibts auf www.zeeke-gf.de )
Ansonsten... Oben im Makefile ist doch so ein Block...
OBJ_FILES = airtank.o animating.o animation.o bmodels.o buttons.o \ cbase.o client.o combat.o crossbow.o crowbar.o doors.o \ effects.o egon.o explode.o func_break.o func_tank.o game.o \ gamerules.o gauss.o ggrenade.o globals.o h_ai.o h_battery.o \ h_cycler.o h_export.o handgrenade.o healthkit.o hornet.o \ hornetgun.o items.o lights.o maprules.o mortar.o mp5.o \ mpstubb.o multiplay_gamerules.o pathcorner.o plane.o plats.o \ player.o python.o rpg.o satchel.o shotgun.o singleplay_gamerules.o \ skill.o sound.o soundent.o spectator.o squeakgrenade.o subs.o \ teamplay_gamerules.o triggers.o tripmine.o util.o weapons.o \ world.o xen.o
Da änderst du z.B. die Zeile teamplay_gamerules.o triggers.o tripmine.o util.o weapons.o \ so hier um... teamplay_gamerules.o triggers.o tripmine.o ump45.o util.o weapons.o \
Und dann später kommt dieser Block... util.o: util.cpp \ skill.h weapons.h nodes.h player.h effects.h gamerules.h extdll.h \ vector.h ../common/const.h ../common/in_buttons.h \ ../engine/progdefs.h ../engine/edict.h ../engine/eiface.h \ ../engine/custom.h ../common/crc.h ../common/cvardef.h cdll_dll.h \ util.h activity.h enginecallback.h ../common/event_flags.h cbase.h \ saverestore.h schedule.h monsterevent.h basemonster.h \ ../engine/shake.h decals.h player.h weapons.h gamerules.h
Unter dem fügst du einfach das hier ein... ump45.o: ump45.cpp
Das reicht auch schon, so sollte es dann funzen....
Cu
--
|
|
Profil || Suche
|
002
09.07.2001, 09:18
.:[Strike]:.
|
daaaaaaaaaaaaaaaaaaaaannnnnnnnnnnkkeeeeeeeeeeeeeeeeeeeeeeeeeee
--
Ganz ThW hasst mich doch ich bleibe am Ball...
|
|
Profil || Suche
|