]>
git.sesse.net Git - ccbs/log
Steinar H. Gunderson [Sat, 19 Feb 2005 14:42:58 +0000 (14:42 +0000)]
Reset bigscreen on changed groups, not just changed tournaments.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:34:53 +0000 (14:34 +0000)]
Add back end for adding/removing groups to be shown on the bigscreen.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:26:48 +0000 (14:26 +0000)]
Only show the bigscreen buttons on the tournament that is actually on the bigscreen.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:23:37 +0000 (14:23 +0000)]
We want to show _groups_ on the big screen, not _rounds_
Steinar H. Gunderson [Sat, 19 Feb 2005 14:18:54 +0000 (14:18 +0000)]
Add starting frontend code for deciding which rounds are shown on the big screen.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:07:14 +0000 (14:07 +0000)]
Clear active rounds on changing active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:05:58 +0000 (14:05 +0000)]
Add an "active_rounds" table to the bigscreen schema, and set a primary key for the active_tournaments table.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:02:30 +0000 (14:02 +0000)]
Cache revision.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:01:05 +0000 (14:01 +0000)]
Remove PL/PgSQL installation for now, we do manual notifies.
Steinar H. Gunderson [Sat, 19 Feb 2005 13:59:58 +0000 (13:59 +0000)]
Fixed a misleading comment.
Steinar H. Gunderson [Sat, 19 Feb 2005 13:54:10 +0000 (13:54 +0000)]
Support a variable-length list of fallback fonts (and support Arial MS Unicode) instead of just having two.
Steinar H. Gunderson [Sat, 19 Feb 2005 12:47:49 +0000 (12:47 +0000)]
Specify correct ucs-4le/ucs-4be for little/big endian.
Steinar H. Gunderson [Sat, 19 Feb 2005 12:24:03 +0000 (12:24 +0000)]
FreeType initialization errors are runtime errors, not logic errors.
Steinar H. Gunderson [Sat, 19 Feb 2005 12:23:29 +0000 (12:23 +0000)]
Use Georgia, but fall back to FreeSerif if there's a glyph we can't find.
Steinar H. Gunderson [Sat, 19 Feb 2005 12:14:59 +0000 (12:14 +0000)]
Switch to using std::wstring, it supports UCS-4 already, just with a different type :-)
Steinar H. Gunderson [Sat, 19 Feb 2005 12:10:28 +0000 (12:10 +0000)]
Switch to FreeSerif for the time being, since it has more glyphs.
Steinar H. Gunderson [Sat, 19 Feb 2005 03:10:59 +0000 (03:10 +0000)]
Assorted debugging crap.
01:45-04:15
Steinar H. Gunderson [Sat, 19 Feb 2005 02:51:39 +0000 (02:51 +0000)]
Force little-endian for our UCS-4.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:49:38 +0000 (02:49 +0000)]
Add functions for drawing text, try to do so (not very successful yet)
Steinar H. Gunderson [Sat, 19 Feb 2005 02:40:55 +0000 (02:40 +0000)]
Import TinyPTC 0.7.3 sources, switch from OpenGL to TinyPTC for now.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:34:15 +0000 (02:34 +0000)]
Initialize FreeType, link to it.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:27:07 +0000 (02:27 +0000)]
Re-add OpenGL window, we commented it out and forgot it that way.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:26:44 +0000 (02:26 +0000)]
Moved all the UCS-4 junk into operator=, where it belongs.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:23:42 +0000 (02:23 +0000)]
Add a framework for UCS-4 strings.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:35:17 +0000 (01:35 +0000)]
Fixed so the form shows the current active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:33:53 +0000 (01:33 +0000)]
Add the backend for setting the active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:31:19 +0000 (01:31 +0000)]
Added a front end for setting the active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:24:35 +0000 (01:24 +0000)]
Rename tourn -> active_tournament
Steinar H. Gunderson [Sat, 19 Feb 2005 01:23:45 +0000 (01:23 +0000)]
Make tourn a global variable (ick?), and do some placeholder logic in main_loop() if there is an active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:21:03 +0000 (01:21 +0000)]
Fix the transactor so it actually works.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:17:04 +0000 (01:17 +0000)]
Added -g -Wall to CXXFLAGS, moved -I stuff to CPPFLAGS.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:16:26 +0000 (01:16 +0000)]
Added a transactor for getting info from the current tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 00:57:02 +0000 (00:57 +0000)]
Changed the structure of the bigscreen main loop.
Steinar H. Gunderson [Sat, 19 Feb 2005 00:46:18 +0000 (00:46 +0000)]
Import doc/ from train thinking.
Steinar H. Gunderson [Fri, 18 Feb 2005 18:35:33 +0000 (18:35 +0000)]
Install PL/PgSQL in the schema etc.
16:00-19:30
Steinar H. Gunderson [Fri, 18 Feb 2005 18:20:26 +0000 (18:20 +0000)]
Started on a bigscreen SQL schema.
Steinar H. Gunderson [Fri, 18 Feb 2005 18:04:20 +0000 (18:04 +0000)]
Switch SQL host from cirkus to altersex, to get PostgreSQL 7.4
Steinar H. Gunderson [Fri, 18 Feb 2005 18:00:30 +0000 (18:00 +0000)]
Fix so we actually get the NOTIFY.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:55:57 +0000 (17:55 +0000)]
Try to listen on a NOTIFY trigger.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:40:21 +0000 (17:40 +0000)]
Replace transaction<> with work.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:25:43 +0000 (17:25 +0000)]
Fix DDRFreak parser to output some UTF-8 glyphs instead of HTML entities. Update Extreme SQL accordingly.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:13:13 +0000 (17:13 +0000)]
Fetch the title, not some random ID.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:04:18 +0000 (17:04 +0000)]
Fetch out some numbers from a table.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:58:10 +0000 (16:58 +0000)]
Add pq++ dependency, start code for just connecting.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:46:25 +0000 (16:46 +0000)]
Add -L/usr/X11R6/lib to LDFLAGS for the bigscreen Makefile.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:31:36 +0000 (16:31 +0000)]
Make the DDRFreak parser script case insensitive with regard to previous songs (most other title handling code is case-insensitive). Update SQL base data accordingly.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:27:18 +0000 (16:27 +0000)]
Add the Extreme song list (from DDRFreak) to the base SQL data.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:26:56 +0000 (16:26 +0000)]
Make the DDRFreak parse script also add the songs to machinesongs.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:20:45 +0000 (16:20 +0000)]
Add a hack for "Fantasy" from DDREx
Steinar H. Gunderson [Fri, 18 Feb 2005 16:16:57 +0000 (16:16 +0000)]
Only insert a song if it doesn't already exist.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:11:06 +0000 (16:11 +0000)]
Add a script for parsing DDRFreak's song lists.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:38:47 +0000 (15:38 +0000)]
Added DDR Extreme as a machine for the basic data.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:38:06 +0000 (15:38 +0000)]
Updated the score edit functionality to check for steps on the selected mix only.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:33:29 +0000 (15:33 +0000)]
Update the wiki parser and the EM2 SQL to match the new feet rating data.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:28:30 +0000 (15:28 +0000)]
Add CC03 as a season in the test data.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:27:12 +0000 (15:27 +0000)]
Different songs can have different ratings on different machines, so change the SQL schemas.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:11:39 +0000 (15:11 +0000)]
Don't include NULL scores in the top 50 list.
Steinar H. Gunderson [Fri, 18 Feb 2005 13:38:07 +0000 (13:38 +0000)]
Added a ranking beside each player in the song highscore list.
Steinar H. Gunderson [Fri, 18 Feb 2005 13:36:38 +0000 (13:36 +0000)]
Limited the song highscore list to 50 people.
Steinar H. Gunderson [Fri, 18 Feb 2005 13:36:00 +0000 (13:36 +0000)]
Added a link from the song highscore list to the tournaments.
Steinar H. Gunderson [Fri, 18 Feb 2005 13:35:19 +0000 (13:35 +0000)]
Add a backend for showing songs and the best scores on them.
Steinar H. Gunderson [Fri, 18 Feb 2005 13:27:39 +0000 (13:27 +0000)]
Added links for all songs (no backend yet) in the tournament view.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:43:48 +0000 (19:43 +0000)]
Add the "add tournament" link to the tournaments page.
19:45-20:45
Steinar H. Gunderson [Thu, 17 Feb 2005 19:40:05 +0000 (19:40 +0000)]
Add a navigational menu at the top.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:36:51 +0000 (19:36 +0000)]
Automatically zoom to the new player when adding a new one.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:35:02 +0000 (19:35 +0000)]
Add backend for adding players.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:31:34 +0000 (19:31 +0000)]
Add form (no backend yet) for registering new players.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:25:13 +0000 (19:25 +0000)]
Add backend for resetting the song chooser.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:20:31 +0000 (19:20 +0000)]
Add front end for resetting the song chooser.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:16:09 +0000 (19:16 +0000)]
Changed front page text.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:12:00 +0000 (19:12 +0000)]
Add backend code for ranking people.
Steinar H. Gunderson [Thu, 17 Feb 2005 18:54:47 +0000 (18:54 +0000)]
Added template code for showing rank.
Steinar H. Gunderson [Thu, 17 Feb 2005 18:49:16 +0000 (18:49 +0000)]
Fix showing of newly created rounds again.
Steinar H. Gunderson [Wed, 16 Feb 2005 21:29:57 +0000 (21:29 +0000)]
Change to text/html (for IE demonstration)
Steinar H. Gunderson [Wed, 16 Feb 2005 20:38:03 +0000 (20:38 +0000)]
Cache revision
19:45-21:45
Steinar H. Gunderson [Wed, 16 Feb 2005 20:22:26 +0000 (20:22 +0000)]
Implement the rest of the ranking.
Steinar H. Gunderson [Wed, 16 Feb 2005 20:11:46 +0000 (20:11 +0000)]
Actually add the backend for ranking (forgot tla add last time :-) ).
Steinar H. Gunderson [Wed, 16 Feb 2005 20:11:12 +0000 (20:11 +0000)]
Implement the first (trivial) parts of the ranking system.
Steinar H. Gunderson [Wed, 16 Feb 2005 19:19:11 +0000 (19:19 +0000)]
Add FIXME comment about empty last group.
Steinar H. Gunderson [Wed, 16 Feb 2005 19:15:26 +0000 (19:15 +0000)]
Added a "finish tournament" button that is shown if one can finish the tournament.
Steinar H. Gunderson [Wed, 16 Feb 2005 18:55:02 +0000 (18:55 +0000)]
Check that there are steps for the selected song/playmode/difficulty combination, instead of giving an SQL error.
Steinar H. Gunderson [Wed, 16 Feb 2005 18:44:23 +0000 (18:44 +0000)]
Check for scores out of range, instead of giving SQL errors.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:34:44 +0000 (15:34 +0000)]
Cache revision.
14:45-16:45
Steinar H. Gunderson [Wed, 16 Feb 2005 15:32:17 +0000 (15:32 +0000)]
Don't show the "start next round" form until we can actually do so.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:24:12 +0000 (15:24 +0000)]
Remove the extra header for locked rounds.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:16:32 +0000 (15:16 +0000)]
Fix bug where showing of an empty tournament would crash.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:15:59 +0000 (15:15 +0000)]
Make system for making groups after the very first round.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:53:10 +0000 (14:53 +0000)]
Remove/hide some borders between the score/playmode/difficulty settings.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:48:32 +0000 (14:48 +0000)]
Removed name= on the submit buttons again, we don't need it anymore.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:47:25 +0000 (14:47 +0000)]
Change locking semantics -- now everything in the last round can be edited, and nothing else.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:44:41 +0000 (14:44 +0000)]
Chosen song can now be set.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:40:52 +0000 (14:40 +0000)]
Handle <> etc. in __DIE__ handler messages.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:39:55 +0000 (14:39 +0000)]
Fiddled around with the table layout.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:37:40 +0000 (14:37 +0000)]
Add edit of playmode and difficulty.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:35:20 +0000 (14:35 +0000)]
Make it possible to enter NULL values by leaving fields blank.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:33:30 +0000 (14:33 +0000)]
Make it possible to edit scores.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:21:05 +0000 (14:21 +0000)]
Add old- versions of all data in the form; we can't really detect what button was clicked anyhow. :-/
Steinar H. Gunderson [Wed, 16 Feb 2005 14:10:57 +0000 (14:10 +0000)]
The "edit scores" backend now finds out which update button was pressed.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:08:03 +0000 (14:08 +0000)]
Add tournament/round hidden inputs for all cases :-)
Steinar H. Gunderson [Wed, 16 Feb 2005 14:06:47 +0000 (14:06 +0000)]
Moved the hidden tournament/round inputs into a place where they actually make sense.