User:Lardarse

Umm... Yeah

I'm me

TODO:
 * Add info about how to compile Lockjaw on Linux See below
 * Ask tepples if he knows how to use a .diff file He does, or at least will after a quick RTFM
 * Try to understand how the current randomizer system in LJ works
 * Find out the numbering of each piece, just in case it's not obvious...
 * Add a few randomizers (Stickless 6 memoryless, Expanded 10 memoryless, Teflon 7 bag, Teflon 7 memoryless)
 * Try to add a new option in the menu. Initially held piece: Nothing, I, J, L, O, S, T, Z, I3, L3, I2, Random of standard 7, Random of expanded 10
 * Investigate the possibility of a scoring system that can give more points for line clears with consecutive pieces, and give a bonus when the pit is cleared
 * Extract the images from the LJ icon into PNG format Done, but I don't have anywhere to upload them to...
 * Sleep...

This is the makefile that I use to get Lockjaw to compile in Linux. I am almost certain that it only works for me because I have WINE installed. The more correct way to make it work probably involves setting the correct "target" to build for...


 * 1) Makefile for Allegro version of LOCKJAW
 * 2) Copr. 2006-2007 Damian Yerrick
 * 3) This work is free software; you can redistribute it and/or modify
 * 4) it under the terms of the GNU General Public License as published by
 * 5) the Free Software Foundation; either version 2 of the License, or
 * 6) (at your option) any later version.
 * 7) This program is distributed in the hope that it will be useful,
 * 8) but WITHOUT ANY WARRANTY; without even the implied warranty of
 * 9) MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * 10) GNU General Public License for more details.
 * 11) You should have received a copy of the GNU General Public License
 * 12) along with this program; if not, write to the Free Software
 * 13) Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 * 1) You should have received a copy of the GNU General Public License
 * 2) along with this program; if not, write to the Free Software
 * 3) Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 * 1) Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

EXE := lj CFLAGS := -Wall -O2 -std=gnu99 -g3 CC := gcc LD := gcc LDFLAGS := -Wall -mwindows srcdir := src objdir := obj/win32

MUSICOBJS := $(objdir)/ljvorbis.o MUSICLIBS := -laldmb -ldumb -lvorbisfile -lvorbis -logg

LDLIBS := -ljpgal -lalleg DEPOBJS := $(objdir)/ljpc.o $(objdir)/lj.o $(objdir)/ljplay.o $(objdir)/pcjoy.o $(objdir)/gimmicks.o $(objdir)/wktables.o $(objdir)/options.o $(objdir)/debrief.o $(objdir)/macro.o $(objdir)/ljreplay.o $(objdir)/ljmusic.o $(MUSICOBJS)


 * 1) Objects

$(EXE): $(DEPOBJS) $(LD) $(LDFLAGS) $^ $(MUSICLIBS) $(LDLIBS) -o $@


 * 1) Compilation rules

$(objdir)/%.o: $(srcdir)/%.c	$(CC) $(CFLAGS) -MMD -c -o $@ $< @cp $(objdir)/$*.d $(objdir)/$*.P; \ sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ -e '/^$$/ d' -e 's/$$/ :/' < $(objdir)/$*.d >> $(objdir)/$*.P; \ rm -f $(objdir)/$*.d


 * 1) Header dependencies

-include $(DEPOBJS:%.o=%.P)

.PHONY: clean
 * 1) Cleanup rules

clean: -rm $(objdir)/*.o	-rm $(objdir)/*.P

Based on the makefile for 0.28. Available under the GPL.

I am going to be reinstalling Linux tonight/tommorow, and will be able to make a more accurate attempt at the makefile for Linux this weekend.

Note to self: Pasting anything with DOS line feeds in Linux is gonna make it look screwy... Note 2: grrrrrr, I keep forgetting...