summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* homedir: be saner about the error cases...HEADmasterH. Peter Anvin2013-10-301-6/+10
| | | | | | Try our best... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Quiet warnings, mostly by -Wno-pointer-signH. Peter Anvin2013-10-304-4/+4
| | | | | | | Quiet gcc warnings, mostly by telling gcc to ignore pointer sign. We really don't care. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Make the handling of the SDL headers a little sanerH. Peter Anvin2013-02-054-11/+9
| | | | | A saner way to deal with the SDL header both in and out of a subdirectory.
* highscore: after downloading high scores, update local copygrv-2003.9H. Peter Anvin2013-02-051-0/+2
| | | | | After spending time downloading high scores from the server, update the local copy, too.
* Prepare for version 2003.9; clean up tarball namingH. Peter Anvin2013-02-051-3/+3
|
* sock_to_file: The proper type for fdopen() is "r" not "f"...H. Peter Anvin2013-02-051-1/+1
| | | | A bit of a facepalm...
* scoretbl: don't emit duplicate entriesH. Peter Anvin2013-02-051-7/+9
|
* network: drop support for pre-NT Windows bug workaroundH. Peter Anvin2012-03-136-197/+43
| | | | | | | | | | | | Pre-NT versions of Windows treated sockets as fundamentally different from file handles. In NT-based version of Windows they are "OS handles" which is an abstraction *below* file descriptors, but at least they can be coerced into being file descriptors, and so are one level of braindamage less. Thus, we can remove the whole netcon_t abstraction and all the warning messages associated with pointer type mismatches that go along with it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* grv.spec: change source to the .xz file rather than .gzgrv-2003.8H. Peter Anvin2012-03-101-1/+1
|
* New version 2003.8H. Peter Anvin2012-03-102-2/+2
| | | | | Confirmed that the MacOS X bug has been fixed, so release a new version.
* highscore: be smarter about when to upload high scoresH. Peter Anvin2012-03-108-61/+126
| | | | | | Upload high scores whenever we have anything in our local database which isn't present on the server. This is possible if the network connection failed to upload last time we connected.
* Aggregate screen updatesH. Peter Anvin2012-03-105-45/+95
| | | | | | | Aggregate screen updates to one per cycle, using SDL_UpdateRects(). Hopefully this should avoid the sluggishness on MacOS X, but that remain to be seen...
* sysrand: Centralize getting randomness from the operating systemH. Peter Anvin2012-03-107-56/+135
| | | | | Centralize getting randomness from the underlying operating system, used to seed the Mersenne Twister PRNG and to generate game IDs.
* Add .gitignore fileH. Peter Anvin2012-03-101-0/+11
|
* Move system-specific directory setting to a separate fileH. Peter Anvin2012-03-106-21/+40
| | | | | Move setting up a separate directory to a separate file; we could add support for Win32 to this file too.
* Actually be able to make a MacOS X bundleH. Peter Anvin2012-03-022-4/+46
| | | | | We still turn it into a zip file instead of a native MacOS X disk image (dmg) file though... not sure how to do that on Linux.
* Fix Windows code; move baseline to WinXP or newerH. Peter Anvin2012-03-012-36/+14
| | | | | | Fix compiling for Windows; drop support for versions of Windows older than WinXP. This should allow us to use stdio even on Windows at some point, too.
* New version 2003.7H. Peter Anvin2012-03-011-1/+1
|
* Makefile for MacOS build using DarwinX (still in progress)H. Peter Anvin2012-03-011-0/+54
| | | | | There is a lot more things that should work before we have a usable MacOS product...
* Clean up crap whitespaceH. Peter Anvin2012-03-0116-97/+91
|
* Merge branch 'master' of ssh://terminus.zytor.com/pub/git/games/grv/grvH. Peter Anvin2012-03-011-19/+83
|\
| * netopen: Support IPv6; abstract out some common codeH. Peter Anvin2012-03-011-19/+83
| | | | | | | | | | If AF_INET6 is defined, compile with getaddrinfo() so we can use IPv6 to talk to the high score server.
* | drawlevel: make add_write() generate a shuffled list directlyH. Peter Anvin2012-02-291-18/+9
| | | | | | | | | | We can build the same swapping operations as for shuffling a whole list into add_white() and we get a shuffled list directly...
* | action: Use a binary search for insertionH. Peter Anvin2012-02-281-10/+21
| | | | | | | | Linear searches make me cry.
* | action: Make sure event retiming really *is* a stable sort...H. Peter Anvin2012-02-281-1/+4
|/
* Minor code cleanups; no functional changeH. Peter Anvin2012-02-272-40/+38
|
* New version 2003.6grv-2003.6H. Peter Anvin2011-01-041-1/+1
|
* graphics.c: ty is in characters, multiply by FONT_YSIZEH. Peter Anvin2011-01-041-1/+2
| | | | | When computing the pitch multipliers, we need it in scan lines, not character lines.
* utils.c: fix cast warningH. Peter Anvin2011-01-041-2/+2
| | | | | | | We use the void * parameter to SDL_AddTimer for post_oneshot or post_periodic, but the real value is actually an integer. Cast it to size_t rather than int to avoid a warning; the code is correct either way.
* graphics.c: handle the pitch correctly, fix signedness errorsH. Peter Anvin2011-01-041-7/+11
| | | | | | | Use the pitch specified by the surface; don't just assume that we got what we wanted. Fix a few warnings.
* spec: update when things are donegrv-2003.5H. Peter Anvin2010-12-251-2/+1
|
* spec: use %{version} in file nameH. Peter Anvin2010-12-251-1/+1
|
* spec: call this new version 2003.5H. Peter Anvin2010-12-251-2/+2
|
* spec: change "Copyright" to "License"H. Peter Anvin2010-12-251-1/+1
|
* Makefile: allow building Win32 on a Linux hostH. Peter Anvin2010-12-252-6/+16
|
* Add an infinite life cheatH. Peter Anvin2010-12-113-0/+18
| | | | | Add an infinite life cheat (Alt-z); more efficient than pressing Alt-x repeatedly during testing.
* Makefile: need -lmH. Peter Anvin2010-12-111-1/+1
|
* mystery: allow Ghost Freeze!H. Peter Anvin2010-12-111-1/+1
|
* Change README to UTF-8H. Peter Anvin2007-03-291-2/+2
|
* Change specfile to UTF-8H. Peter Anvin2007-03-291-3/+3
|
* Get rid of open-coded non-ASCII characters.originH. Peter Anvin2007-03-294-100/+100
|
* Correct potential 64-bit bugH. Peter Anvin2004-07-301-1/+1
|
* Set defattrH. Peter Anvin2004-07-301-1/+2
|
* Go back to using plain winsock; no need for the winsock2 extra features,grv-2003H. Peter Anvin2003-03-292-2/+2
| | | | and other window apps seem to be happily using winsock.h
* Cheat codes shouldn't use Alt+Fx; too likely to interfere with window managerH. Peter Anvin2003-03-293-19/+24
| | | | Use winsock2 for networking
* Update to release 3H. Peter Anvin2003-03-291-1/+1
|
* Fix fgets/fputs confusion bugH. Peter Anvin2003-03-291-1/+1
|
* Fix rocks falling on each other; apples activated by falling rocksH. Peter Anvin2003-03-291-8/+24
| | | | (can't actually happen, though)
* Bump the release numberH. Peter Anvin2003-03-281-1/+1
|
* Disable the mouse cursor when running fullscreenH. Peter Anvin2003-03-281-2/+5
|