Skip to content

Commit

Permalink
Cleaned up streaming media code, removed Real Player support.
Browse files Browse the repository at this point in the history
  • Loading branch information
philipjohnstephens committed Jun 29, 2017
1 parent 8dea3c0 commit 8e1a412
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 452 deletions.
4 changes: 1 addition & 3 deletions Flatland Standalone/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4145,11 +4145,9 @@ handle_spot_events(void)
}
}

// If a request to download RealPlayer or Windows Media Player
// If a request to download Windows Media Player
// has been recieved, launch the appropriate download page.

if (download_of_rp_requested())
request_URL(RP_DOWNLOAD_URL, NULL, "_self");
if (download_of_wmp_requested())
request_URL(WMP_DOWNLOAD_URL, NULL, "_blank");
}
Expand Down
6 changes: 0 additions & 6 deletions Flatland Standalone/Platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -604,15 +604,9 @@ update_sound(sound *sound_ptr, vertex *translation_ptr);
void
init_video_textures(int video_width, int video_height, int pixel_format);

void
draw_frame(byte *image_ptr);

bool
stream_ready(void);

bool
download_of_rp_requested(void);

bool
download_of_wmp_requested(void);

Expand Down
Loading

0 comments on commit 8e1a412

Please sign in to comment.