Skip to content

Commit

Permalink
Working branch (#16)
Browse files Browse the repository at this point in the history
* first commit

* map viewer stuff. FILL OUT THING TYPES

* made add type an enum

* working map viewer

* map things and linedef viewer

* fixes

* app stuff

* fixed require

* added cli def

* map-viewer done

* wad functions

* fixed read and rescues

* fixe

* fix

* added invalid lump found

* fixed map not ending reading and fixed all strings

* emptied wa-cr.cr

* comments

* fixed shard.yml and added map viewer text

* fixed map ui and commented puts

* added raylib branch

* Added cloning, two wad methods, & wad-viewer stuff

* Made map viewer use Raygui grid

* final touches

* fnished up

* ignore deprecated

* Delete DEPRECATED directory
  • Loading branch information
D-Shwagginz authored Sep 21, 2023
1 parent e1b427f commit 76d105c
Show file tree
Hide file tree
Showing 26 changed files with 2,155 additions and 495 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/docs/
/lib/
/bin/
/DEPRECATED/
/.shards/
*.dwarf
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ To use the wa-cr's [Raylib](https://github.com/raysan5/raylib/releases)
additions, you must have [Raylib](https://github.com/raysan5/raylib/releases) installed:

- Install raylib by following the raylib-cr [installation instructions](https://github.com/sol-vin/raylib-cr#installation).
For Linux, follow step 1. For Windows, follow steps 1-4.
- For Linux, follow step 1.
- For Windows, follow steps 1-4.

## Usage

Expand Down Expand Up @@ -120,6 +121,15 @@ my_graphic.to_png("Path/To/MyGraphic.png", palette)
my_flat.to_png("Path/To/MyFlat.png", palette)
```

### Apps

wa-cr provides useful apps that will help you with using `WAD` data.<br>
To access wa-cr's apps, just require `wa-cr/apps`
Here is a full list of all modules inside `Apps`:

- `Apps::MapViewer`
- `Apps::WadViewer` - WIP

## Limitations

* Demos won't work properly because of how the doom engine's psuedo-random number generator works. If the wads are different at all, the demos won't function as intended
Expand Down
2 changes: 1 addition & 1 deletion shard.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ shards:

raylib-cr:
git: https://github.com/sol-vin/raylib-cr.git
version: 4.6+git.commit.38babf3b3d71182046700b844bf9806eb454f1c2
version: 4.6+git.commit.3dd480dac8464522fea5bca1d33b152690a9b347

2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: wa-cr
version: 0.0.1
version: 1.0.0

authors:
- Ian Rash <ian@sol.vin>
Expand Down
319 changes: 0 additions & 319 deletions src/DEPRECATED/raylib-map-viewer.cr

This file was deleted.

5 changes: 5 additions & 0 deletions src/apps.cr
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require "./apps/**"

# A module containing all apps that wa-cr provides
module Apps
end
Loading

0 comments on commit 76d105c

Please sign in to comment.