Permalink
Browse files

Color schemes work in linux..

  • Loading branch information...
1 parent 64bc529 commit df6f46fd13eba087645a3b13856e6ee8ab098ebd @mrkite committed Oct 31, 2010
Showing with 546 additions and 11 deletions.
  1. +4 −2 Makefile
  2. +8 −8 MinutorMap/blockInfo.h
  3. +1 −0 README
  4. +415 −0 colorschemes.c
  5. +37 −0 colorschemes.h
  6. +7 −0 com.seancode.minutor.gschema.xml
  7. +12 −0 debian/changelog
  8. +62 −1 mapviewer.c
View
@@ -4,7 +4,8 @@ GTK_LIB=`pkg-config --libs gtk+-2.0`
BIN=$(DESTDIR)/usr/bin
DESKTOP=$(DESTDIR)/usr/share/applications
PIXMAP=$(DESTDIR)/usr/share/pixmaps
-OBJS=minutor.o mapviewer.o
+SCHEMAS=$(DESTDIR)/usr/share/glib-2.0/schemas
+OBJS=minutor.o mapviewer.o colorschemes.o
CC=gcc
MAKE=make
CFLAGS=-Wall -std=c99 -O3
@@ -19,11 +20,12 @@ $(EXEC): $(OBJS) maplib
$(CC) -Wl,--as-needed -o $(EXEC) $(OBJS) $(LIBS) MinutorMap/MinutorMap.a
install: $(EXEC)
- install -d $(BIN) $(DESKTOP) $(PIXMAP)
+ install -d $(BIN) $(DESKTOP) $(PIXMAP) $(SCHEMAS)
install -s $(EXEC) $(BIN)
install minutor.desktop $(DESKTOP)
install minutor.png $(PIXMAP)
install minutor.xpm $(PIXMAP)
+ install com.seancode.minutor.gschema.xml $(SCHEMAS)
maplib:
cd MinutorMap && $(MAKE)
@@ -129,11 +129,11 @@ static struct {
{"Jukebox", 0x8a5a40,1.0}, //54
{"Fence", 0x9f814e,1.0}, //55
{"Pumpkin", 0xc07615,1.0}, //56
-{"Brimstone", 0x95696e,1.0}, //57
-{"Barren Dirt", 0x966c78,1.0}, //58
-{"Brittle Gold", 0xf9d49c,1.0}, //59
+{"Bloodstone", 0x723a38,1.0}, //57
+{"Mud", 0x554134,1.0}, //58
+{"Brimstone", 0xf9d49c,1.0}, //59
{"Portal", 0xd67fff,1.0}, //5a
-{"Glowing Pumpkin", 0xe9b416,1.0} //5b
+{"Jack-o-Lantern", 0xe9b416,1.0} //5b
};
enum block_types {
@@ -209,11 +209,11 @@ enum block_types {
BLOCK_JUKEBOX = 0x54,
BLOCK_FENCE = 0x55,
BLOCK_PUMPKIN = 0x56,
- BLOCK_BRIMSTONE = 0x57,
- BLOCK_BARREN_DIRT = 0x58,
- BLOCK_BRITTLE_GOLD = 0x59,
+ BLOCK_BLOODSTONE = 0x57,
+ BLOCK_MUD = 0x58,
+ BLOCK_BRIMSTONE = 0x59,
BLOCK_PORTAL = 0x5a,
- BLOCK_GLOWING_PUMPKIN = 0x5b
+ BLOCK_JACK_O_LANTERN = 0x5b
};
#define numBlocks 0x5c
View
@@ -21,6 +21,7 @@ OSX -
Linux -
$ make
$ sudo make install
+ $ sudo glib-compile-schemas /usr/share/glib-2.0/schemas
Linux .deb creation -
first you need to create a pbuilder environment for Lucid (10.04 LTS).
Oops, something went wrong.

0 comments on commit df6f46f

Please sign in to comment.