Author Topic: The Prowler  (Read 8518 times)

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
The Prowler
« on: March 19, 2018, 10:42:18 AM »
You can follow the development of this project on github:
https://github.com/paulpekkarinen/Prowler

This is my first project on git, and it did add some VS project files in the repository, but whatever. I'm still making local backups without git (and with it, since it's making local clones also), because I don't trust it. But this makes possible for people to follow the development on source code level. The idea I have here is use procedural style in C++ with some oop features.

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
Re: The Prowler
« Reply #1 on: March 19, 2018, 12:50:38 PM »
I tried to remove project files (.sln and .vxproj) from the repository, but at least adding them to .gitignore didn't work. If someone has done this before, I'd like to know how, using Visual Studio's github extension. It can't be this hard, can it?

Avagart

  • 7DRL Reviewer
  • Rogueliker
  • *
  • Posts: 567
  • Karma: +0/-0
    • View Profile
Re: The Prowler
« Reply #2 on: March 20, 2018, 04:40:03 PM »
Adding files to .gitignore means that git won't track these files. But if you added projects to repository already, you need to *forget* that files first, by git rm --cached filename.filextension should do the work. Marked files will be removed from repository on next commit, but they will remain in your local directory.

Not sure how these cli commands transpiles to VS extension, thought.

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
Re: The Prowler
« Reply #3 on: March 21, 2018, 07:06:16 AM »
Well, the extension name is vcxproj, not vxproj (missing 'c' letter), so let's see what happens to those later when gitignore has the proper filename ext. Those project files just seem like not something to track in repo.

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
Re: The Prowler
« Reply #4 on: March 21, 2018, 11:00:39 AM »
I decided to keep project files. If VS wants to add them it's probably some kind of idea there. And that's probably for other people who have VS so they don't have to setup a project.

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
Re: The Prowler
« Reply #5 on: March 25, 2018, 09:34:05 AM »
Even at the beginning of this project I think Datatype module was a brilliant thing to do. Without it I would already have like 20 more source files in the project. It already feels like less things to maintain, even the amount of source code is of course the same. Datatype will be quite large at some point, but it's somehow a thematic file containing those pesky and boring parts of a source code.