Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
Version 1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
EndeavourAccuracy committed Dec 12, 2022
1 parent 9727cf4 commit 848b96b
Show file tree
Hide file tree
Showing 11 changed files with 199 additions and 91 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Makefile for pophale v0.9b by Norbert de Jonge
# SPDX-License-Identifier: GPL-3.0-or-later
# Makefile for pophale v1.0 by Norbert de Jonge
#
# cppcheck --language=c --std=c99 --verbose pophale.c
# Also try the line below with clang instead of gcc.
#
all:
gcc -O2 -Wno-unused-result -std=c99 -g -pedantic -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes pophale.c -o pophale `sdl2-config --cflags --libs` -lSDL2_ttf -lSDL2_image -lm -lzip
gcc -O2 -Wno-unused-result -std=c99 -g -pedantic -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes pophale.c -o pophale `sdl2-config --cflags --libs` -lSDL2_ttf -lSDL2_image -lm -lzip -Wno-format-truncation
7 changes: 7 additions & 0 deletions docs/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
v1.0 (December 12, 2022) - Norbert de Jonge
--------------------
+ Checkbox to hide front tiles.
+ Allowing selection and 'dragging' with (Shift +) arrows.
* There's now always a back tile selected, to allow for faster switching between mouse and keyboard.
* Minor improvements.

v0.9b (June 2, 2018) - Norbert de Jonge
--------------------
+ Initial release.
25 changes: 13 additions & 12 deletions docs/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

===[1 - ABOUT]=================================================================

pophale v0.9b (June 2018)
Copyright (C) 2018 Norbert de Jonge <[email protected]>
pophale v1.0 (December 2022)
Copyright (C) 2018-2022 Norbert de Jonge <[email protected]>

A level editor of Prince of Persia: Harem Adventures.
The pophale website can be found at [ https://www.norbertdejonge.nl/pophale/ ].
The pophale website can be found at [ https://github.com/EndeavourAccuracy/pophale ].

The game is a MIDlet for the Java ME (J2ME/phoneME) environment.
Supported is the 176x208 version without Nokia UI API.
Expand Down Expand Up @@ -48,12 +48,12 @@ NOTE: Removal happens in two steps. First, the nearest tile is marked. Then, if

===[4 - FEEDBACK]==============================================================

If pophale crashes, gets compilation errors or crashes while building, send an e-mail to [ [email protected] ]. Make sure to describe exactly what actions triggered the bug and the precise symptoms of the bug. If possible, also include: 'uname -a', 'gcc -v', 'sdl2-config --version', and 'pophale --version'.
If pophale crashes, gets compilation errors or crashes while building, send an e-mail to [ [email protected] ]. Make sure to describe exactly what actions triggered the bug and the precise symptoms of the bug. If possible, also include: 'uname -a', 'gcc -v', 'sdl2-config --version', and 'pophale --version'.

===[5 - DID YOU CREATE NEW LEVELS?]============================================

Feel free to share your work:
http://forum.princed.org/
https://forum.princed.org/

===[6 - (RE)COMPILING]=========================================================

Expand All @@ -75,9 +75,9 @@ The following instructions are to compile 32-bit.

1.1 Download

http://sourceforge.net/projects/orwelldevcpp/files/Setup%20Releases/
https://sourceforge.net/projects/orwelldevcpp/files/Setup%20Releases/
or
http://downloads.sourceforge.net/project/orwelldevcpp/Setup%20Releases/
https://downloads.sourceforge.net/project/orwelldevcpp/Setup%20Releases/
Dev-Cpp%205.11%20TDM-GCC%204.9.2%20Setup.exe

1.2 Install
Expand All @@ -88,11 +88,11 @@ Simply run the executable.

2.1 Download

http://libsdl.org/release/
https://libsdl.org/release/
SDL2-devel-2.0.7-mingw.tar.gz
http://libsdl.org/projects/SDL_ttf/release/
https://libsdl.org/projects/SDL_ttf/release/
SDL2_ttf-devel-2.0.14-mingw.tar.gz
http://libsdl.org/projects/SDL_image/release/
https://libsdl.org/projects/SDL_image/release/
SDL2_image-devel-2.0.2-mingw.tar.gz

2.2 Install
Expand Down Expand Up @@ -155,6 +155,7 @@ Go to: File->New->Project...
Basic->Console Application
C Project
Name: pophale
Save pophale.dev to the pophale directory.

Go to: Project->Remove From Project...
Select main.c and press Delete.
Expand All @@ -178,11 +179,11 @@ In the Linker field, add:
-l"zip.dll"

Go to: Project->Project Options...->Directories
Select the tab: Library Directories
Add: C:\Program Files (x86)\Dev-Cpp\MinGW64\i686-w64-mingw32\lib
Select the tab: Include Directories
Add: C:\Program Files (x86)\Dev-Cpp\MinGW64\i686-w64-mingw32\include\SDL2
Add: C:\Program Files (x86)\Dev-Cpp\MinGW64\i686-w64-mingw32\include
Select the tab: Library Directories
Add: C:\Program Files (x86)\Dev-Cpp\MinGW64\i686-w64-mingw32\lib

Go to: Tools->Compiler Options...->Directories
Select the tab: Binaries
Expand Down
8 changes: 4 additions & 4 deletions docs/gpl.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

Expand All @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
<https://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
3 changes: 3 additions & 0 deletions docs/keys.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN SCREEN
d Start the level in MicroEmulator.
e (and F2) Go to the executable screen.
f (and Alt + Enter/Return/Space) Toggle fullscreen mode.
h Hide front tiles.
q (and ESC) Quit the application.
s Save the level.
t Go to the texts screen.
Expand All @@ -18,3 +19,5 @@ Shift + left mouse button Re-use the last used back tile.
F1 (and ?) Go to the help screen.
INS Go to the front tiles screen.
DEL [if used twice] Remove front tile.
Arrows Select tile.
Shift + arrows 'Drag'.
Binary file added png/various/chk_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified png/various/emulator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified png/various/help.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified png/various/interface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 848b96b

Please sign in to comment.