Skip to content

Commit

Permalink
version 1.4.0
Browse files Browse the repository at this point in the history
No warnings on Linux with 'make release'
  • Loading branch information
roukaour committed Sep 25, 2017
1 parent 3074535 commit dfa33f4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 46 deletions.
43 changes: 1 addition & 42 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,51 +22,10 @@ chmod +x configure
./configure --with-abiversion=10304
sudo make
sudo make install
mkdir ../linux
cp lib/*.a ../linux

cd ../..

make install
```

To build **polishedcrystal.gbc**:

```bash
make
```

To build other versions:

```bash
make [faithful] [nortc] [monochrome] [debug]
```


## Mac OS X

In **Terminal**, run:

```bash
xcode-select --install

git clone https://github.com/rednex/rgbds.git
cd rgbds
git checkout v0.3.1
sudo make install
cd ..

git clone https://github.com/roukaour/polishedcrystal.git
cd polishedcrystal
```

To build **polishedcrystal.gbc**:

```bash
make
```

To build other versions:

```bash
make [faithful] [nortc] [monochrome] [debug]
```
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ clean:

install: release
cp $(TARGET) /usr/local/bin/$(BINNAME)
cp $(RESDIR)/app.xpm /usr/share/pixmaps/polishedmap48.xpm
cp $(RESDIR)/app-icon.xpm /usr/share/pixmaps/polishedmap16.xpm
2 changes: 1 addition & 1 deletion src/main-window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ void Main_Window::update_status(Block *b) {
}
char buffer[64] = {};
if (!b) {
sprintf(buffer, "Metatiles: %d", _metatileset.size());
sprintf(buffer, "Metatiles: %lu", _metatileset.size());
_metatile_count->copy_label(buffer);
sprintf(buffer, "Map: %d x %d", _map.width(), _map.height());
_map_dimensions->copy_label(buffer);
Expand Down
6 changes: 3 additions & 3 deletions src/version.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#ifndef VERSION_H
#define VERSION_H

#define PROGRAM_VERSION 1,3,1
#define PROGRAM_VERSION 1,4,0
#ifdef _DEBUG
#define PROGRAM_VERSION_STRING "1.3.1 [DEBUG]"
#define PROGRAM_VERSION_STRING "1.4.0 [DEBUG]"
#else
#define PROGRAM_VERSION_STRING "1.3.1"
#define PROGRAM_VERSION_STRING "1.4.0"
#endif

#define PROGRAM_NAME "Polished Map"
Expand Down

0 comments on commit dfa33f4

Please sign in to comment.