ccbs
15 years agoAdd beginning code for fetching groups.
Steinar H. Gunderson [Sat, 19 Feb 2005 15:57:10 +0000 (15:57 +0000)]
Add beginning code for fetching groups.

15 years agoAdded a generic display screen class.
Steinar H. Gunderson [Sat, 19 Feb 2005 15:28:11 +0000 (15:28 +0000)]
Added a generic display screen class.

15 years agoFetch the list of current active rounds and display it.
Steinar H. Gunderson [Sat, 19 Feb 2005 15:16:20 +0000 (15:16 +0000)]
Fetch the list of current active rounds and display it.

15 years agoCache revision.
Steinar H. Gunderson [Sat, 19 Feb 2005 15:03:15 +0000 (15:03 +0000)]
Cache revision.

15 years agoMoved the font stuff into its own file.
Steinar H. Gunderson [Sat, 19 Feb 2005 15:03:00 +0000 (15:03 +0000)]
Moved the font stuff into its own file.

15 years agoMove Tournament and FetchCurrentTournament into its own file.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:57:41 +0000 (14:57 +0000)]
Move Tournament and FetchCurrentTournament into its own file.

15 years agoMove widestring into its own file.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:54:39 +0000 (14:54 +0000)]
Move widestring into its own file.

15 years agoActually add flagtrigger.{h,cpp}...
Steinar H. Gunderson [Sat, 19 Feb 2005 14:48:48 +0000 (14:48 +0000)]
Actually add flagtrigger.{h,cpp}...

15 years agoMove FlagTrigger into its own source file.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:48:37 +0000 (14:48 +0000)]
Move FlagTrigger into its own source file.

15 years agoReset bigscreen on changed groups, not just changed tournaments.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:42:58 +0000 (14:42 +0000)]
Reset bigscreen on changed groups, not just changed tournaments.

15 years agoAdd back end for adding/removing groups to be shown on the bigscreen.
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.

15 years agoOnly show the bigscreen buttons on the tournament that is actually 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.

15 years agoWe want to show _groups_ on the big screen, not _rounds_
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_

15 years agoAdd starting frontend code for deciding which rounds are shown on the big screen.
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.

15 years agoClear active rounds on changing active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:07:14 +0000 (14:07 +0000)]
Clear active rounds on changing active tournament.

15 years agoAdd an "active_rounds" table to the bigscreen schema, and set a primary key for the...
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.

15 years agoCache revision.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:02:30 +0000 (14:02 +0000)]
Cache revision.

15 years agoRemove PL/PgSQL installation for now, we do manual notifies.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:01:05 +0000 (14:01 +0000)]
Remove PL/PgSQL installation for now, we do manual notifies.

15 years agoFixed a misleading comment.
Steinar H. Gunderson [Sat, 19 Feb 2005 13:59:58 +0000 (13:59 +0000)]
Fixed a misleading comment.

15 years agoSupport a variable-length list of fallback fonts (and support Arial MS Unicode) inste...
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.

15 years agoSpecify correct ucs-4le/ucs-4be for little/big endian.
Steinar H. Gunderson [Sat, 19 Feb 2005 12:47:49 +0000 (12:47 +0000)]
Specify correct ucs-4le/ucs-4be for little/big endian.

15 years agoFreeType initialization errors are runtime errors, not logic errors.
Steinar H. Gunderson [Sat, 19 Feb 2005 12:24:03 +0000 (12:24 +0000)]
FreeType initialization errors are runtime errors, not logic errors.

15 years agoUse Georgia, but fall back to FreeSerif if there's a glyph we can't find.
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.

15 years agoSwitch to using std::wstring, it supports UCS-4 already, just with a different type :-)
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 :-)

15 years agoSwitch to FreeSerif for the time being, since it has more glyphs.
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.

15 years agoAssorted debugging crap.
Steinar H. Gunderson [Sat, 19 Feb 2005 03:10:59 +0000 (03:10 +0000)]
Assorted debugging crap.
01:45-04:15

15 years agoForce little-endian for our UCS-4.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:51:39 +0000 (02:51 +0000)]
Force little-endian for our UCS-4.

15 years agoAdd functions for drawing text, try to do so (not very successful yet)
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)

15 years agoImport TinyPTC 0.7.3 sources, switch from OpenGL to TinyPTC for now.
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.

15 years agoInitialize FreeType, link to it.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:34:15 +0000 (02:34 +0000)]
Initialize FreeType, link to it.

15 years agoRe-add OpenGL window, we commented it out and forgot it that way.
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.

15 years agoMoved all the UCS-4 junk into operator=, where it belongs.
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.

15 years agoAdd a framework for UCS-4 strings.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:23:42 +0000 (02:23 +0000)]
Add a framework for UCS-4 strings.

15 years agoFixed so the form shows the current active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:35:17 +0000 (01:35 +0000)]
Fixed so the form shows the current active tournament.

15 years agoAdd the backend for setting the active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:33:53 +0000 (01:33 +0000)]
Add the backend for setting the active tournament.

15 years agoAdded a front end 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.

15 years agoRename tourn -> active_tournament
Steinar H. Gunderson [Sat, 19 Feb 2005 01:24:35 +0000 (01:24 +0000)]
Rename tourn -> active_tournament

15 years agoMake tourn a global variable (ick?), and do some placeholder logic in main_loop(...
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.

15 years agoFix the transactor so it actually works.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:21:03 +0000 (01:21 +0000)]
Fix the transactor so it actually works.

15 years agoAdded -g -Wall to CXXFLAGS, moved -I stuff to CPPFLAGS.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:17:04 +0000 (01:17 +0000)]
Added -g -Wall to CXXFLAGS, moved -I stuff to CPPFLAGS.

15 years agoAdded a transactor for getting info from the current tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:16:26 +0000 (01:16 +0000)]
Added a transactor for getting info from the current tournament.

15 years agoChanged the structure of the bigscreen main loop.
Steinar H. Gunderson [Sat, 19 Feb 2005 00:57:02 +0000 (00:57 +0000)]
Changed the structure of the bigscreen main loop.

15 years agoImport doc/ from train thinking.
Steinar H. Gunderson [Sat, 19 Feb 2005 00:46:18 +0000 (00:46 +0000)]
Import doc/ from train thinking.

15 years agoInstall PL/PgSQL in the schema etc.
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

15 years agoStarted on a bigscreen SQL schema.
Steinar H. Gunderson [Fri, 18 Feb 2005 18:20:26 +0000 (18:20 +0000)]
Started on a bigscreen SQL schema.

15 years agoSwitch SQL host from cirkus to altersex, to get PostgreSQL 7.4
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

15 years agoFix so we actually get the NOTIFY.
Steinar H. Gunderson [Fri, 18 Feb 2005 18:00:30 +0000 (18:00 +0000)]
Fix so we actually get the NOTIFY.

15 years agoTry to listen on a NOTIFY trigger.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:55:57 +0000 (17:55 +0000)]
Try to listen on a NOTIFY trigger.

15 years agoReplace transaction<> with work.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:40:21 +0000 (17:40 +0000)]
Replace transaction<> with work.

15 years agoFix DDRFreak parser to output some UTF-8 glyphs instead of HTML entities. Update...
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.

15 years agoFetch the title, not some random ID.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:13:13 +0000 (17:13 +0000)]
Fetch the title, not some random ID.

15 years agoFetch out some numbers from a table.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:04:18 +0000 (17:04 +0000)]
Fetch out some numbers from a table.

15 years agoAdd pq++ dependency, start code for just connecting.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:58:10 +0000 (16:58 +0000)]
Add pq++ dependency, start code for just connecting.

15 years agoAdd -L/usr/X11R6/lib to LDFLAGS for the bigscreen Makefile.
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.

15 years agoMake the DDRFreak parser script case insensitive with regard to previous songs (most...
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.

15 years agoAdd the Extreme song list (from DDRFreak) to the base SQL data.
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.

15 years agoMake the DDRFreak parse script also add the songs to machinesongs.
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.

15 years agoAdd a hack for "Fantasy" from DDREx
Steinar H. Gunderson [Fri, 18 Feb 2005 16:20:45 +0000 (16:20 +0000)]
Add a hack for "Fantasy" from DDREx

15 years agoOnly insert a song if it doesn't already exist.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:16:57 +0000 (16:16 +0000)]
Only insert a song if it doesn't already exist.

15 years agoAdd a script for parsing DDRFreak's song lists.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:11:06 +0000 (16:11 +0000)]
Add a script for parsing DDRFreak's song lists.

15 years agoAdded DDR Extreme as a machine for the basic data.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:38:47 +0000 (15:38 +0000)]
Added DDR Extreme as a machine for the basic data.

15 years agoUpdated the score edit functionality to check for steps on the selected mix only.
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.

15 years agoUpdate the wiki parser and the EM2 SQL to match the new feet rating data.
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.

15 years agoAdd CC03 as a season in the test data.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:28:30 +0000 (15:28 +0000)]
Add CC03 as a season in the test data.

15 years agoDifferent songs can have different ratings on different machines, so change the SQL...
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.

15 years agoDon't include NULL scores in the top 50 list.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:11:39 +0000 (15:11 +0000)]
Don't include NULL scores in the top 50 list.

15 years agoAdded a ranking beside each player in the song highscore 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.

15 years agoLimited the song highscore list to 50 people.
Steinar H. Gunderson [Fri, 18 Feb 2005 13:36:38 +0000 (13:36 +0000)]
Limited the song highscore list to 50 people.

15 years agoAdded a link from the song highscore list to the tournaments.
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.

15 years agoAdd a backend for showing songs and the best scores on them.
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.

15 years agoAdded links for all songs (no backend yet) in the tournament view.
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.

15 years agoAdd the "add tournament" link to the tournaments page.
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

15 years agoAdd a navigational menu at the top.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:40:05 +0000 (19:40 +0000)]
Add a navigational menu at the top.

15 years agoAutomatically zoom to the new player when adding a new one.
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.

15 years agoAdd backend for adding players.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:35:02 +0000 (19:35 +0000)]
Add backend for adding players.

15 years agoAdd form (no backend yet) for registering new players.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:31:34 +0000 (19:31 +0000)]
Add form (no backend yet) for registering new players.

15 years agoAdd backend for resetting the song chooser.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:25:13 +0000 (19:25 +0000)]
Add backend for resetting the song chooser.

15 years agoAdd front end 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.

15 years agoChanged front page text.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:16:09 +0000 (19:16 +0000)]
Changed front page text.

15 years agoAdd backend code for ranking people.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:12:00 +0000 (19:12 +0000)]
Add backend code for ranking people.

15 years agoAdded template code for showing rank.
Steinar H. Gunderson [Thu, 17 Feb 2005 18:54:47 +0000 (18:54 +0000)]
Added template code for showing rank.

15 years agoFix showing of newly created rounds again.
Steinar H. Gunderson [Thu, 17 Feb 2005 18:49:16 +0000 (18:49 +0000)]
Fix showing of newly created rounds again.

15 years agoChange to text/html (for IE demonstration)
Steinar H. Gunderson [Wed, 16 Feb 2005 21:29:57 +0000 (21:29 +0000)]
Change to text/html (for IE demonstration)

15 years agoCache revision
Steinar H. Gunderson [Wed, 16 Feb 2005 20:38:03 +0000 (20:38 +0000)]
Cache revision
19:45-21:45

15 years agoImplement the rest of the ranking.
Steinar H. Gunderson [Wed, 16 Feb 2005 20:22:26 +0000 (20:22 +0000)]
Implement the rest of the ranking.

15 years agoActually add the backend for ranking (forgot tla add last time :-) ).
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 :-) ).

15 years agoImplement the first (trivial) parts of the ranking system.
Steinar H. Gunderson [Wed, 16 Feb 2005 20:11:12 +0000 (20:11 +0000)]
Implement the first (trivial) parts of the ranking system.

15 years agoAdd FIXME comment about empty last group.
Steinar H. Gunderson [Wed, 16 Feb 2005 19:19:11 +0000 (19:19 +0000)]
Add FIXME comment about empty last group.

15 years agoAdded a "finish tournament" button that is shown if one can finish the tournament.
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.

15 years agoCheck that there are steps for the selected song/playmode/difficulty combination...
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.

15 years agoCheck for scores out of range, instead of giving SQL errors.
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.

15 years agoCache revision.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:34:44 +0000 (15:34 +0000)]
Cache revision.
14:45-16:45

15 years agoDon't show the "start next round" form until we can actually do so.
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.

15 years agoRemove the extra header for locked rounds.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:24:12 +0000 (15:24 +0000)]
Remove the extra header for locked rounds.

15 years agoFix bug where showing of an empty tournament would crash.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:16:32 +0000 (15:16 +0000)]
Fix bug where showing of an empty tournament would crash.

15 years agoMake system for making groups after the very first round.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:15:59 +0000 (15:15 +0000)]
Make system for making groups after the very first round.

15 years agoRemove/hide some borders between the score/playmode/difficulty settings.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:53:10 +0000 (14:53 +0000)]
Remove/hide some borders between the score/playmode/difficulty settings.

15 years agoRemoved name= on the submit buttons again, we don't need it anymore.
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.

15 years agoChange locking semantics -- now everything in the last round can be edited, and nothi...
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.

15 years agoChosen song can now be set.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:44:41 +0000 (14:44 +0000)]
Chosen song can now be set.